<p></p>
<p dir="auto">When <strong>trace_mode</strong> is set to 1, then <strong>send_sock_name</strong> is not used (it uses the unexpected socket listen socket).</p>
<p dir="auto">However, when <strong>trace_mode</strong> is set to 4, then <strong>send_sock_name</strong> works correctly.</p>
<p dir="auto">Also, in both cases, <strong>send_sock_addr</strong> works correctly.</p>
<pre class="notranslate"><code class="notranslate">listen=udp:SIP_IPADDRESS:SIP_PORT
listen=udp:SIPCAPTURE_IPADDRESS:SIP_PORT name "siptrace_socket"
modparam("siptrace", "duplicate_uri", "sip:10.218.31.205:9060")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "hep_version", 3)
modparam("siptrace", "hep_capture_id", 110)
modparam("siptrace", "send_sock_name", "siptrace_socket")
modparam("siptrace", "trace_on", 1)
modparam("siptrace", "trace_mode", 1)
modparam("siptrace", "trace_to_database", 0)
</code></pre>
<p dir="auto">This is tested on Kamailio 5.5.1 and 5.5.3.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3174">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJOKDEQZIAVLXHCK4TVR33I5ANCNFSM52M277VA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZIMNEE724IJQ4WGLWDVR33I5A5CNFSM52M277VKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TH2BKBA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3174</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3174",
"url": "https://github.com/kamailio/kamailio/issues/3174",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>