<p></p>
<p>To reproduce, i installed a new Kamailio 5.3.5 from <a href="http://deb.kamailio.org/kamailio53" rel="nofollow">http://deb.kamailio.org/kamailio53</a> on a fresh debian 10 vm and only added:</p>
<pre><code>--- kamailio.cfg 2020-06-22 14:21:22.000000000 +0200
+++ /home/kris/kamailio.cfg 2020-07-01 13:07:15.476661500 +0200
@@ -19,7 +19,7 @@
# Several features can be enabled using '#!define WITH_FEATURE' directives:
#
# *** To run in debug mode:
-# - define WITH_DEBUG
+#!define WITH_DEBUG
#
# *** To enable mysql:
# - define WITH_MYSQL
@@ -248,6 +248,7 @@
loadmodule "cfg_rpc.so"
loadmodule "acc.so"
loadmodule "counters.so"
+loadmodule "tcpops.so"
#!ifdef WITH_AUTH
loadmodule "auth.so"
@@ -699,6 +700,11 @@
setflag(FLT_ACCMISSED);
}
+ xlog("L_INFO", "Contact found for user:$rU at $rd:$rp \n");
+ if(tcp_get_conid("$rd:$rp", "$var(conid)")) {
+ xlog("L_INFO", "connection id is: $var(conid)\n");
+ }
+
route(RELAY);
exit;
}
root@
</code></pre>
<p>And $var(conid) is empty.</p>
<p>debug 3 lof file:<br>
<a href="https://github.com/kamailio/kamailio/files/4857454/debug3-log.txt">debug3-log.txt</a></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/2382#issuecomment-652357676">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZO7Y3SYQQKEI6Y5EGLRZMLIBANCNFSM4OMJVS2Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZO7SCI3RFMUSSOXU4LRZMLIBA5CNFSM4OMJVS22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE3RDALA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2382#issuecomment-652357676",
"url": "https://github.com/kamailio/kamailio/issues/2382#issuecomment-652357676",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>