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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 22 15:57:21 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15380 
====================================================================== 
Reported By:                DLNoah
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   15380
Category:                   Applications/app_parkandannounce
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
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 15:57 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 15:57 russell        Status                   new => assigned     
2009-06-22 15:57 russell        Assigned To               => dbrooks         
======================================================================




More information about the asterisk-bugs mailing list