[sr-dev] [kamailio/kamailio] is_first_hop() not processing FQDN in RR header in a case of reply (#2732)

Daniel-Constantin Mierla notifications at github.com
Mon May 10 12:54:19 CEST 2021


For replies, the function `is_first_hop()` is a best effort attempt to figure out if the proxy is the node next to the callee and cannot detect spirals. See the readme explaining what it does for a reply.

The parsing of the IP in the record route header is needed to match the source IP and detect loops, this is by design and needed for the expected behaviour.

A new function (or parameter) can be added to control if one needs to detect loops or not, based on how its SIP routing is designed through the proxy.

-- 
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/issues/2732#issuecomment-836548588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210510/655c0fa9/attachment.htm>


More information about the sr-dev mailing list