[Asterisk-Users] Multiple Parking Lots.

Greg Oliver goliver at cistera.com
Tue Feb 22 14:52:40 MST 2005


We use it for a client in 2 ways...
> exten => _218X,1,SuperValetParking($[ ${EXTEN} + 100 ]|mylot|15|$ [${EXTEN} + 100]|10|superpark)
> exten => _218X,10,Playback(vm-nobodyavail)
> exten => _218X,11,Dial(SIP/${OPERATOR},15,m)
> exten => _218X,12,Hangup

> exten => _228X,1,SuperValetParking(${EXTEN}|mylot|15|${EXTEN}|10|superpark)
> exten => _228X,10,Playback(vm-nobodyavail)
> exten => _228X,11,Dial(SIP/${OPERATOR},15,m)
> exten => _228X,12,Hangup

This lets them park to 218x and pick at 228x

> exten => 2181,1,System(cp /var/spool/asterisk/scripts/2191 /var/spool/asterisk/outgoing/)
> exten => 2181,2,SuperValetParkCall(2191|mylot|25|2181|7|superpark)
> exten => 2181,7,NoOp(Hangup SideCar Call)
> exten => 2181,8,SoftHangup(SIP/12191)
> exten => 2181,9,System(rm -f /var/spool/asterisk/outgoing/2191)
> exten => 2181,10,Playback(vm-nobodyavail)
> exten => 2181,11,Dial(SIP/${OPERATOR},45,m)
> exten => 2181,12,Hangup 

This example lights the lamp on a 7914 sidecar to show there is a call 
parked at that extension..


You can just put the parking spots in different contexts to keep them 
separate from different groups of users..



Chris Modesitt wrote:
> Thank you any feedback would be greatly appreciated.
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of C F
> Sent: Tuesday, February 22, 2005 2:28 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Multiple Parking Lots.
> 
> juse valetparking. I can't give you an example right now, since I'm
> working on implementing it. When I'm done I'll report
> 
> 
> On Tue, 22 Feb 2005 11:51:45 -0700, Chris Modesitt <chris at octelecom.net>
> wrote:
> 
>>
>>Question: I am PBX multi-hosting several customers on one of my * servers,
>>what the best way to setup call parking to prevent company A from picking
> 
> up
> 
>>Company B's parked calls ?
>>
>> 
>>
>>Any basic examples would be greatly appreciated.
>>
>> 
>>
>>Thanks
>>
>> 
>>
>>Chris.
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-users
>>To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list