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 10.10.0.1:6000 -> 10.10.0.2:6000 #3 
KDMQ sip:[email protected]:6000 SIP/2.0. 
Via: SIP/2.0/UDP 
10.10.0.1:6000;branch=z9hG4bK00ed.e1666b85000000000000000000000000.0. 
To: <sip:[email protected]:6000>. 
From: <sip:[email protected]:6000>;tag=a2652bb825a097f3b7285d4c70edd51a-0513. 
CSeq: 10 KDMQ. 
Call-ID: [email protected]. 
Content-Length: 360. 
User-Agent: kamailio (5.1.6 (x86_64/linux)). 
Max-Forwards: 1. 
Content-Type: application/json. 
. 
{"action":2,"aor":"[email protected]","ruid":"uloc-5c177363-ec4-1","c":"sip:[email protected]:59293;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 10.10.0.2:6000 -> 10.10.0.1:6000 #4 
SIP/2.0 404 Not Found. 
Via: SIP/2.0/UDP 
10.10.0.1:6000;branch=z9hG4bK00ed.e1666b85000000000000000000000000.0;rport=6000.
 
To: <sip:[email protected]:6000>;tag=02f7a7b91eadf5e07797231cb2f64326-b794. 
From: <sip:[email protected]:6000>;tag=a2652bb825a097f3b7285d4c70edd51a-0513. 
CSeq: 10 KDMQ. 
Call-ID: [email protected]. 
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, 

Gertjan 
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to