]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_refer: Handle INVITE with Replaces failure after answer.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 19 Feb 2015 17:37:00 +0000 (17:37 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 19 Feb 2015 17:37:00 +0000 (17:37 +0000)
commit6992b2e8fa3c05a165bedab79713949ce4703ecb
treefe632d30b86bc4146b5a4a1d9eed0127def2a045
parente3fd826cdbff6bfb63d809831d0d826103c74949
res_pjsip_refer: Handle INVITE with Replaces failure after answer.

* Fixed hangup handling of the session->channel after answer if the
ast_channel_move() or ast_bridge_impart() fails.  We are still the thread
controlling the session->channel so we need to call ast_hangup() to kill
the channel.

* Fixed debug messages in refer_incoming_invite_request() referencing
incorrect channnels on success.  Code comments now say why the
session->channel cannot be used.

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

Merged revisions 431956 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_refer.c