Ah, thank you for that! I had tried calling msg_apply_changes() after
using add_path(), but didn't realise that it's dependent on relay rather
than just adding it to the existing message lumps. However, to your
point, the documentation does say that the "outgoing" interface address
is populated by add_path*(), which of course means that has to be known.

Nevertheless, Path is not being replicated. Furthermore, after upgrading
to 5.1, I am not getting any replication of remote contacts whatsoever,
even with no path involvement. And "socket" is still not an attribute of
the DMQ messages being passed:

KDMQ sip:usrloc@100.2.160.20 SIP/2.0
Via: SIP/2.0/UDP 
100.2.128.20;branch=z9hG4bKc0ec.d07b9da1000000000000000000000000.0
To: <sip:usrloc@100.2.160.20>
From: <sip:usrloc@100.2.128.20:5060>;tag=68a630e496181361fe35a2f5a89714ad-02ab
CSeq: 10 KDMQ
Call-ID: 4cf0c5e5257bcb22-6408@100.2.99.211
Content-Length: 461
User-Agent: kamailio (5.1.1 (x86_64/linux))
Max-Forwards: 1
Content-Type: application/json

{"action":1,"aor":"marshal@org","ruid":"uloc-5a712c1a-1901-dae1","c":"sip:va-server@100.2.129.149:6060;ob","received":"sip:100.2.129.149:6060","path":"","callid":"R6m3zCogWsifTLebJ7n6zmlGHOwk1xA6","user_agent":"CallServer","instance":"","expires":1517473708,"cseq":5015,"flags":0,"cflags":0,"q":0,"last_modified":1517473678,"methods":8159,"reg_id":0,"server_id":0}


-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to