[asterisk-users] Park and PARKINGDYNAMIC

Danny Nicholas danny at debsinc.com
Tue Feb 21 09:50:08 CST 2012


What release are you trying this with?

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bryant
Zimmerman
Sent: Monday, February 20, 2012 5:34 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Park and PARKINGDYNAMIC

 

I have been trying to get the dynamic parking working. 

For some reason when I park a call using this method the console says it is
using the default parking context not the one I am trying to specidfy. It
also is playing the parked extension to the caller. I am transfering the
call to an extension that is doing a goto to the context below.  Any ideas
or examples on how to make this work. What I need to be able to do is have
multiple parking lots using the same extension pools but seperated by a
dynamic context of ${account}-Lot. So that each office suite cant cross
pickup another groups parked calls while using the same number pool of
110-120. I need the dynamic option as all of our calls are database driven
and we can't add a seperate entry per customer to the feautres.conf. 

[MSIP-DynPark]
exten => s,1,NoOp(Dynamic Parking)
exten => s,n,NoOp(Return Parked Call)
exten => s,n,GoTo(${CUT(${l_ndeContext}-ndeArgs,~,1)},1)

exten => _XXX,1,Set(PARKINGDYNAMIC=parkinglot_small)
exten => _XXX,n,Set(PARKINGDYNEXTEN=110)
exten => _XXX,n,Set(PARKINGDYNPOS=111-120)
exten => _XXX,n,Set(PARKINGDYNCONTEXT=${account}-Lot)
;exten => _XXX,n,Set(PARKINGEXTEN=99)
exten => _XXX,n,Park()

[MSIP-DynParkPickup]
exten => _NXX,1,ParkedCall(${EXTEN},${account}-Lot)
exten => _NXX,hint,park:$EXTEN@${account}-Lot


Thanks

Bryant 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120221/032e8047/attachment.htm>


More information about the asterisk-users mailing list