Re: [SR-Users] RTPPROXY issue and sip to sip calling

2016-01-31 Thread SamyGo
Hi Rehan, No matter which mode you are running rtpproxy in that IP will always be the IP of the machine it is running on. That means that SDP will take that IP once routed to locally subnet A2B servers. As far as the A2B detecting SIP user as online or offline based on DB, I am not too sure

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Hossein Aghaie
hi Gholamreza Sabery you should be implement HA on your server.you can use the pacemaker/corosync or other software for run and configuration HA on your server. On 1/31/16, Gholamreza Sabery wrote: > I am trying to create a cluster of Kamailio servers. I want users that are

[SR-Users] No contact info(0 bindings) in 200-register

2016-01-31 Thread sgy
Hi Members, I notice an issue: the client register to kamailio server and could receive 200-register message, but no contact infomation(shows 0 bindings) returns in the message(200-register). I checked contact exist in register message and client shows register successfully. When I run command

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Gholamreza Sabery
Dear Hossein; I know about Corosync and Pacemaker and I implemented something using these tools with Ansible ( https://github.com/ghrst/Kamailio-HA). But my question here is about active-active scenarios not an active-passive one! On Mon, Feb 1, 2016 at 2:14 AM, Hossein Aghaie

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Gholamreza Sabery
Thank you so much Alex. I tried REGISTER replication and DM_MODE 3. But my problem here is that in these scenarios Kamailio will give you a non-local socket error. I want to have multiple Kamailio servers so that a user that is registered on one server can easily call other users on another

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Alex Balashov
On 02/01/2016 02:33 AM, Gholamreza Sabery wrote: in these scenarios Kamailio will give you a non-local socket error It's a warning, not an error. Right? I don't remember how we solved that... -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta,

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Alex Balashov
Hi Gholamreza, Most Kamailio functionality can be used in an active-active way as long as there is a database persistence layer that can be shared among them: In particular, since you asked about the registrar: you can use `db_mode` 3 with `usrloc` to achieve this persistence:

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Alex Balashov
Although, the core `dmq` module is a big help in providing a distribution vehicle for messaging you do wish to replicate into a 'cluster': http://kamailio.org/docs/modules/4.3.x/modules/dmq.html#dmq.f.dmq_t_replicate -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Alex Balashov
Here's a thought, though: If your goal is really for users registered on one server to be able to easily call users registered on another server, you probably don't care to replicate or share the 'location' table per se. You just want one Kamailio server to call the right Kamailio server to

Re: [SR-Users] Kamailio Cluster

2016-01-31 Thread Aria Mill
I have something similar and I use the following architecture: NGCP-A-subscribres A||sip trunk between A and B ||NGCP-B-subscribers B ||sip trunk between B and C |NGCP-C-Subscribers C ||sip trunk between A and C

Re: [SR-Users] Core Dump during shutdown on SPARC64

2016-01-31 Thread Spencer Thomason
Hi Daniel, I was able to prevent the bus error by reverting part of commit 1b366aa1c6c37e2320da10fb68f0370199333f5d as below: diff --git a/cfg/cfg_struct.c b/cfg/cfg_struct.c index 8bfe429..519c6a9 100644 --- a/cfg/cfg_struct.c +++ b/cfg/cfg_struct.c @@ -295,8 +295,7 @@ static void

[SR-Users] checking source domain

2016-01-31 Thread Yuriy Gorlichenko
I need to understand where from packets received. Now I use something like If $si == "1.2.3.4" { xlog("L_INFO","bla bla bla"); } But I need to check source server not only by IP and PORT, but at Domain too For example if (some_pseudovariable=="pbx.server.com"){ xlog("L_INFO","bla bla bla"); }