]> 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:35:49 +0000 (12:35 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 10 Apr 2015 12:35:49 +0000 (12:35 +0000)
commitefef678411aa2f7ff8c5961830acda91c556b3fc
tree0e9e31bc7af827b28945cdf5a7bf861227ab9e8d
parent7c4efc490ae18be8430246748f3ceb74a8a752eb
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)

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