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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 8 12:26:28 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-22 14:20 CDT
Last Modified:              2009-07-08 12:26 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'


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014741 Timed out parked calls always return to...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-08 12:26 svnbot         Status                   assigned => resolved
2009-07-08 12:26 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list