[sr-dev] [kamailio/kamailio] registrar: added new parameter sock_addr (#2498)

Konstantin notifications at github.com
Tue Oct 6 13:48:01 CEST 2020


Hi Daniel!
I have question about useinfo structure.
When I store sock_addr in socket->useinfo.sock_str kamailio crashes.
Should I initialize other fields of the structure?
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.
Is that correct place to assign socket address?
May I keep it in socket->sock_str?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2498#issuecomment-704214588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201006/b06fa40d/attachment.htm>


More information about the sr-dev mailing list