Philipp Kempgen wrote:
> Olivier schrieb:
>> 2009/4/7 Philipp Kempgen <philipp.kemp...@amooma.de>
>>> Olivier schrieb:
>>>> I'm trying to pass a single carriage return (0x0d in hexa) to Sendtext in
>>> an
>>>> AEL2 file like this :
>>>> SendText(${BASE64_DECODE(DQ==)});
>>>>
>>>>
>>>> Value sent (8 bytes long) is very strange :
>>>> Content-Type: text/plain;charset=UTF-8
>>>> Content-Length: 8
>>>>
>>>> �ez?==
>>> I doubt you will find a way to properly pass CR or LF to an
>>> application in extensions.(conf|ael) but keep us in the loop.
> 
>> It's strange how such a silly thing is somehow keeping me from centrally
>> managing phones forwarding : I can display a phone is forwarded but I can't
>> gracefully return to previous status ...
> 
> BTW (developer's question) is there a reason why SendText() resp.
> sendtext_exec() refuses to send zero-length data?
> 

I can't point to any specific reason. I assume that whoever wrote the 
application probably thought that attempting to send zero-length data was 
pointless and that if no data were passed to the application, it likely was due 
to an error by the user.

Mark Michelson

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to