[SR-Users] How to do replace_body_all with Kemi python version kamailio 5.0.x

Muhammad Zaka muhammad.zaka at cloudcall.com
Fri Sep 22 18:52:33 CEST 2017


Hi

We are experiencing issue with python script KSR. textops.replace_body_all using branch 5.0.2: -

Example Code:
KSR.textops.replace_body_all("a=sendonly", "a=sendrecv")

It looks like that the module textops and textopsx are not available. Using $rb or $msg(body) pseudo variables isn't working as they are readonly.

Is there any other way to replace the body?

Many Thanks

Regards

Muhammad Zaka


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170922/2a1b92cb/attachment.html>


More information about the sr-users mailing list