<p>I see that you have it back ported to 5.1 and new release 5.1.8 was released. So I have it tested. But unfortunately it still not working properly.</p>
<p><a href="https://github.com/kamailio/kamailio/files/3068985/kamailio.log">kamailio.log</a><br>
<a href="https://github.com/kamailio/kamailio/files/3068988/lb-sip.zip">lb-sip.zip</a></p>
<p>It works perfect when I move this handler to kamailio.cfg like:<br>
event_route[topos:msg-outgoing] {<br>
if($sndto(ip)=~"^10.") {<br>
drop;<br>
}<br>
}</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1924#issuecomment-482127457">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZfBG0UA1AiyWA9vMH8aYfv-7Xk0eks5vf0CggaJpZM4chy1m">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZTJh9tDke6QcuKGVbP6IDNVytwLTks5vf0CggaJpZM4chy1m.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@kirill-usov in #1924: I see that you have it back ported to 5.1 and new release 5.1.8 was released. So I have it tested. But unfortunately it still not working properly.\r\n\r\n[kamailio.log](https://github.com/kamailio/kamailio/files/3068985/kamailio.log)\r\n[lb-sip.zip](https://github.com/kamailio/kamailio/files/3068988/lb-sip.zip)\r\n\r\nIt works perfect when I move this handler to kamailio.cfg like:\r\nevent_route[topos:msg-outgoing] {\r\n if($sndto(ip)=~\"^10\\.\") {\r\n drop;\r\n }\r\n}\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1924#issuecomment-482127457"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1924#issuecomment-482127457",
"url": "https://github.com/kamailio/kamailio/issues/1924#issuecomment-482127457",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>