[SR-Users] How to do msg_apply_changes with Kemi python version 5.0.x
Muhammad Zaka
muhammad.zaka at cloudcall.com
Fri Sep 22 16:45:03 CEST 2017
Hi
We are experiencing issue with python script KSR. textopsx.msg_apply_changes using branch 5.0.2: -
Example Code:
KSR.textopsx.msg_apply_changes()
Error:
Sep 22 15:25:19 sbc99-kam-dev /usr/sbin/kamailio[23141]: PYT {INVITE}: ERROR: app_python [python_support.c:142]: python_handle_exception(): python_exec2: Unhandled exception in the Python code:#012Traceback (most recent call last):#012 File "/etc/kamailio/kamailio-kemi-python.py", line 64, in ksr_request_route#012 if self.ksr_route_reqinit(msg)==-255 :#012 File "/etc/kamailio/kamailio-kemi-python.py", line 173, in ksr_route_reqinit#012 KSR.textopsx.msg_apply_changes()#012AttributeError: 'module' object has no attribute 'textopsx'
Is anybody have any idea how to workaround and apply message changes in python?
Many Thanks
Regards
Muhammad Zaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170922/72040009/attachment.html>
More information about the sr-users
mailing list