[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
Sun Feb 6 22:48:08 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-06 22:48 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0131547) jcovert (reporter) - 2011-02-06 22:48
 https://issues.asterisk.org/view.php?id=18722#c131547 
---------------------------------------------------------------------- 
I don't see why this is a bug.

I used precisely this concept (except with a Macro rather than a gosub) to
deliver calls to all of my phones when one of them included a desk phone at
a client's office --- desk phone had voicemail and I didn't want my calls
from other clients answered by Acme Sprocket's voicemail.

I would expect to actually get the message from the incoming caller even
if the incoming call had hung up so I wouldn't wonder what the dropped call
is about.

The gosub (or macro) should set an absolute timeout when it starts which
is shorter than the length of the OGM on the voicemail (if there is VM) so
that phantom VM isn't left.  It should clear it when the TT is entered
before exiting the GoSub to allow the call to connect.

Do I get your bounty? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-06 22:48 jcovert        Note Added: 0131547                          
======================================================================




More information about the asterisk-bugs mailing list