[asterisk-users] park()-command always parks on default 701

Rusty Newton rnewton at digium.com
Thu Dec 11 19:20:58 CST 2014


On Tue, Nov 25, 2014 at 8:27 AM, Jonas Kellens <jonas.kellens at telenet.be> wrote:
> Hello,
>
> I have the following in my dialplan :
>
> exten => callpark,n,Set(PARKINGDYNPOS=200-210)
> exten => callpark,n,Set(PARKINGDYNCONTEXT=parked_001)
> exten => callpark,n,Park(20000,,,,s,parkinglot_001)
>
> I see on the CLI :
>
> [Nov 25 15:08:47]     -- Executing [callpark at pbx-routing:10]
> Set("SIP/SipT01-0000000b", "PARKINGDYNPOS=200-210") in new stack
> [Nov 25 15:08:47]     -- Executing [callpark at pbx-routing:11]
> Set("SIP/SipT01-0000000b", "PARKINGDYNCONTEXT=parked_001") in new stack
> [Nov 25 15:08:47]     -- Executing [callpark at pbx-routing:12]
> Park("SIP/SipT01-0000000b", "50000,,,,s,parkinglot_001") in new stack
> [Nov 25 15:08:47]   == Parked SIP/SipT01-0000000b on 701 (lot
> parkinglot_001). Will timeout back to extension [pbx-routing] s, 1 in 50
> seconds
> [Nov 25 15:08:47]     -- Added extension '701' priority 1 to parked_770000
>
> Why does Asterisk park on 701 ? Why not on 200 ?

I believe because you haven't set the PARKINGDYNEXTEN channel variable
or defined a PARKINGDYNCONTEXT (template parking lot) with a parkext
option defined. Therefore it defaults back to the parkext of the
default lot.

It is all sort of unclear at the moment unfortunately -
https://issues.asterisk.org/jira/browse/ASTERISK-24596

-- 
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list