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

[SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-09-29 Thread Jonathan Hunter
Hi Guys, Is it still the case that when using uac_req_send, you cant send withing a specific dialog?I can modify call-id, but I presume tags may be more of a problem?See old post below from 2015; > I am familiar with uac_req_send. but how do I send it with in a > specific dialog and with data in

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread David Villasmil
Then you got your answer :) On Thu, Sep 29, 2016 at 4:23 PM Nitesh Bansal wrote: > I don't think I received the previous answer and I apologize if I missed > it. > But, unfortunately dispatcher isn't going to do it for me, I think I need > to > use some external tool and use my perl application

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread Nitesh Bansal
I don't think I received the previous answer and I apologize if I missed it. But, unfortunately dispatcher isn't going to do it for me, I think I need to use some external tool and use my perl application with Kamailio to retrieve the data I need and route the call accordingly. Regards, Nitesh On

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] Load balancing traffic with Kamailio

2016-09-29 Thread Gholamreza Sabery
Why do you repost this question again and again? I think this question has been answered and the module that you need is Dispatcher module: http://www.kamailio.org/docs/modules/4.2.x/modules/dispatcher.html Regards On Thu, Sep 29, 2016 at 12:01 PM, Nitesh Bansal wrote: > Hello, > > I'm planning

[SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread Nitesh Bansal
Hello, I'm planning on doing some smart load balancing with Kamailio. We have a distributed network, with multiple Kamailio boxes in different locations serving as Ingress SBC, these Kamailio boxes are the entry point for a SIP call and then they route the call to a pre-configured Asterisk boxes.

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] Distributed Message Queue Module

2016-09-29 Thread Charles Chance
Hello, That depends entirely on what you need to replicate between servers. DMQ is just a communication channel. How you use it is up to you. For example, if you enable dmq_usrloc, there's no need to share a location database. Htable has an option for replicating over dmq too. The number of dire

[SR-Users] Distributed Message Queue Module

2016-09-29 Thread Moacir Ferreira
Hi, When using the DMQueue module what is the best approach, using one SQL server/database for each member node or having a single SQL server for all nodes? Thanks, Moacir ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list