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!