[Asterisk-Users] Problems with auto dialout

tim panton tpanton at attglobal.net
Tue Nov 29 11:36:50 MST 2005



Channel: Local/60 at default
Callerid: 01612370660
MaxRetries: 5
RetryTime: 300
WaitTime: 45
Context: serverdown
Extension: s
Priority: 1




On 29 Nov 2005, at 15:39, Tony Spencer wrote:

> I'm a bit of newbie to Asterisk so I'm not to sure.
> I was just given the task to try and make this work.
>
> You could be correct but I'd have to do some further investigation  
> and speak
> to the person that used to admin this server.
>
> All I want to do is call a phone number and play a audio file and  
> hangup.
> Is there a way of doing this by dropping a file in the outgoing  
> queue or
> even from a script/commandline..
>
> Thanks
> Tony


I have a simple system like this, the call file looks like:

Channel: Local/60 at default
Callerid: 01612370660
MaxRetries: 5
RetryTime: 300
WaitTime: 45
Context: serverdown
Extension: s
Priority: 1
SetVar: SITENAME=importantCustomerName


And the following in extensions.conf:

[serverdown]
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,Playback(serverdown/${SITENAME})
exten => s,4,Wait(10)
exten => s,5,Playback(serverdown/${SITENAME})
exten => s,6,Hangup


I have a file pre-recorded with a customer specific message in  
serverdown/importantCustomerName.gsm


The trick with Local/60 at default is to distribute the call to multiple  
users:

[default]
exten => 60,1,Dial(Sip/bill&Sip/ben&Sip/flower&Sip/pot&Sip/weed,30)


Good luck,

Tim.


http://www.westhawk.co.uk/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051129/4810aa24/attachment.htm


More information about the asterisk-users mailing list