[asterisk-bugs] [Asterisk 0017947]: [patch] Allow user more control over parked calls that expire from a one touch park
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 9 16:26:12 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17947
======================================================================
Reported By: bluecrow76
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17947
Category: Features/Parking
Reproducibility: N/A
Severity: feature
Priority: normal
Status: ready for testing
Asterisk Version: SVN
JIRA: SWP-2164
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-09-02 17:51 CDT
Last Modified: 2010-09-09 16:26 CDT
======================================================================
Summary: [patch] Allow user more control over parked calls
that expire from a one touch park
Description:
This patch allows the user more control of calls that expire after being
parked using one touch parking.
The current behavior of a call expiring after being one touch parked is to
create an extension in a context that dials the device that parked the call
for 30 seconds with appropriate dial arguments. After that 30 seconds
expires, the call terminates because there is no more dial plan for
asterisk to process.
This patch can be applied against 1.6.2.11, the current beta of 1.8 and
trunk.
I am running this in production on 1.6.2.5, 1.6.2.9 and 1.6.2.11, along
with my other patches to parking (0017946).
======================================================================
----------------------------------------------------------------------
(0126794) russell (administrator) - 2010-09-09 16:26
https://issues.asterisk.org/view.php?id=17947#c126794
----------------------------------------------------------------------
The comebacktoorigin option already allows executing custom dialplan in the
case of a timed out parked call. Can you clarify why that doesn't do what
you need?
;comebacktoorigin = yes ; Setting this option configures the
behavior of call parking when the
; parked call times out (See the
parkingtime option). The default value is 'yes'.
;
; 'yes' - When the parked call times out,
attempt to send the call back to the peer
; that parked this call. This is
done by saving off the name of the channel
; that parked the call.
;
; 'no' - This option is useful for
performing custom dialplan functionality prior to
; sending the call back to the
extension that initially parked the call, or to
; an entirely different
destination.
;
; When the parked call times out,
send it back to the dialplan. The location
; will be the 'parkedcallstimeout'
context. The extension will be built from
; the saved channel name that
parked the call. For example, if a SIP peer named
; '0004F2040001' parked this call,
the extension will be 'SIP_0004F2040001'.
; (Note that an underscore is used
here because the '/' character has a special
; meaning in extension names for
CallerID matching.) If this extension does not
; exist, the call will be sent to
the 's' extension, instead. Finally, if the 's'
; extension of
'parkedcallstimeout' does not exist, the call will fall back to the
; 's' extension of the 'default'
context.
;
; Additionally, in this example an
extension of 'SIP_0004F2040001' will be
; created in the 'park-dial'
context. This extension will be set up to do a
; Dial() to 'SIP/0004F2040001'.
Issue History
Date Modified Username Field Change
======================================================================
2010-09-09 16:26 russell Note Added: 0126794
======================================================================
More information about the asterisk-bugs
mailing list