chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK
authorJonathan Rose <jrose@digium.com>
Thu, 16 Aug 2012 18:28:30 +0000 (18:28 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 16 Aug 2012 18:28:30 +0000 (18:28 +0000)
commit70ca2e51a174db7f340d0a41423babfa168ba0dd
tree0f8e136c827991ea48a57b63cfeadcb9e912cc76
parentf4a34ee89ce3c1e2e1b92ff2ebf9d79bc517e57b
chan_sip: Trigger reinvite if the SDP answer is included in the SIP ACK

Under certain conditions, a SIP transaction involving directmedia wouldn't
trigger a re-invite because the SDP answer was included in an ACK instead
of in a message that we would have triggered the invite with. This patch
just queues a source change control frame if the dialog is using
directmedia when we find sdp for an ACK.

(closes issue AST-913)
Reported by: Thomas Arimont
........

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

Merged revisions 371338 from http://svn.asterisk.org/svn/asterisk/branches/10
........

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

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