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