[asterisk-bugs] [JIRA] (ASTERISK-22800) Dynamic parking pickup doesn't use PARKINGLOT

David Cunningham (JIRA) noreply at issues.asterisk.org
Thu Oct 31 20:02:03 CDT 2013


David Cunningham created ASTERISK-22800:
-------------------------------------------

             Summary: 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: Core/PBX
    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:
[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

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:
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.

And after the pickup was the following, which shows the wrong call was picked up:
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.

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