[asterisk-users] Park and PARKINGDYNAMIC

Bryant Zimmerman BryantZ at zktech.com
Mon Feb 20 17:33:54 CST 2012


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/20120220/7829a045/attachment.htm>


More information about the asterisk-users mailing list