[SR-Users] Setup dmq_usrloc

Gertjan Wolzak g.wolzak at kazlow.nl
Mon Dec 17 11:21:52 CET 2018

Hello Kamailions, 

Im trying to setup registration replication with the use of the dmq and dmq_usrlog modules. 

I have configured two servers, configured kamailio on both. 

When I register a sip client on the one I get a nice KDMQ message on the second server, but the second server reacts with a 404 not found: 

U 2018/12/17 05:08:38.974495 -> #3 
KDMQ sip:usrloc at SIP/2.0. 
Via: SIP/2.0/UDP;branch=z9hG4bK00ed.e1666b85000000000000000000000000.0. 
To: <sip:usrloc at>. 
From: <sip:usrloc at>;tag=a2652bb825a097f3b7285d4c70edd51a-0513. 
CSeq: 10 KDMQ. 
Call-ID: 35571d0247178282-3780 at 
Content-Length: 360. 
User-Agent: kamailio (5.1.6 (x86_64/linux)). 
Max-Forwards: 1. 
Content-Type: application/json. 
{"action":2,"aor":"test01 at","ruid":"uloc-5c177363-ec4-1","c":"sip:test01 at;ob","received":"","path":"","callid":"zjucvmzUT2hNJCIfqeUXEsOaEzyHCs-4","user_agent":"CSipSimple_G3121-26/r2457","instance":"","expires":1545041786,"cseq":24435,"flags":0,"cflags":0,"q":-1,"last_modified":1545040886,"methods":8159,"reg_id":0,"server_id":0} 

U 2018/12/17 05:08:38.979062 -> #4 
SIP/2.0 404 Not Found. 
Via: SIP/2.0/UDP;branch=z9hG4bK00ed.e1666b85000000000000000000000000.0;rport=6000. 
To: <sip:usrloc at>;tag=02f7a7b91eadf5e07797231cb2f64326-b794. 
From: <sip:usrloc at>;tag=a2652bb825a097f3b7285d4c70edd51a-0513. 
CSeq: 10 KDMQ. 
Call-ID: 35571d0247178282-3780 at 
Server: kamailio (5.1.6 (x86_64/linux)). 
Content-Length: 0. 

I think I have to configure a bit more than just the parameters of the dmq and dqm_usrloc modules. 
Ive googled, looked in the Sip routing with kamailio book, but no luck. 
Did not see any examples in the kamailio source, with regards to the dmq_usrloc module. 

I am not looking for direct answers, have not provided you with enough information for that, but I would appreciate information on how to correctly configure registration replication using the dmq/dmq_usrloc module... 

Thank you. 
With regards, 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181217/5f7f882b/attachment.html>

More information about the sr-users mailing list