[Asterisk-Users] - SOLVED - Trouble getting SMS working

Mick mick at wow.nailed.org
Mon Jun 12 05:32:31 MST 2006


Hi Josué,

These pages will give you some good info.
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Sms
http://www.automated.it/asterisk/sms.html

I don't have the send from asterisk part ready yet, but to receive SMS
from a phone, in your extensions.conf you will need something like
this. 

; SMS Message Center
SMSC=0198339100

; Receiving messages FROM a phone:
[smsphone]
exten = ${SMSC},1,Goto(smsmorx,s,1)

[smsmorx]
exten => s,1,Answer
exten => s,2,Wait(1)
exten => s,3,SMS(${CALLERIDNUM},sa)
exten => s,4,System(someapptohandlelocalsms ${EXTEN})
exten => s,5,Hangup

I had a lot of problems with certain versions of app_sms.
What is working now for me is Asterisk 1.2.9.1, but with
app_sms.c from Asterisk 1.2.7.1.
Get it from here
http://svn.digium.com/view/asterisk/tags/1.2.7.1/apps/app_sms.c?rev=19815


Hope this helps.

Mick.





On Mon, 12 Jun 2006 08:26:38 -0300
"Josué Conti" <josueconti at gmail.com> wrote:

> Mick, as good?
> How to configure sms with asterisk?
> 
> Best Regards
> 
> Josué




More information about the asterisk-users mailing list