<div dir="ltr"><div>Hi guys.</div><div><br></div><div>I'm setting up an anycast scenario with several kamailios sharing an active state and I've noticed that the dmq_usrloc module is not replication the usrloc socket_info attribute when a register comes in through one of the kamailio nodes. Is there a reason behind this?</div><div><br></div><div>I'm thinking on adding the replication for that attribute in the code. Another way of address this woud be by having a modparam to replicate the socket.</div><div>What do you think?</div><div><br></div><div>This is what I'm seeing:</div><div><br></div><div><b>anycast node that actually gets the SIP REGISTER:</b></div><div><br></div><div>$ kamcmd ul.dump<br>{<br>        Domains: {<br>                Domain: {<br>                        Domain: location<br>                        Size: 32768<br>                        AoRs: {<br>                                Info: {<br>                                        AoR: 309@nmreis.test<br>                                        HashID: -35263718<br>                                        Contacts: {<br>                                                Contact: {<br>                                                        Address: sip:309@192.168.150.158:55060;transport=udp;registering_acc=nmreis_test<br>                                                        Expires: 585<br>                                                        Q: -1.000000<br>                                                        Call-ID: 6e7635ce4604e16400ee763b2ead55b2@0:0:0:0:0:0:0:0<br>                                                        CSeq: 4<br>                                                        User-Agent: Jitsi2.11.5602Linux<br>                                                        Received: sip:<a href="http://2.2.2.2:31171">2.2.2.2:31171</a><br>                                                        Path: [not set]<br>                                                        State: CS_SYNC<br>                                                        Flags: 1<br>                                                        CFlags: 192<br><span style="background-color:rgb(255,0,0)">                                                        Socket: udp:<a href="http://1.1.1.1:5060">1.1.1.1:5060</a></span><br>                                                        Methods: -1<br>                                                        Ruid: uloc-5de8056d-22ab-f<br>                                                        Instance: [not set]<br>                                                        Reg-Id: 0<br>                                                        Server-Id: 0<br>                                                        Tcpconn-Id: -1<br>                                                        Keepalive: 1<br>                                                        Last-Keepalive: 1575487540<br>                                                        Last-Modified: 1575487540<br>                                                }<br>                                        }<br>                                }<br>                        }<br>                        Stats: {<br>                                Records: 1<br>                                Max-Slots: 1<br>                        }<br>                }<br>        }<br>}</div><div><br></div><div><b>anycast node that gets the USRLOC update via KDMQ:</b></div><div><br></div><div>$ kamcmd ul.dump<br>{<br>        Domains: {<br>                Domain: {<br>                        Domain: location<br>                        Size: 32768<br>                        AoRs: {<br>                                Info: {<br>                                        AoR: 309@nmreis.test<br>                                        HashID: -35263718<br>                                        Contacts: {<br>                                                Contact: {<br>                                                        Address: sip:309@192.168.150.158:55060;transport=udp;registering_acc=nmreis_test<br>                                                        Expires: 574<br>                                                        Q: -1.000000<br>                                                        Call-ID: 6e7635ce4604e16400ee763b2ead55b2@0:0:0:0:0:0:0:0<br>                                                        CSeq: 4<br>                                                        User-Agent: Jitsi2.11.5602Linux<br>                                                        Received: sip:<a href="http://2.2.2.2:31171">2.2.2.2:31171</a><br>                                                        Path: [not set]<br>                                                        State: CS_SYNC<br>                                                        Flags: 1<br>                                                        CFlags: 192<br><span style="background-color:rgb(255,0,0)">                                                        Socket: [not set]</span><br>                                                        Methods: -1<br>                                                        Ruid: uloc-5de7ff7b-4617-3<br>                                                        Instance: [not set]<br>                                                        Reg-Id: 0<br>                                                        Server-Id: 0<br>                                                        Tcpconn-Id: -1<br>                                                        Keepalive: 1<br>                                                        Last-Keepalive: 1575487540<br>                                                        Last-Modified: 1575487540<br>                                                }<br>                                        }<br>                                }<br>                        }<br>                        Stats: {<br>                                Records: 1<br>                                Max-Slots: 1<br>                        }<br>                }<br>        }<br>}</div><div><br></div><div><b>the actual KDMQ message:</b></div><div><b><br></b></div><div><b><font size="-2"><font color="red"><b>KDMQ</b></font> <a href="http://sip:usrloc@10.100.100.21:5060">sip:usrloc@10.100.100.21:5060</a> SIP/2.0
<br>Via: SIP/2.0/UDP 10.100.100.22;branch=<font color="green"><b>z9hG4bK6034.290e4186000000000000000000000000.0</b></font>
<br>To: <<a href="http://sip:usrloc@10.100.100.21:5060">sip:usrloc@10.100.100.21:5060</a>>
<br>From: <<a href="http://sip:usrloc@10.100.100.22:5060">sip:usrloc@10.100.100.22:5060</a>>;tag=<font color="red"><b>3393f0703fb0ccaca74109ff37de39f5-1e4c092b</b></font>
<br>CSeq: 10 <font color="red"><b>KDMQ</b></font>
<br>Call-ID: <font color="blue"><b><a href="mailto:0cfde4d32a31addc-8875@127.0.0.1">0cfde4d32a31addc-8875@127.0.0.1</a></b></font>
<br>Content-Length: 433
<br>Max-Forwards: 1
<br>Content-Type: application/json
<br>
<br>{"action":1,"aor":"309@nmreis.test","ruid":"uloc-5de8056d-22ab-f","c":"sip:309@192.168.150.158:55060;transport=udp;registering_acc=nmreis_test","received":"sip:<a href="http://2.2.2.2:31171">2.2.2.2:31171</a>","path":"","callid":"6e7635ce4604e16400ee763b2ead55b2@0:0:0:0:0:0:0:0","user_agent":"Jitsi2.11.5602Linux","instance":"","expires":1575487600,"cseq":2,"flags":1,"cflags":192,"q":-1,"last_modified":1575487000,"methods":4294967295,"reg_id":0,"server_id":0}</font></b></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--<br>Nuno Miguel Reis<br>Departamento de Engenharia Informática  <br>Faculdade de
    Ciências e Tecnologia  <br>Universidade de Coimbra<br>mobile: +351 918519145<br>--<br>get my PGP key @<a href="http://pgp.dei.uc.pt:11371/pks/lookup?op=get&search=0x750296EECEAD2B6D" target="_blank">http://pgp.dei.uc.pt:11371/pks/lookup?op=get&search=0x750296EECEAD2B6D</a></div></div></div></div>