]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Hangup transferer/transferee when transfer to Parking fails
authorMatthew Jordan <mjordan@digium.com>
Tue, 14 Jan 2014 15:32:16 +0000 (15:32 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 14 Jan 2014 15:32:16 +0000 (15:32 +0000)
commitb12f6bc35827c92262093fed4fe7282aa8e16d24
tree91d58448082604f37812070adf90aed4556eb572
parent6d73ecd6e9467689141702386fecd2f25a74ef8e
chan_sip: Hangup transferer/transferee when transfer to Parking fails

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.

(closes issue ASTERISK-22834)
Reported by: rsw686
Tested by: rsw686

(closes issue ASTERISK-23047)
Reported by: Tommy Thompson
Tested by: Tommy Thomspon

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

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