Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-05 Thread Infinicalls Infinicalls
Hi, This problem looked strange, as even with the local IP, it throws the same error. listen=udp:PRIVATEIP:5060 advertise PUBLICIP:5060 also throws the same error, as before. I am not sure what is wrong. But by searching some posts here, I was advised to comment out the line. And it worked. Kama

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-05 Thread Daniel Tryba
On Wed, Oct 05, 2016 at 11:40:49AM +0530, Infinicalls Infinicalls wrote: > Oct 5 06:05:03 infinicalls-proxy1 /usr/local/sbin/kamailio[4840]: > ERROR: dispatcher [dispatcher.c:788]: ds_warn_fixup(): failover > functions used, but required AVP parameters are NULL -- feature > disabled In an other m

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-04 Thread Infinicalls Infinicalls
Hi Daniel, Thanks very much. But I still couldn't get the system working. I get the following errors : Oct 5 06:05:03 infinicalls-proxy1 /usr/local/sbin/kamailio[4840]: ERROR: dispatcher [dispatcher.c:788]: ds_warn_fixup(): failover functions used, but required AVP parameters are NULL -- feature

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-10-03 Thread Daniel Tryba
On Fri, Sep 30, 2016 at 10:29:16PM +0530, Infinicalls Infinicalls wrote: > Hi Daniel, > This seems to be ideal setup for my requirement. Would you mind > sharing the kamailio.cfg file with me (with all the important data > masked) ? Not much important stuff to censor. LBIPADDR is the ipadress of

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-30 Thread Daniel Tryba
On Fri, Sep 30, 2016 at 09:08:50AM +0530, Infinicalls Infinicalls wrote: > Edge proxies is a nice suggestion. Thanks. > > Can I implement, as suggested here, > https://blog.voipxswitch.com/2015/03/27/kamailio-basic-sip-proxy-all-requests-setup/ > to setup a proxy and direct requests to the registr

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-29 Thread Infinicalls Infinicalls
Hi, > You might want to take a look at you solution though. > For example you might want to introduce edge proxies, clients connect > with those directly, but they forward the requests to a (specific or > loadbalanced) registrar (essentially the machines you have up and > running now). These proxi

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-29 Thread Daniel Tryba
On Thu, Sep 29, 2016 at 01:53:14PM +0530, Infinicalls Infinicalls wrote: > > You can either figure out which host was used to register by looking at > > the socket value in the location table (using sqlops/avp_db_query) and > > send the INVITE to the other host if socket doesn't contain a local > >

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-29 Thread Infinicalls Infinicalls
Hi, > You can either figure out which host was used to register by looking at > the socket value in the location table (using sqlops/avp_db_query) and > send the INVITE to the other host if socket doesn't contain a local > ipadress (by simply setting $rd to the other host and setting $du to > null

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-26 Thread Daniel Tryba
On Mon, Sep 26, 2016 at 05:18:32PM +0530, Infinicalls Infinicalls wrote: > I am sorry, I am not sure how to implement Brandon's method. Isn't > there any simpler solution to achieve this? Could someone elaborate me > more on this or point me to relevant links? > > My problem is simple. I have 2 h

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-26 Thread Infinicalls Infinicalls
Hi, I am sorry, I am not sure how to implement Brandon's method. Isn't there any simpler solution to achieve this? Could someone elaborate me more on this or point me to relevant links? My problem is simple. I have 2 hosts (host1.mydomain.com and host2.mydomain.com located in different places) an

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-11 Thread Brandon Armstead
Do a lookup of source ip(s) user is registered to and route appropriately and or share user location database / replicate. Either way however you want original source responding to proper AOR, so just do a little conditional checking and re route appropriately between the two. On Sunday, Septembe

Re: [SR-Users] Identical Kamailio setup on 2 hosts

2016-09-11 Thread Brandon Armstead
On Sunday, September 11, 2016, Infinicalls Infinicalls < infinica...@gmail.com> wrote: > Hi, > I have two identical hosts running Kamailio with the same set of > users. They are located in different locations. Both are running > behind NAT and I've enabled rtpproxy for that and also advertised th