[sr-dev] [kamailio/kamailio] nathelper: test sdp c line and sip source ip address is matched. (#2045)

Daniel-Constantin Mierla notifications at github.com
Mon Aug 26 11:49:20 CEST 2019


Have you tested that session->ip_addr.len>0? Can you print the str value for session->ip_addr and see if it is a valid IP?

Then it would be better to use str2ipx(), because it tries internally both ipv4/6.

-- 
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/2045#issuecomment-524797556
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190826/b2b164f1/attachment.html>


More information about the sr-dev mailing list