Displaying 1 result from an estimated 1 matches for "888nnnnnnn".
2014 Jul 02
1
quoting arguments to System command in dialplan
...of ${CALLERID(all)} as an
argument to the program, executed by System(...). The problem is that
the callerid can have quotes or other dangerous characters as far as
the shell is concerned.
For example, the test-fax service that I'm using sets the callerid to
"UNAVAILABLE " <888NNNNNNN>
(I forget the actual N digits, that's unimportant). What's important
is the quotation marks.
I haven't been able to figure out a way using the QUOTE function to
accomplish what I want. I either get too few or too many quotes, both
resulting in multiple arguments being passed to m...