[asterisk-users] sending an SMS via Asterisk?
Per Jessen
per at computer.org
Tue Apr 17 00:40:18 MST 2007
I've been googling and reading a lot, but I'm not getting any closer to
getting an SMS sent via Asterisk.
Prior to switching to asterisk, I used sms_client on an ISDN line to
dial one of two Swisscom SMS centers: 0900900941 or 0794998990.
My dialplan looks like this:
exten => 0900900941,1,Goto(smsmotx,${CALLERIDNUM},1)
exten => 0794998990,1,Goto(smsmotx,${CALLERIDNUM},1)
; outgoing SMS
[smsmotx]
exten => _X.,1,Set(smsFrom=${CALLERIDNUM})
exten => _X.,n,SMS(${smsFrom},,${EXTEN},${CALLERIDNAME}) ; Create an SMS
exten => _X.,n,SMS(${smsFrom}) ; Send queued SMS
exten => _X.,n,Hangup()
When I attempt to send an SMS using smsq, Asterisk appears to be
behaving normally, a call is made etc., but the SMS never arrives ...
What am I doing wrong? Let me know what diagnostics I need to provide
if anyone wants to take a closer look.
thanks
/Per Jessen, Zürich
More information about the asterisk-users
mailing list