[asterisk-bugs] [Asterisk 0015833]: Transfering phone left connected

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 16 11:10:48 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15833 
====================================================================== 
Reported By:                viraptor
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15833
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.26.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-04 12:57 CDT
Last Modified:              2009-09-16 11:10 CDT
====================================================================== 
Summary:                    Transfering phone left connected
Description: 
When doing a remote attended transfer in one of these 2 setups:

phones A,B,C --- proxy --- asterisks Z,X
when A->B call is on Z and B->C is on X, or:

phones A,B (with identity B1,B2), C --- asterisks Z,X
(A,B1 register on Z; B2,C on X)
when A->B1 call is on Z and B2->C is on X

In both scenarios Z and X are friends with no authentication needed.

The B phone doesn't get properly disconnected. asterisks invite/replace
each other properly and the audio channel is ok. B itself drops one of the
calls. But Z is not disconnecting B's call at all. You can replicate that
scenario with minimalistic dialplan - _X.,Dial(SIP/${EXTEN}) in default on
both sides.

If you do the same transfer, but on a single asterisk (local attended
transfer), then the transferring phone will drop one of the call legs
itself (like above) and asterisk will additionally drop the second one.

Tested with Snom 1XX, 3XX and GXP phones - problem always appears and the
call is never dropped if the transfer is remote.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0007784 Attended SIP Transfer Call Teardown Issue
====================================================================== 

---------------------------------------------------------------------- 
 (0110807) viraptor (reporter) - 2009-09-16 11:10
 https://issues.asterisk.org/view.php?id=15833#c110807 
---------------------------------------------------------------------- 
Just in case someone is testing the patch on issue 0007784: I don't know
the asterisk's internals that well, but there might be a mistake in the
patch too - it sets the AST_... flag on ...->refer_call->flags[0], instead
of ...->refer_call->owner. If it is wrong, it might have worked by accident
previously.

I've tested the patch, but with the flag set on ->owner instead. It's
working properly in production since 2009-09-07 and all transfers are being
hung up. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-16 11:10 viraptor       Note Added: 0110807                          
======================================================================




More information about the asterisk-bugs mailing list