<p></p>
<p>Hi Daniel!<br>
I have question about useinfo structure.<br>
When I store sock_addr in socket->useinfo.sock_str kamailio crashes.<br>
Should I initialize other fields of the structure?<br>
The comment against useinfo tells that it is for "details to be used in SIP msg". Actually we do not want to use this address in SIP messages.<br>
Is that correct place to assign socket address?<br>
May I keep it in socket->sock_str?</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-704214588">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZO2ZYR7AAULWTBYGRTSJL7XDANCNFSM4SE4ZIWQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNYV5YDQ243HNRORPDSJL7XDA5CNFSM4SE4ZIW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFH4XMPA.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-704214588",
"url": "https://github.com/kamailio/kamailio/pull/2498#issuecomment-704214588",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>