[asterisk-bugs] [Asterisk 0018722]: When using ugc in dial - If first leg hangs up call is in limbo

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 7 05:27:05 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18722 
====================================================================== 
Reported By:                Dovid
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18722
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-01 05:40 CST
Last Modified:              2011-02-07 05:27 CST
====================================================================== 
Summary:                    When using ugc in dial - If first leg hangs up call
is in limbo
Description: 
Hi,

If phone1 calls phone2 with a gosub (sent because of u in dial string)
that sends that sends the called party to a macro where they have to enter
DTMF to have the call bridged, if the caller hangs up after the called
person picks up the first leg is in limbo.

1) phone1 calls phone2
2) phone2 picks up and is sent to a GoSub where a message is played for
phone2 to enter dtmf to bridge the calls.
3) phone2 does not enter anything and hears the message over and over.
4) phone1 hangs up the phone. Asterisk gets the BYE and sends a 200 in
response, however the call is not hung up and the call is in limbo till
phone2 enters DTMF or hangs up.

I will upload the full log as well as a tshark trace.
====================================================================== 

---------------------------------------------------------------------- 
 (0131554) Dovid (reporter) - 2011-02-07 05:27
 https://issues.asterisk.org/view.php?id=18722#c131554 
---------------------------------------------------------------------- 
John,

I understand what you are saying that there are two calls that are bridged
once the GoSub exits. However this is the same for all calls. Any time a
call is made there are two calls that are bridged together. If one leg
hangs up then Asterisk hangs up the second leg.

What you suggested to see if the original channel is up is work around (I
did not know that there is a way of checking if a channel is up thinking
about it now I can use the AMI) is a "hack fix" but solving the issue that
the call should hang up.

Whats interesting is that Asterisk gets the BYE sends the 200 OK but does
not even hang up the first call. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-07 05:27 Dovid          Note Added: 0131554                          
======================================================================




More information about the asterisk-bugs mailing list