[asterisk-users] AEL2, BASE64_DECODE and hexadecimal

Philipp Kempgen philipp.kempgen at amooma.de
Tue Apr 7 12:32:05 CDT 2009


Olivier schrieb:
> 2009/4/7 Philipp Kempgen <philipp.kempgen at 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?


    Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list