|
Hi Tim Thanks for the info. I see what your example is doing. However what if I want Asterisk to call someone
that isn’t on the local network? So if someone is out and about they can be
called on a mobile to let them know something is down? Tony From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of tim panton Channel: Local/[EMAIL PROTECTED] 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/[EMAIL PROTECTED] 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/[EMAIL PROTECTED] 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. --
-- |
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
