|Summary:||ASTERISK-10488: No function for escaping shell characters|
|Date Opened:||2007-10-10 11:09:56||Date Closed:||2011-06-07 14:02:57|
|Description:||The problem is that you cannot use few variables as file name when Monitor() is being used because some characters are not escaped.|
That will work fine until CHANNEL is sip channel and it's name contains "/" character.
It will be considered as directory path separator and saving to such file will fail.
There is a need for QUOTE_SHELL() function that will escape all special shell characters.
|Comments:||By: snuffy (snuffy) 2007-10-11 07:08:40|
You must provide a patch for a feature request.
Why not just use the 'CUT()' function to remove the '/' ?
By: Tilghman Lesher (tilghman) 2007-10-12 01:32:14
Or the FILTER() function, for that matter.
By: Russell Bryant (russell) 2007-10-13 12:41:39
I'm closing this out as a feature request.