Sending SMS from Asterisk server to mobile.

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Sending SMS from Asterisk server to mobile.

Postby punjab » Tue Mar 20, 2012 10:10 am

Hello There.
1. please guide me how to send sms from asterisk/vicidial to local mobile.

2. how to fetch data from database for particular row. like i am using 2.1 vicidial server and i need after survey some content will sms to current number. i tried this, but data is coming from first row of database, how can i get current row data. please help me
all is well.

example of my extensions.conf
exten => _9038X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9038X.,2,MYSQL(Connect connid localhost root xxxx asterisk)
exten => _9038X.,3,GotoIf($["${connid}" = ""]?nodb)
exten => _9038X.,4,MYSQL(Query resultid ${connid} SELECT\ `first_name`\ FROM\ `vicidial_list`\ WHERE\ `phone_number`=${EXTEN:4}\ LIMIT\ 1 )
exten => _9038X.,5,MYSQL(Fetch foundRow ${resultid} name1)
exten => _9038NX.,7,Hangup

currently i am using API for sending sms from my asterisk. can u tell me some solution to send sms directly from my gsm gateway using sim.
kindly solve my issues.
punjab
 
Posts: 24
Joined: Sun Nov 21, 2010 10:15 am

Postby williamconley » Sat Mar 31, 2012 10:34 pm

You cannot send sms from your sim unless your PROVIDER supports it. The point is not the ability to send: the point is someone to receive it. You cannot directly contact the recipient, you must go through a provider. That's where your API comes in (contact a provider, send a message).

If your providers does, and you need a module of some sort to send sms, you'll need to get that module which is obviously NOT related to Vicidial in any way. Asterisk has a much larger user-base than Vicidial. Try a forum dedicated to that purpose or to the sim interface you are using. Is your sim hardware capable of generating an SMS? (this may be a bit of a requirement ...).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gers55 » Tue Apr 03, 2012 5:52 pm

This may help with what you are trying to do.

http://www.elastix.org/component/kunena ... odule.html
gers55
 
Posts: 76
Joined: Sun Feb 26, 2012 6:09 pm

Re: Sending SMS from Asterisk server to mobile.

Postby abrarssdd » Tue Apr 24, 2012 1:53 am

thanks very nice..
abrarssdd
 
Posts: 1
Joined: Tue Apr 24, 2012 1:31 am


Return to Support

Who is online

Users browsing this forum: No registered users and 149 guests