<br><br><div class="gmail_quote">2009/4/7 Mark Michelson <span dir="ltr"><<a href="mailto:mmichelson@digium.com">mmichelson@digium.com</a>></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">Philipp Kempgen wrote:<br>
> Olivier schrieb:<br>
>> 2009/4/7 Philipp Kempgen <<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>><br>
>>> Olivier schrieb:<br>
>>>> I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext in<br>
>>> an<br>
>>>> AEL2 file like this :<br>
>>>> SendText(${BASE64_DECODE(DQ==)});<br>
>>>><br>
>>>><br>
>>>> Value sent (8 bytes long) is very strange :<br>
>>>> Content-Type: text/plain;charset=UTF-8<br>
>>>> Content-Length: 8<br>
>>>><br>
>>>> �ez?==<br>
>>> I doubt you will find a way to properly pass CR or LF to an<br>
>>> application in extensions.(conf|ael) but keep us in the loop.<br>
><br>
>> It's strange how such a silly thing is somehow keeping me from centrally<br>
>> managing phones forwarding : I can display a phone is forwarded but I can't<br>
>> gracefully return to previous status ...<br>
><br>
> BTW (developer's question) is there a reason why SendText() resp.<br>
> sendtext_exec() refuses to send zero-length data?<br>
><br>
<br>
</div>I can't point to any specific reason. I assume that whoever wrote the<br>
application probably thought that attempting to send zero-length data was<br>
pointless and that if no data were passed to the application, it likely was due<br>
to an error by the user.</blockquote><div><br>The phone I'm working on (Thomson ST2030) would display in slow blinking, inversed letters (white on black) any text received in SIP MESSAGE.<br>Display duration is unlimited.<br>
To erase an old message, you must send a single carriage return (or maybe an empty string).<br><br>I'm wondering how many phones behave like this ?<br><br>Maybe, sendtext should then be refactored to accommodate this.<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>
<font color="#888888"><br>
Mark Michelson<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></div></div></blockquote></div><br>