It does nothing on hardware channels.<br>SendText is just works on SIP channels.<br>Purpose of SendText is showing text messages on user phone screen.<br><br>show application SendText<br><br> -= Info about application 'SendText' =-<br>
<br>[Synopsis]<br>Send a Text Message<br><br>[Description]<br> SendText(text[|options]): Sends text to current channel (callee).<br>Result of transmission will be stored in the SENDTEXTSTATUS<br>channel variable:<br> SUCCESS Transmission succeeded<br>
FAILURE Transmission failed<br> UNSUPPORTED Text transmission not supported by channel<br><br>At this moment, text is supposed to be 7 bit ASCII in most channels.<br>The option string many contain the following character:<br>
'j' -- jump to n+101 priority if the channel doesn't support<br> text transport<br><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 4:50 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></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;">What does Sendtext() actually do? Does it send a SIP request of<br>
method MESSAGE? What does it do on a hardware channel - say, analog<br>
or TDM?<br>
<div><div></div><div class="h5"><br>
Michelle Dupuis wrote:<br>
<br>
> That may not work for all sip phones. Some (like xlite/eyebeam) crash<br>
> when receiving a text, others drop the subsequent call (Aastra 5x).<br>
> These observations are based on a project we did in late 2008; so be<br>
> sure to do a proof of concept before you get too deep into the project.<br>
><br>
> ------------------------------------------------------------------------<br>
> *From:* <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] *On Behalf Of *Danny<br>
> Nicholas<br>
> *Sent:* Monday, November 09, 2009 9:12 AM<br>
> *To:* Asterisk Users List<br>
> *Subject:* Re: [asterisk-users] Text messaging<br>
><br>
> Sendtext() works for SIP endpoints<br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> *From:* <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] *On Behalf Of *Thomas<br>
> Perron<br>
> *Sent:* Saturday, November 07, 2009 9:39 PM<br>
> *To:* <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
> *Subject:* [asterisk-users] Text messaging<br>
><br>
><br>
><br>
> IVR question:<br>
><br>
> Users dial my DID numbers and get connected to macros and other vectors<br>
> that guide them<br>
> to the appropriate context. Once connected to a specific context I<br>
> would like to send a text message<br>
> to their phone. Do I need a PERL script or is there something native in<br>
> Asterisk 1.6 that can trigger a text to the endpoint?<br>
><br>
> Thank you<br>
><br>
> [default]<br>
> ;include => stdexten<br>
> include => big10-IVR<br>
> include => cleveland-IVR<br>
> exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1)<br>
> exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1)<br>
><br>
><br>
> [big10-IVR]<br>
> exten => s,1,Answer()<br>
> exten => s,n,Background(dir-welcome)<br>
> ;exten => s,n,WaitExten(1)<br>
> ;exten => s,n,Background(astcc-please-enter-your)<br>
> ;exten => s,n,Background(zip-code)<br>
> ;exten => s,n,Wait(7)<br>
> exten => s,n,Background(washington-dc)<br>
> ;exten => s,n,Authenticate(2222,a)<br>
> ;exten => s,n,Background(pin-number-accepted)<br>
> exten => s,n,Playback(queue-thankyou)<br>
> exten => s,n,Background(ginger110109)<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><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>
<br>
<br>
--<br>
Alex Balashov - Principal<br>
Evariste Systems<br>
Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
<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>
</blockquote></div><br>