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 phyton

I tried 

$var(body)=$(rb{s.rm,$var(RemoveThisStaff)}) where 
$var(RemoveThisStaff) = "\n" and "\t"

but it was unsuccesfull. Maybe someone will help to kno how to do it.