]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ignore spurious REGISTER requests
authorTerry Wilson <twilson@digium.com>
Thu, 9 Dec 2010 22:00:30 +0000 (22:00 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 9 Dec 2010 22:00:30 +0000 (22:00 +0000)
commitd7877331c0b5915bfd246daeba4dec183ce20349
treec8a127475b4d3abf1872f543cbf8de433efc1488
parentcd535276c19c494f177ce612205e2a2545dbc44f
Ignore spurious REGISTER requests

If a REGISTER request with a Call-ID matching an existing transaction is received
it was possible that the REGISTER request would overwrite the initreq of the
private structure. This info is used to generate messages for other responses in
the transaction. This patch ignores REGISTER requests that match non-REGISTER
transactions.

(closes issue #18051)
Reported by: eeman
Tested by: twilson

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

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