Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rnewton at digium.com
Guest





PostPosted: Thu Dec 11, 2014 8:21 pm    Post subject: [asterisk-users] park()-command always parks on default 701 Reply with quote

On Tue, Nov 25, 2014 at 8:27 AM, Jonas Kellens <jonas.kellens@telenet.be> wrote:
Quote:
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@pbx-routing:10]
Set("SIP/SipT01-0000000b", "PARKINGDYNPOS=200-210") in new stack
[Nov 25 15:08:47] -- Executing [callpark@pbx-routing:11]
Set("SIP/SipT01-0000000b", "PARKINGDYNCONTEXT=parked_001") in new stack
[Nov 25 15:08:47] -- Executing [callpark@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

--
_____________________________________________________________________
-- 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services