[asterisk-bugs] [Asterisk 0015380]: Park() application options not working as documented

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 22 14:20:56 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15380 
====================================================================== 
Reported By:                DLNoah
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15380
Category:                   Applications/app_parkandannounce
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-22 14:20 CDT
Last Modified:              2009-06-22 14:20 CDT
====================================================================== 
Summary:                    Park() application options not working as documented
Description: 
I recently updated one of my Asterisk servers to 1.6.1.1 and was trying to
make use of the new options available in the Park() dialplan application. 
I found the following two issues with these options:

1) The "timeout" option is expecting its argument in milliseconds.  This
is not documented in the CLI documentation for the function and is contrary
to the behavior of several other dialplan applications (such as Dial and
WaitExten), which take their timeout argument in seconds.

2) The "returncontext", "returnextension", and "returnpriority" options
are being ignored.  In my specific case, I have comebacktoorigin = no set
within features config.  If I park the call such as
Park(180000,incoming-general,s,1), the following console output will occur
on timeout:
  == Timeout for IAX2/dundi-directlink-7325 parked on 1071 (default).
Returning to parkedcallstimeout,IAX20dundi-directlink,1
  == Starting IAX2/dundi-directlink-7325 at
parkedcallstimeout,IAX20dundi-directlink,1 failed so falling back to exten
's'


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-22 14:20 DLNoah         New Issue                                    
2009-06-22 14:20 DLNoah         Asterisk Version          => 1.6.1.1         
2009-06-22 14:20 DLNoah         Regression                => No              
2009-06-22 14:20 DLNoah         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list