<br><br><div class="gmail_quote">2009/4/8 Tilghman Lesher <span dir="ltr">&lt;<a href="mailto:tilghman@mail.jeffandtilghman.com">tilghman@mail.jeffandtilghman.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tuesday 07 April 2009 23:38:08 Olivier wrote:<br>
&gt; 2009/4/7 Mark Michelson &lt;<a href="mailto:mmichelson@digium.com">mmichelson@digium.com</a>&gt;<br>
&gt;<br>
&gt; &gt; Philipp Kempgen wrote:<br>
</div><div class="im">&gt; &gt; &gt; BTW (developer&#39;s question) is there a reason why SendText() resp.<br>
&gt; &gt; &gt; sendtext_exec() refuses to send zero-length data?<br>
&gt; &gt;<br>
&gt; &gt; I can&#39;t point to any specific reason. I assume that whoever wrote the<br>
&gt; &gt; application probably thought that attempting to send zero-length data was<br>
&gt; &gt; pointless and that if no data were passed to the application, it likely<br>
&gt; &gt; was due<br>
&gt; &gt; to an error by the user.<br>
&gt;<br>
&gt; The phone I&#39;m working on (Thomson ST2030) would display in slow blinking,<br>
&gt; inversed letters (white on black) any text received in SIP MESSAGE.<br>
&gt; Display duration is unlimited.<br>
&gt; To erase an old message, you must send a single carriage return (or maybe<br>
&gt; an empty string).<br>
&gt;<br>
&gt; I&#39;m wondering how many phones behave like this ?<br>
&gt;<br>
&gt; Maybe, sendtext should then be refactored to accommodate this.<br>
<br>
</div>What does the phone do when you send a single space?</blockquote><div> </div><div>It would display it as a black rectangle : as unfortunately, this phone displays text in inversed color (white letters on black background), a single space remains visible.<br>
<br>It seems I really need to send a carriage return ($0D in hexa) but I couldn&#39;t find a way to pass such string using SendText.<br><br>As suggested earlier, maybe an empty SIP MESSAGE would do the trick but as SendText rejects empty strings, I&#39;ve not tested it yet. For that, maybe I could try to build my own custom SIP MESSAGE, faking a true SIP MESSAGE to double check if an empty string would be acceptable solution ?<br>
<br>(Note, that sending a carriage return must work as vendor handed to me a Wireshark capture for a &quot;working SIP MESSAGE&quot;)<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;">
<br>
<br>
--<br>
<font color="#888888">Tilghman<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>