[asterisk-bugs] [JIRA] (ASTERISK-22800) Dynamic parking pickup doesn't use PARKINGLOT
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Thu Nov 14 19:54:03 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211848#comment-211848 ]
Richard Mudgett commented on ASTERISK-22800:
--------------------------------------------
The problem is not parking the call. It is retrieving the call from the parking lot. The ParkedCall extens managed by Asterisk are one shot and specify what parking lot the call is in. When the call is retrieved, the exten is deleted. Using your own exten with ParkedCall will retrieve the parked calls because you can then specify what parking lot to get the call from.
> Dynamic parking pickup doesn't use PARKINGLOT
> ---------------------------------------------
>
> Key: ASTERISK-22800
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22800
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Features/Parking
> Affects Versions: 1.8.12.2
> Environment: CentOS release 5.8 64 bit
> Reporter: David Cunningham
> Attachments: park1.log.gz
>
>
> When picking up a call from a dynamically created parking lot, specified with the PARKINGLOT variable, the wrong call is picked up.
> A full trace is attached. The call flow is:
> 1. External caller 0000101 called 0234567890 which routed to telephone 2000105.
> 2. Telephone 2000105 parked the call using #*7 on lot park_4, slot 701.
> 3. Telephone 1000102 called 1000101.
> 4. Telephone 1000101 parked the call using #*7 on lot park_3, slot 701.
> 5. Telephone 2000105 dialled 701 and got the call parked at step 4, which is the wrong one.
> The important part of the trace is:
> {noformat}
> [Nov 1 11:49:44] VERBOSE[2694] res_agi.c: <SIP/product-local-00000069>AGI Rx << VERBOSE "Picking up call parked in 701" 9
> [Nov 1 11:49:44] VERBOSE[2694] res_agi.c: <SIP/product-local-00000069>AGI Tx >> 200 result=1
> [Nov 1 11:49:44] VERBOSE[2694] res_agi.c: <SIP/product-local-00000069>AGI Rx << SET VARIABLE __PARKINGLOT "park_4"
> [Nov 1 11:49:44] VERBOSE[2694] res_agi.c: <SIP/product-local-00000069>AGI Tx >> 200 result=1
> and then:
> [Nov 1 11:49:44] DEBUG[2698] pbx.c: Launching 'ParkedCall'
> [Nov 1 11:49:44] DEBUG[2698] features.c: Found Parking lot: park_3
> {noformat}
> For some reason it's using park_3, when it should be using park_4 as specified in PARKINGLOT.
> The output of "parkedcalls show" while both calls were parked was:
> {noformat}
> Num Channel (Context Extension Pri) Timeout
> *** Parking lot: park_4 (1)
> 701 Local/*7 at parkedcalls-9d2a;2 (parkedcalls s 1) 40s
> 1 parked call in parking lot park_4
> *** Parking lot: park_3 (1)
> 701 Local/*7 at parkedcalls-9b7c;2 (parkedcalls s 1) 54s
> 1 parked call in parking lot park_3
> *** Parking lot: default (0)
> ---
> 2 parked calls in total.
> {noformat}
> And after the pickup was the following, which shows the wrong call was picked up:
> {noformat}
> Num Channel (Context Extension Pri) Timeout
> *** Parking lot: park_4 (1)
> 701 Local/*7 at parkedcalls-9d2a;2 (parkedcalls s 1) 24s
> 1 parked call in parking lot park_4
> *** Parking lot: park_3 (1)
> *** Parking lot: default (0)
> ---
> 1 parked call in total.
> {noformat}
> Thank you.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list