<p></p>
<p>Daniel, please code below</p>
<p>Is that you meant before?</p>
<pre><code> if (_m->rcv.bind_address->useinfo.sock_str.len > 0) {
            memset(&si, 0, sizeof(struct socket_info));
            si.sock_str = _m->rcv.bind_address->useinfo.sock_str;
            ci.sock = &si;
</code></pre>
<p>It works as we expected.</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/pull/2498#issuecomment-704284722">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNWLLPEWRX63L7QXOTSJMOPJANCNFSM4SE4ZIWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPT2UV2CLLBZ2KLFCTSJMOPJA5CNFSM4SE4ZIW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFH5IQMQ.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/pull/2498#issuecomment-704284722",
"url": "https://github.com/kamailio/kamailio/pull/2498#issuecomment-704284722",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>