<div dir="ltr">Hi Alex,<div><br></div><div>Just to confirm, do you have use_path set?</div><div><br></div>modparam("registrar", "use_path", 1)<div><br></div><div>For your setup I'd also recommend setting:</div><div><br></div><div>modparam("registrar", "path_mode", 0)<br></div><div>modparam("registrar", "path_use_received", 1)<br></div><div>modparam("registrar", "path_check_local", 1)<br></div><div><br></div><div>Cheers,</div><div><br></div><div>Charles</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 February 2018 at 18:47, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Charles,<br>
<br>
ul.dump reflects that Path is not being applied to the local contact, so<br>
it should come as no surprise that it's not being replicated either.<br>
<br>
I added this:<br>
<br>
append_hf("Path: <sip:$Ri:$Rp;lr>\r\n");<br>
msg_apply_changes();<br>
<br>
if(!save("location")) {<br>
...<br>
}<br>
<br>
...<br>
<br>
-- Alex<br>
<div><div class="h5"><br>
On Thu, Feb 01, 2018 at 08:44:38AM +0000, Charles Chance wrote:<br>
<br>
> Hi Alex,<br>
><br>
> Socket is never replicated but path definitely should be.<br>
><br>
> Without DMQ involved and simply saving locally (with path header added<br>
> first) can you show me the output of ul.dump?<br>
><br>
> Cheers,<br>
><br>
> Charles<br>
><br>
> On Thu, 1 Feb 2018 at 08:31, Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>><br>
> wrote:<br>
><br>
> > Ah, thank you for that! I had tried calling msg_apply_changes() after<br>
> > using add_path(), but didn't realise that it's dependent on relay rather<br>
> > than just adding it to the existing message lumps. However, to your<br>
> > point, the documentation does say that the "outgoing" interface address<br>
> > is populated by add_path*(), which of course means that has to be known.<br>
> ><br>
> > Nevertheless, Path is not being replicated. Furthermore, after upgrading<br>
> > to 5.1, I am not getting any replication of remote contacts whatsoever,<br>
> > even with no path involvement. And "socket" is still not an attribute of<br>
> > the DMQ messages being passed:<br>
> ><br>
> > KDMQ <a href="mailto:sip%3Ausrloc@100.2.160.20">sip:usrloc@100.2.160.20</a> SIP/2.0<br>
> > Via: SIP/2.0/UDP<br>
> > 100.2.128.20;branch=<wbr>z9hG4bKc0ec.<wbr>d07b9da10000000000000000000000<wbr>00.0<br>
> > To: <<a href="mailto:sip%3Ausrloc@100.2.160.20">sip:usrloc@100.2.160.20</a>><br>
> > From: <<a href="http://sip:usrloc@100.2.128.20:5060" rel="noreferrer" target="_blank">sip:usrloc@100.2.128.20:5060</a><br>
> > >;tag=<wbr>68a630e496181361fe35a2f5a89714<wbr>ad-02ab<br>
> > CSeq: 10 KDMQ<br>
> > Call-ID: <a href="mailto:4cf0c5e5257bcb22-6408@100.2.99.211">4cf0c5e5257bcb22-6408@100.2.<wbr>99.211</a><br>
> > Content-Length: 461<br>
> > User-Agent: kamailio (5.1.1 (x86_64/linux))<br>
> > Max-Forwards: 1<br>
> > Content-Type: application/json<br>
> ><br>
> > {"action":1,"aor":"marshal@org<br>
> > ","ruid":"uloc-5a712c1a-1901-<wbr>dae1","c":"<a href="http://sip:va-server@100.2.129.149:6060" rel="noreferrer" target="_blank">sip:va-server@100.<wbr>2.129.149:6060</a><br>
> > ;ob","received":"sip:<a href="http://100.2.129.149:6060" rel="noreferrer" target="_blank">100.2.<wbr>129.149:6060</a><br>
> > ","path":"","callid":"<wbr>R6m3zCogWsifTLebJ7n6zmlGHOwk1x<wbr>A6","user_agent":"CallServer",<wbr>"instance":"","expires":<wbr>1517473708,"cseq":5015,"flags"<wbr>:0,"cflags":0,"q":0,"last_<wbr>modified":1517473678,"methods"<wbr>:8159,"reg_id":0,"server_id":<wbr>0}<br>
> ><br>
> ><br>
> > -- Alex<br>
> ><br>
> > --<br>
> > Alex Balashov | Principal | Evariste Systems LLC<br>
> ><br>
> > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>
> > Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > Kamailio (SER) - Users Mailing List<br>
> > <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> > <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
> ><br>
> --<br>
</div></div>> *Charles Chance*<br>
<span class="im HOEnZb">> Managing Director<br>
><br>
> t. 0330 120 1200 m. 07932 063 891<br>
><br>
</span><span class="im HOEnZb">> --<br>
> Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered<br>
> office: Faraday Wharf, Innovation Birmingham Campus, Holt Street,<br>
> Birmingham Science Park, Birmingham B7 4BB.<br>
<br>
</span><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
<br>
--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</div></div></blockquote></div><br>
</div></div>
<br>
<div><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Sipcentric Ltd.
Company registered in England & Wales no. 7365592.</font><span style="font-size:10pt;font-family:Helvetica,Arial,sans-serif"> </span><font color="gray" style="font-size:10pt;font-family:Helvetica,Arial,sans-serif">Registered
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham Science Park, Birmingham B7 4BB.</font></div>