[SR-Users] Remove all cpecial characters (\n,\t etc)from xml body
ovoshlook at gmail.com
Sat Oct 28 20:28:17 CEST 2017
Hi. I building external presentity service for web based phones
Main trouble that i have at the xml body of PUBLISH message \n \t
characters and because of it can't set body as string to the redis
So I trying to find a way to remove special characters form the xml body
for get oneline string instead of multiline
I use native .cfg file for now and, unfortunattely, can not use lua or
$var(RemoveThisStaff) = "\n" and "\t"
but it was unsuccesfull. Maybe someone will help to kno how to do it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users