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

2014-12-11 Thread Rusty Newton
On Tue, Nov 25, 2014 at 8:27 AM, Jonas Kellens  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(2s,parkinglot_001)
>
> I see on the CLI :
>
> [Nov 25 15:08:47] -- Executing [callpark@pbx-routing:10]
> Set("SIP/SipT01-000b", "PARKINGDYNPOS=200-210") in new stack
> [Nov 25 15:08:47] -- Executing [callpark@pbx-routing:11]
> Set("SIP/SipT01-000b", "PARKINGDYNCONTEXT=parked_001") in new stack
> [Nov 25 15:08:47] -- Executing [callpark@pbx-routing:12]
> Park("SIP/SipT01-000b", "5s,parkinglot_001") in new stack
> [Nov 25 15:08:47]   == Parked SIP/SipT01-000b 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_77
>
> 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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2014-11-25 Thread Jonas Kellens

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(2s,parkinglot_001)

I see on the CLI :

[Nov 25 15:08:47] -- Executing [callpark@pbx-routing:10] 
Set("SIP/SipT01-000b", "PARKINGDYNPOS=200-210") in new stack
[Nov 25 15:08:47] -- Executing [callpark@pbx-routing:11] 
Set("SIP/SipT01-000b", "PARKINGDYNCONTEXT=parked_001") in new stack
[Nov 25 15:08:47] -- Executing [callpark@pbx-routing:12] 
Park("SIP/SipT01-000b", "5s,parkinglot_001") in new stack
[Nov 25 15:08:47]   == Parked SIP/SipT01-000b 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_77

Why does Asterisk park on 701 ? Why not on 200 ?


Kind regards,

Jonas.
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users