[Asterisk-Users] Problems with auto dialout

Tony Spencer tony at games-master.co.uk
Thu Dec 1 06:33:25 MST 2005


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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of tim panton
Sent: 29 November 2005 18:37
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Problems with auto dialout

 

 

 

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.

 

 

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

 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 30/11/2005



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 30/11/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051201/8f7245ac/attachment.htm


More information about the asterisk-users mailing list