[asterisk-dev] [Code Review] 3107: chan_sip: Prevent orphaned channel during a failed SIP transfer to Park
Matt Jordan
reviewboard at asterisk.org
Tue Jan 14 09:32:51 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3107/
-----------------------------------------------------------
(Updated Jan. 14, 2014, 9:32 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Bugs: ASTERISK-22834 and ASTERISK-23047
https://issues.asterisk.org/jira/browse/ASTERISK-22834
https://issues.asterisk.org/jira/browse/ASTERISK-23047
Repository: Asterisk
Description
-------
When performing a SIP transfer to a Park extension, if the Park fails, chan_sip will currently not hang up either the transferer or the transfer target. This results in the channels being orphaned with no thread to service frames, resulting in stuck channels.
This patch immediately hangs up the two channels if a Park fails.
Note that this is also a bug in 1.8; the code is identical between 11 and 1.8 in this respect. This is not a bug in 12+.
Diffs
-----
/branches/11/channels/chan_sip.c 405361
Diff: https://reviewboard.asterisk.org/r/3107/diff/
Testing
-------
Prior to the patch, the channels were stuck.
With the patch, the two channels are properly hung up.
Thanks,
Matt Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140114/edc0823c/attachment.html>
More information about the asterisk-dev
mailing list