Park()-command Always Parks On Default 701
Hello,
I have the following in my dialplan :
exten => callpark,n,Set(PARKINGDYNPOS 0-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 0-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 ?
Kind regards,
Jonas.
One thought on - Park()-command Always Parks On Default 701
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