[asterisk-users] How to escape characters in Dialplan

Peter peter.johansson at omnitor.se
Sun Jan 17 06:39:34 CST 2010


Somewhere \n needs to be converted into utf8 new line. Asterisk should  
do this for you but it doesnt.

Try opening the dialplan in hex mode and insert hex code for utf8 new  
line where the line break should be.

Peter


On 17 jan 2010, at 12.09, Dominik wrote:

>
> Hello,
> I'm using Asterisk 1.6.2.0 and I like to use escape characters with  
> SendText,
> because I can just delete the message from my phone (Thomson  
> Speedtouch
> ST2030) display by sending a return-char (\n).
> But \n is not escaped: I tried already:
>
> exten => 222, n, SendText(\n)
> exten => 222, n, SendText("\n")
> exten => 222, n, SendText('\n')
> exten => 222, n, SendText(`\n`)
>
>
> So how can I use escape characters in dialplan?
>
>
> TIA,
> Dominik
>
>
>
>
> -- 
> _____________________________________________________________________
> -- 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




More information about the asterisk-users mailing list