[SR-Users] PATH when used with multiple listening ports

Sergiu Pojoga pojogas at gmail.com
Thu Oct 4 04:21:03 CEST 2018


Hi again,

When acting as an intermediary proxy for a non-colocated Registrar, the
REGISTER request coming in on one port and going out on another, shouldn't
the *add_path[received]()* generate *two* nodes in the Path header?
Otherwise, how are the subsequent requests supposed to be routed back to
the UAC?

Scenario with Kamailio proxy on IP 1.1.1.1 with dual port listeners
UAC => proxy:5070 <=> proxy:5060 => Registrar:5060

Path: <sip:1.1.1.1;lr;received=sip:123.123.123.123:59593>

I would expect it to be something like:
Path: <sip:1.1.1.1;lr>,<sip:1.1.1.1:5070;lr;received=sip:
123.123.123.123:59593>

modparam("rr", "enable_double_rr", 1)
modparam("path", "use_received", 1)

Merci!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181003/3586ffa1/attachment.html>


More information about the sr-users mailing list