]> 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:51:15 +0000 (04:51 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 7 Mar 2014 04:51:15 +0000 (04:51 +0000)
commit9b77c0818086b6651c5bddc2ddc1aac4219857fe
treeafad5fb8b30a40b96fac76870d5ea4d1d552d9d4
parent5f22c3ae657fc5a56e555b54cc29c7ae3ad0ee68
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
........

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

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