[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
Tue Feb 8 10:43:12 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:                     feedback
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-08 10:43 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0131673) Dovid (reporter) - 2011-02-08 10:43
 https://issues.asterisk.org/view.php?id=18722#c131673 
---------------------------------------------------------------------- 
jocvert:

Thats exactly my point. It should hang up (or at least in my opinion)
before the go sub ends. I do not want to exit as in my scenario I am doing
call screening. I am not going to jump out because they didn't do something
the first time. If I repeat the message to them say three times and the
caller already hung up I have no way of knowing that

I am thinking now that what I can do is maybe jump in and out of the GoSub
depending if the user entered DTMF.

Also even if you want to say that it should not hang up the second leg why
does the first leg not hang up. The caller will get a 200 to their BYE
right away but  the h extension will not be called for the caller till
something happens on the called party's side 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-08 10:43 Dovid          Note Added: 0131673                          
======================================================================




More information about the asterisk-bugs mailing list