Displaying 1 result from an estimated 1 matches for "2a2ad34d".
2014 Jul 02
1
quoting arguments to System command in dialplan
I'm trying to invoke a program to send a received
fax. I'd like to *safely* pass the value 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 "