<br><br><div class="gmail_quote">On Sun, Jan 17, 2010 at 7:34 AM, Thomas Perron <span dir="ltr">&lt;<a href="mailto:thomas.perron@gmail.com">thomas.perron@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any code that I can cut/paste that will allow me to receive<br>
an SMS text on Asterisk?<br>
and, where can I capture the incoming text?<br>
<font color="#888888"><br></font></blockquote><div><br>See chan_mobile in the asterisk-addons... For certain cell phones there is a facility there to pass an SMS on thru the phone to Asterisk.<br><br>You do it all via dialplan apps....<br>
<br>in chan_mobile.c, you&#39;ll see apps MobileSendSMS(device,dest,message), which allows you to send an<br>SMS message via the dialplan, thru the bluetooth attached phone.<br><br>To get an SMS, you have to have a cellphone bluetooth attached, and capable of passing sms messages.<br>
When it reports to Asterisk via the bluetooth connection, that an SMS message was recieved, Asterisk<br>will try to run the &quot;sms&quot; extension, with the channel variables SMSSRC and SMSTXT channel variables<br>set to the appropriate values. In the dialplans you can turn this into an email, an announcement, a text-to-speech<br>
(via festival or Cepstral or whatever), or whatever your needs or imagination can supply.<br><br>I&#39;ve asked around a while back, and the only phone capable of such sms capabilities was one running the<br>Symbian os, iirc, and that means Nokia, I guess, and Erickson, and a few others... according to the Wikipedia,<br>
it&#39;s a pretty popular smart phone OS. Hmmm, wonder if the google Android can handle this?<br><br>Anyway, another non-hardware solution might be to use an internet SMS gateway (for 10 cents/msg in low volume),<br>to send/receive SMS also...<br>
<br>murf<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Steve Murphy<br>ParseTree Corp<br><br>