[asterisk-bugs] [Asterisk 0018447]: timeout parameter always honoured when no response to signalling

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 9 12:56:28 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18447 
====================================================================== 
Reported By:                asgaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18447
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.15 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-09 08:13 CST
Last Modified:              2010-12-09 12:56 CST
====================================================================== 
Summary:                    timeout parameter always honoured when no response
to signalling
Description: 
When a sip phone is not responding to invites on an outbound call, the dial
application still waits the duration of timeout before continuing with
dialplan execution. I was under the impression that app_dial would timeout
on the signalling prior to the timeout parameter specified in the dial
parameter.

For example, consider the following dialplan:

exten => 111,1),Dial(SIP/phone1,30,tg)
exten => 111,n,NoOp(DialStatus=${DIALSTATUS})
exten => 111,n,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?unavail)
exten => 111,n,GotoIf($[${DIALSTATUS} = NOANSWER]?unavail)
exten => 111,n,GotoIf($[${DIALSTATUS} = BUSY]?busy)
exten => 111,n,GotoIf($[${DIALSTATUS} = CONGESTION]?busy)
exten => 111,n(unavail), Goto(voice-mail,vmu-phone1,1)
exten => 111,n(busy), Goto(voice-mail,vmb-phone1,1)

Under normal operation the originating caller is passed through to
voicemail. However, if/when the device is not responding to invites, for
whatever reason, the dial application waits 30 seconds before setting the
DIALSTATUS to NOANSWER.

Would it be possible to have the dial application timeout on no response
to INVITES prior to the actual timeout value specified on the dial?
====================================================================== 

---------------------------------------------------------------------- 
 (0129504) junky (manager) - 2010-12-09 12:56
 https://issues.asterisk.org/view.php?id=18447#c129504 
---------------------------------------------------------------------- 
what about if you have qualify=yes for that phone? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-09 12:56 junky          Note Added: 0129504                          
======================================================================




More information about the asterisk-bugs mailing list