[asterisk-bugs] [Asterisk 0015380]: Park() application options not working as documented
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 8 13:19:00 CDT 2009
A NOTE has been added to this issue.
======================================================================
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: closed
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 13:19 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...
======================================================================
----------------------------------------------------------------------
(0107487) svnbot (reporter) - 2009-07-08 13:19
https://issues.asterisk.org/view.php?id=15380#c107487
----------------------------------------------------------------------
Repository: asterisk
Revision: 205287
_U branches/1.6.2/
U branches/1.6.2/main/features.c
------------------------------------------------------------------------
r205287 | dbrooks | 2009-07-08 13:18:59 -0500 (Wed, 08 Jul 2009) | 15
lines
Merged revisions 205254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r205254 | dbrooks | 2009-07-08 12:26:26 -0500 (Wed, 08 Jul 2009) | 8
lines
Fixes Park() argument handling
Park() was not respecting the arguments passed to it. Any
extension/context/priority
given to it was being ignored. This patch remedies this.
(closes issue https://issues.asterisk.org/view.php?id=15380)
Reported by: DLNoah
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=205287
Issue History
Date Modified Username Field Change
======================================================================
2009-07-08 13:19 svnbot Checkin
2009-07-08 13:19 svnbot Note Added: 0107487
======================================================================
More information about the asterisk-bugs
mailing list