[SR-Users] 2 kamailio servers sharing one database and one dns name

David Thomson jdavidthomson at hotmail.com
Wed Mar 20 04:33:42 CET 2013


Thanks for the idea. 

After sending the original email I got user2 to call through to user1. Zrtp even was negotiated. So I think usrloc is sort of sharing the registration information but sometimes the call doesn't get sent through under certain circumstances. 

Maybe it's because user1 is behind a nat and rtpproxy is being used to keep its connection alive while user2 is not nat'd.

I think it is almost working. 
-----Original Message-----
From: David | StyleFlare <david at styleflare.com>
Date: Wed, 20 Mar 2013 03:27:06 
To: <sr-users at lists.sip-router.org>
Subject: Re: [SR-Users] 2 kamailio servers sharing one database and one dns
 name


I dont think it works like that, obviously the server 1 does not have a connection if the user is registered on server 2.
 
 On 3/19/13 11:05 PM, David Thomson wrote:
 
 
hi, 

 
I have two kamailio 3.3.4 servers sharing one database.  usrloc module is loaded on both machines.  The DNS name for the machines is shared (i.e siptest.testdomain.com with 2 public ip's - one for Server1 and one for Server2) and setup in round robin mode. 

 
The scenario is as follows: 
User 1 registers to Server1 
User 2 registers to Server2 

 
User1 tries to call User2 but Server1 throws an error and the call doesn't ever connect to User2: 

 
 WARNING: usrloc [udomain.c:321]: non-local socket &lt;udp:xxx.xxx.xxx.xxx:5060&gt; <udp:xxx.xxx.xxx.xxx:5060> ...ignoring.   

 

 
Any ideas? 

 
ttyl, 
Dave 
 
 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list