[Asterisk-Users] NEED HELP: Send sms message using Asterisk
Gilad Ben-Yossef
gilad at codefidence.com
Sat Oct 9 03:14:35 MST 2004
Wayne Veilleux wrote:
> I'm in Canada and I would like to send sms message to a cell phone
> with Bell Mobility provider.
>
> Is it possible to us Asterisk to do that ?
>
> I put that into my extensions.conf file:
>
> [smsdial]
> exten => _X.,1,SMS(${CALLERIDNUM},,${EXTEN},${CALLERIDNAME})
> exten => _X.,2,SMS(${CALLERIDNUM})
> exten => _X.,3,Hangup
>
> and I copied this file:
>
> channel: Zap/1/1
> extension: 8789898
> callerid: message <from>
> context: smsdial
> priority: 1
>
> in /var/spool/asterisk/outgoing/
>
> And it does not work.
>
You are not using it correctly. Even if BM is using a supported landline
SMS protcol (I don't know), you should have the number for your SMS
service cernter in channel, like so: "Zap/1/1234567", where 1234567 is
your Telco provided SMS sending service center.
Cheers,
Gilad
More information about the asterisk-users
mailing list