<p>Trying to understand how I can reproduce it in order to troubleshoot ...</p>
<p>So, I have to use <code>KSR.pv.get("$sel(@hf_value.Via)")</code> inside <code>ksr_reply_route()</code> of a Python (app_python) script? The it crashes after a while of handling traffic (14-20 packets -- requests and replies, or only replies)?</p>
<p>At the first thought, should not be a KEMI export issue, but a <code>select</code> variable issue. From what is strictly related to KEMI code, either KSR.pv.get("$sel(via)") or KSR.pv.get("$sel(@hf_value.Via)") have the sam code, but then it ends up in executed code from textopsx module to get the $sel(@hf_value.Via), while I think the $sel(via) is implemented in the core. The <code>select</code> variables were implemented by SER developers when Kamailio was a separate project (during 2005-2008) and we got the code with the merge in 2008-2009. So, overall I am not that familiar with that code, but it has to be fixed, so being able to reproduce will help a lot.</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/1829#issuecomment-463194595">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZTu9VYLG_wdktYqLjRVfUDh8jziCks5vNA_DgaJpZM4ad6f0">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZbTyf-LIEU9osT3Ok9Hgv4wj127rks5vNA_DgaJpZM4ad6f0.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":"@miconda in #1829: Trying to understand how I can reproduce it in order to troubleshoot ...\r\n\r\nSo, I have to use `KSR.pv.get(\"$sel(@hf_value.Via)\")` inside `ksr_reply_route()` of a Python (app_python) script? The it crashes after a while of handling traffic (14-20 packets -- requests and replies, or only replies)?\r\n\r\nAt the first thought, should not be a KEMI export issue, but a `select` variable issue. From what is strictly related to KEMI code, either KSR.pv.get(\"$sel(via)\") or KSR.pv.get(\"$sel(@hf_value.Via)\") have the sam code, but then it ends up in executed code from textopsx module to get the $sel(@hf_value.Via), while I think the $sel(via) is implemented in the core. The `select` variables were implemented by SER developers when Kamailio was a separate project (during 2005-2008) and we got the code with the merge in 2008-2009. So, overall I am not that familiar with that code, but it has to be fixed, so being able to reproduce will help a lot."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1829#issuecomment-463194595"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1829#issuecomment-463194595",
"url": "https://github.com/kamailio/kamailio/issues/1829#issuecomment-463194595",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>