<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm using Kamailio 5.5.3 with a KEMI / Python based configuration on Debian 11.<br><br></div>In my reply route I am trying to convert a 183 to a 180 with: <span style="font-family:monospace">KSR.textopsx.change_reply_status(180, "Ringing")</span><br><br></div>I've noticed with TOPOS enabled, it doesn't work and I still see a 183 go out. But with it disabled, it works as expected and it's converted to a 180. I get the same behaviour with / without <span style="font-family:monospace">msg_apply_changes()</span><br><br></div>Config looks like this:<br><span style="font-family:monospace"><br>    def ksr_onreply_manage(self, msg):<br><br>        KSR.info(f"ksr_onreply_manage\r\n")<br><br>        scode = KSR.pv.get("$rs")<br><br>        if KSR.permissions.allow_source_address_group()<0:<br>            if scode == 183:<br>               KSR.info(f"ksr_onreply_manage: Converting 183 to 180\r\n")<br>               KSR.textopsx.change_reply_status(180, "Ringing")<br>               KSR.textopsx.msg_apply_changes()<br><br>        if scode>100 and scode<299 :<br>            self.ksr_route_natmanage(msg)<br><br></span><div><span style="font-family:monospace">        return 1</span></div><div><span style="font-family:monospace"><br></span></div><div><font size="2"><span style="font-family:arial,sans-serif">The debug log doesn't reveal anything too obvious, I can share if its of any use.</span></font><font size="2"><span style="font-family:arial,sans-serif"><br><br></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif">Does anyone have any suggestions?<br><br></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif">Thanks</span></font></div><div><span style="font-family:monospace"><font size="2"><span style="font-family:arial,sans-serif">Matthew</span></font><br></span></div></div>