]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channels/chan_iax2: Improve POKE expiration time calculation for lossy networks
authorMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 12:39:48 +0000 (12:39 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 12:39:48 +0000 (12:39 +0000)
commitc39faa4729a0c4490352fa5707e064de17068aff
tree4f51563c53a36bf745ae5b5d85f1c1eaf6386b80
parent75c2c859620edc9bfc03fada26bb83e90013b33e
channels/chan_iax2: Improve POKE expiration time calculation for lossy networks

POKE is used to check for peer availability; however, in networks with packet
loss, the current calculations may result in POKE expiration times that are too
short. This patch alters the expiration/retry time logic to take into account
the last known qualify round trip time, as opposed to always using a static
value for each peer.

Review: https://reviewboard.asterisk.org/r/4536

ASTERISK-22352 #close
Reported by: Frederic Van Espen

ASTERISK-24894 #close
Reported by: Y Ateya
patches:
  poke_noanswer_duration.diff submitted by Y Ateya (License 6693)
........

Merged revisions 434564 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c