<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 12:03 PM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On Friday 16 May 2014, Jayson Devor wrote:<br>

> Hello Everyone,<br>
><br>
> We have an order for SMS messaging. Can you gents and ladies be kind enough<br>
> to<br>
> disclose if SMS is possible using Asterisk? What is a quick way to test a<br>
> `Hello World`<br>
> to my cell. Finally, do all service providers support SMS messaging?<br>
><br>
> Kind Regards,<br>
><br>
> Jayson.<br>
<br>
</div></div>Certainly with an Asterisk-compatible GSM card such as the OpenVox G400P /<br>
G400E, and some SIM cards, it is possible to send and receive SMS messages.<br>
Which one you need to buy is dependent on your motherboard's expansion slots:<br>
G400P is PCI  (32 bit)  and G400E is PCI-express.  SMS is baked into the GSM<br>
standard, so every mobile telephone company in the world have to support it.<br>
<br>
<br>
You can send a message from the Asterisk CLI with a command such as<br>
<br>
cli> gsm send sms <span> <dest> "<message text>" <id><br>
<br>
and therefore, from any programming language that has `backticks` or some<br>
other way to execute a shell command.<br>
<br>
<br>
Beware!  You may discover very quickly that "unlimited"  (as in when your<br>
telco promises "unlimited SMS messages")  does not really mean what you think<br>
it means  :/<br>
<br>
Double beware!  Some telcos charge for the delivery report  (which is required<br>
by the driver software to know if or not the message was sent successfully);<br>
and some telcos require you to obtain written permission in advance to use<br>
their SIM in anything other than an ordinary mobile handset, on pain of<br>
disconnection.<br>
<br>
<br>
You can of course also use this piece of kit to receive SMS messages  (they<br>
are logged under /var/log/asterisk/sms/ ; and also, an extension is triggered<br>
in your dialplan when a message comes in, with some channel variables<br>
populated with the originating number, message content and some other goodies)<br>
and dial and answer voice calls.<br>
<span class=""><font color="#888888"><br>
<br>
--<br>
AJS<br>
<br>
Note:  Originating address only accepts e-mail from list!  If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
</font></span><div class=""><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></div></blockquote><div><br></div><div><br></div><div style>Just amazing! A thing of beauty yeah? We will be going with the following card:</div>
<div style><br></div><div style><a href="http://www.voipon.co.uk/openvox-g400p4-p-1150.html">http://www.voipon.co.uk/openvox-g400p4-p-1150.html</a></div><div style><br></div><div style><br></div><div style>Hope setup and configuration will go easy?</div>
<div style><br></div><div style>Jayson </div></div><br></div></div>