On 1 Dec 2005, at 13:33, Tony Spencer wrote:

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?

Just put a suitable set of commands in your Dial string in extensions.conf

Say:
Dial(Sip/work&Zap/g1/01612370660&Zap/g1/079000000,30)

Which dials  the local Sip, the phone PSTN number and a mobile, whoever answers first 
gets the call. (rings for up to 60 secs). The only problem is if the mobile is off
and goes straight to answerphone, that will always answer first.
Personally for mobiles I prefer to use sms for notification and voice for office/home.

 

Tony

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 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/[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.

 

 

 


--
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

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:


_______________________________________________
--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

Reply via email to