[asterisk-users] How to escape characters in Dialplan

Dominik d0m1n1k at geekmail.de
Sun Jan 17 05:09:50 CST 2010


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






More information about the asterisk-users mailing list