]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Allow static realtime members to be qualified during module load.
authorMatthew Jordan <mjordan@digium.com>
Fri, 7 Mar 2014 04:38:47 +0000 (04:38 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 7 Mar 2014 04:38:47 +0000 (04:38 +0000)
commit69fb0d2585a478e60d930a0953aebc7e0dad584c
treecd20db82937e103813c48c8dfb2ce81b07641403
parentfa1d3b09412c70555928c258b16a8175886a180c
chan_sip: Allow static realtime members to be qualified during module load.

When a static realtime peer with qualify=yes is loaded, Asterisk will fail to
send an OPTIONS request due to the lastms being equal to 0. This results in
the peer being unable to receive calls from Asterisk because the status is
permanently UNKNOWN.

This patch allows an OPTIONS request to be sent during module load by
ignoring the lastms value on startup only.

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

(closes issue ASTERISK-17523)
Reported by: Maciej Krajewski
Tested by: wushumasters
patches:
  realtime_fix_11.7.0.txt uploaded by Trevor Peirce (license 6112)
........

Merged revisions 410105 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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