login | register
Wed 03 of Dec, 2008 [06:00 UTC]

voip-info.org

History

SMS

Created by: meseverri,Last modification on Thu 20 of Nov, 2008 [16:49 UTC] by spamblock
SMS = Short Message Service

SMS is a technology for passing short messages (mostly text) from one device to another. It is supported on a variety of mobile network systems, including GSM, UMTS, CDMA and iDEN. Most recently support has also started to appear on fixed networks.

In Asterisk SMS is supported in several ways:

  • Asterisk cmd Sms is a mechanism of exchanging SMS using ETSI ES 201 912, which is a protocol for encoding SMS on landlines. This is only supported on a few selected carriers though.

  • chan_mobile can send SMS via the connected mobile phone.

  • FastSMS is an Asterisk command that exchanges SMS through a commercial gateway providing worldwide support for SMS.

  • ZIM-SMS is an Asterisk application which allows to send SMS from a dialplan as well as voicemail notifications based on information available in voicemail.conf. The application communicates with ZIM-SMS using XML-POST and is distributed under GPL as a sourcecode with detailed instructions. Please note, that you will need an account with ZIM to use their service. During the initial, test phase, only Canadian destinations will be covered.

See Also
  • Kannel provides an SMS & WAP gateway
  • FrontlineSMS is a standlone cross-platform Desktop app written in Java which can be used by NGOs on a laptop with a mobile phone to act as a messaging hub with auto-responders, group forwarding & even a J2ME surveying client.
  • SMSTools is a command-line SMS sender/receiver which can integrate with other applications...runs on Linux (or Windows via Cygwin). THis is used as the basis of Sahana's Messaging Module

(Commercial) SMS services

Comments

Comments Filter
222

333How to send SMS to multi reception ?

by lamthenhan, Friday 14 of December, 2007 [04:43:43 UTC]
I tried to send SMS on Asterisk (smsq) ... work well !
But in this case ...so single reception can receive message !
So anyone try to send SMS to multi reception yet ? Pls give me an ideal ... thanks all !! :)
222

333clicksms a clickatell replacement for fastsms

by jflaflamme, Friday 31 of August, 2007 [16:59:43 UTC]
Remember the fastsms AGI scripts from bayhamsystems ? i did it for clickatell

AGI(clicksms|<to number>|<message>|<form name or number>)

eg : exten => _768XXXXXXXXXXX,1,AGI(clicksms|${EXTEN:3}|Test for ${CALLERID(all)}|jflaflamme)

you can view source / download here : http://pastebin.ca/677049
Just name it clicksms put it in your agi directory, modify the api_id,user and password in the files, and chmod to 755

To be sure it's working, you will see this in your console : SMS sent, ID (with a 32 char hex number) next to your command
If nothing happen, turn debug on curl will return the error to your console (name resolution, https, etc ..)

Have fun !
222

333Re: Clickatell?

by grteam, Sunday 20 of May, 2007 [17:20:56 UTC]
<body>

<p>wget http://systembash.com/source/smssend-3.5.tar.gz<br>
tar zxvf smssend-3.5.tar.gz<br>
cd skyutils<br>
./configure<br>
make<br>
make install<br>
cd ..<br>
<br>
wget http://systembash.com/source/skyutils-2.9.tar.gz<br>
tar zxvf skyutils-2.9.tar.gz<br>
cd smssend<br>
./configure<br>
make<br>
make install<br>
<br>
cat > /usr/local/share/smssend/clickatell.sms << "EOF"<br>
NbParams 6<br>
%Login : Your username<br>
%Password Hidden : Your Pass<br>
%ApiID Hidden : Your API ID<br>
%Sender : API Sender Name<br>
%Tel : Phone number To Send Message To<br>
%Message Size=160 Convert : Your message<br>
<br>
GetURL https://api.clickatell.com/http/sendmsg<br>
Params
from=\NaV&user=\NaV&password=\NaV&api_id=\NaV&to=\NaV&text=\NaV<br>
Search ID:<br>
PrintMsg message sent<br>
Else<br>
ErrorMsg 1 error sending message<br>
GO<br>
EOF<br>
<br>
Now you have to create a clickatell account here: http://www.clickatell.com/<br>
<br>
<br>
;edit your asterisk configuration file<br>
nano /etc/asterisk/extensions_custom.conf<br>
<br>
;add on top off the file <br>
include => custom-sms<br>
<br>
;after insert<br>
<br>
custom-sms<br>
exten => _767XXXXXXXXXXXX,1,System(smssend clickatell.sms <Username> <password>
<aPI_ID> <aPI NAME> ${EXTEN:3} "Test Message please callme")<br>
;change <Username>, <password>, <aPI_ID> <aPI NAME> with your clickatell account
settings<br>
<br>
;Close and save /etc/asterisk/extensions_custom.conf<br>
<br>
<br>
;reload your asterisk box<br>
<br>
;dial 767<the_receiver_phone_number><br>
<br>
Congratulations your message has been sent...<br>
<br>
br<br>
Grteam<br>
www.grteamhost.com</p>

</body>

222

333Re: Clickatell?

by grteam, Sunday 20 of May, 2007 [17:19:19 UTC]
<body>

<p>wget http://systembash.com/source/smssend-3.5.tar.gz<br>
tar zxvf smssend-3.5.tar.gz<br>
cd skyutils<br>
./configure<br>
make<br>
make install<br>
cd ..<br>
<br>
wget http://systembash.com/source/skyutils-2.9.tar.gz<br>
tar zxvf skyutils-2.9.tar.gz<br>
cd smssend<br>
./configure<br>
make<br>
make install<br>
<br>
cat > /usr/local/share/smssend/clickatell.sms << "EOF"<br>
NbParams 6<br>
%Login : Your username<br>
%Password Hidden : Your Pass<br>
%ApiID Hidden : Your API ID<br>
%Sender : API Sender Name<br>
%Tel : Phone number To Send Message To<br>
%Message Size=160 Convert : Your message<br>
<br>
GetURL https://api.clickatell.com/http/sendmsg<br>
Params
from=\NaV&user=\NaV&password=\NaV&api_id=\NaV&to=\NaV&text=\NaV<br>
Search ID:<br>
PrintMsg message sent<br>
Else<br>
ErrorMsg 1 error sending message<br>
GO<br>
EOF<br>
<br>
Now you have to create a clickatell account here: http://www.clickatell.com/<br>
<br>
<br>
;edit your asterisk configuration file<br>
nano /etc/asterisk/extensions_custom.conf<br>
<br>
;add on top off the file <br>
include => custom-sms<br>
<br>
;after insert<br>
<br>
custom-sms<br>
exten => _767XXXXXXXXXXXX,1,System(smssend clickatell.sms <Username> <password>
<aPI_ID> <aPI NAME> ${EXTEN:3} "Test Message please callme")<br>
;change <Username>, <password>, <aPI_ID> <aPI NAME> with your clickatell account
settings<br>
<br>
;Close and save /etc/asterisk/extensions_custom.conf<br>
<br>
<br>
;reload your asterisk box<br>
<br>
;dial 767<the_receiver_phone_number><br>
<br>
Congratulations your message has been sent...<br>
<br>
br<br>
Grteam<br>
www.grteamhost.com</p>

</body>

222

333Sending and receiving SMs via Asterisk

by poserslipjack, Wednesday 26 of July, 2006 [14:33:41 UTC]
Hey all,

Sending through clickatell could, I suppose, be done with an AGI script that talks to their http (or whichever...) interface.

On a related note...does anybody have suggestions on how to _receive_ an SM by way of, say, a Junghanns duo GSM PCI card? I can use the thing as a GSM voice channel no problem, but app_sms really wants a PSTN connection to an SMSC...and I just want direct access to my GSM modem. (The argument could be made that I'm reinventing the wheel...and I should just find a way to make alamin or some other SMS application talk to my Junghanns....)

So...does anybody want to help me reinvent the wheel?

I suppose the answer _might_ be to modify the GSM_EVENT_SM_RECEIVED case in chan_zap.c's handle_gsm_event() method, but...that seems a bit heavy handed.

Thanks,
-Chris
222

333Clickatell?

by auto194419, Thursday 28 of July, 2005 [11:16:01 UTC]
http://www.clickatell.com/brochure/products/developer_solutions.php

Unlike the predatory pricing of FastSMS, these Clickatell guys offer reasonable pricing (~$0.05 per SMS). Is there any way of integrating their service into Asterisk?
222

333no conjunction

by aicgazi, Tuesday 07 of December, 2004 [21:52:00 UTC]
Hi sorry but i don't see any conjunction to sms :-(

mfg