Translate

2013-04-15

Command Asterisk using ".call" files

Apart dialplan or manager, one of the ways to use Asterisk is using ".call".

Asterisk is continuously scanning folder /var/spool/asterisk/outgoing for "call" files, these call files if they are correctly formated will cause Asterisk to launch hte commands they contains.

We can easily imagine how this feature can be useful for repetitive or massing operations...

Send a SMS to yyyyyyyyy using SMS gateway (14974800), requires a context [smsdial] (see extensions.conf)
            Channel: ZAP/g1/14974800
MaxRetries: 1
RetryTime: 60
WaitTime: 30
Context: smsdial
Extension: yyyyyyyyy
Priority: 1
SetVar: MSG=Test SMS coucou
N.B :it is possible to uses smsq in command line to send a SMS ;
smsq --motx-channel= numero_du_centre sur le channel numero_du_destinanataire "test"

Channel:ZAP/g1/XXXXXX
MaxRetries: 1
WaitTime: 20
Application:txfax
Data:/var/spool/asterisk/fax/1179405466.6.tif|caller

In this post, I explain how to combine this feature to simple scripting abilities in order to launch call campaigns easily.

4 comments:

Aabha Pure said...

Nice blog to having information of sms marketing and get detail of Top 5 Bulk SMS Service Provider in India to send promotional sms.

Anonymous said...

Hah, good lifehack, definitely will try to use it as soon as possible. I always thought that SMS bulk is a good thing, and finally people start to notice it. By the way I can recommend you one reliable service intistele.com/solutions/marketers that can help to make your mobile marketing campaign very successful.

SMSMessenger said...

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Bulk SMS To DND Numbers India is providing the bulk SMS to DND is widely used by the companies or individuals to promote their product, brand or services.

jaqulin said...

Send SMS and MMS messages to enhance your communication with your customers and prospects by sending text and picture messages, using your existing business phone number. You can also avail landline text service from the website.