Merged revisions 322322 via svnmerge from
authorGregory Nietsky <gregory@distrotech.co.za>
Wed, 8 Jun 2011 06:45:55 +0000 (06:45 +0000)
committerGregory Nietsky <gregory@distrotech.co.za>
Wed, 8 Jun 2011 06:45:55 +0000 (06:45 +0000)
commit4cd9bc43c26be2782a7b4490cfb4ddcf9c674be1
tree4e0dcf49b33069f167ae4d29c5f32ed3159fd434
parentba625fa7d5a7afb2eca3b1790faf6e5ff1fd6540
Merged revisions 322322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r322322 | irroot | 2011-06-08 08:18:38 +0200 (Wed, 08 Jun 2011) | 18 lines

    Make handle_request_publish do dialog expiration and destruction.

    This patch fixes handle_request_publish so that it does dialog expiration and destruction.

    Without this patch the incoming PUBLISH requests will get stuck in the dialog list.
    Restarting asterisk is the only way to remove them.

    Personal observation on one system the server hung up while looping through the channels
    rendering asterisk unusable and all sip phones unregisterd when they try reregister
    more requests are added.

    (closes issue #18898)
    Reported by: gareth
    Tested by: loloski, Chainsaw, wimpy, se, kuj, irroot

    Jira: https://issues.asterisk.org/jira/browse/ASTERISK-17915
    Review: https://reviewboard.asterisk.org/r/1253
........

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