[asterisk-users] Automatic dialing + SMS

Markus universe at truemetal.org
Wed May 18 07:25:20 CDT 2011


Here's a script to call a bunch of numbers (list-of-numbers.txt), trigger a
new call every 10 seconds. Adjust for your needs:

-snip-
#!/bin/bash
for i in `cat list-of-numbers.txt`
do
echo /usr/sbin/asterisk -rx "originate local/7777 at from-local extension
$i at voipout"
/usr/sbin/asterisk -rx "originate local/7777 at from-local extension
$i at voipout"
sleep 10
done
-snip-

[voipout] looks like:

exten => _X.,1,Dial(SIP/${EXTEN}@provider)

[from-local] looks like:

exten => 7777,1,Answer
exten => 7777,2,Playback(something)
exten => 7777,3,Hangup


----- Original Message ----- 
From: <gadgetronixs at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Wednesday, May 18, 2011 10:56 AM
Subject: Re: [asterisk-users] Automatic dialing + SMS


Hello.
Does it mean Asterisk has no in-built applications for auto dialing. What
scripting language can easily and best be used for the AGI. Tell me more abt
the sms providers
Sent from my BlackBerry® smartphone from Vodafone

-----Original Message-----
From: Enrico Cicconi <enrico.cicconi at rdmnet.it>
Sender: asterisk-users-bounces at lists.digium.com
Date: Wed, 18 May 2011 09:54:45
To: Asterisk Users Mailing List - Non-Commercial
Discussion<asterisk-users at lists.digium.com>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Cc: bilal ghayyad<bilmar_gh at yahoo.com>
Subject: Re: [asterisk-users] Automatic dialing + SMS

Hi Bilal,
sure is possible as is possible to do other activities after played the
messages such call redirect, dtmf selection and so on.

About sending sms you can do it but our tips is to use an external SMS
gateway in your area. Where are you ?

If needed we can support, bye.

Enrico
www.rdmnet.it

Il 17/05/2011 10:43, bilal ghayyad ha scritto:
> Hello All;
>
> If I need the Asterisk to do automatic dialing for a list of numbers and
> when the destination answer, then to play the proper sound message, is it
> possible? How?
>
> About sending SMS, can asterisk do this?
>
> Regards
> Bilal
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list