Re: [OpenSIPS-Users] Users Digest, Vol 133, Issue 45

2019-08-26 Thread Steve Kumar
Re: OpenSIPS2.4 Cluster Module Dialog Sync (Liviu Chircu)

*Thanks, It's working now.  *


On Sun, Aug 25, 2019 at 11:00 AM  wrote:

> Send Users mailing list submissions to
> users@lists.opensips.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-requ...@lists.opensips.org
>
> You can reach the person managing the list at
> users-ow...@lists.opensips.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>1. Re: OpenSIPS2.4 Cluster Module Dialog Sync (Liviu Chircu)
>
>
> --
>
> Message: 1
> Date: Sun, 25 Aug 2019 10:22:45 +0300
> From: Liviu Chircu 
> To: OpenSIPS users mailling list , Steve
> Kumar 
> Subject: Re: [OpenSIPS-Users] OpenSIPS2.4 Cluster Module Dialog Sync
> Message-ID: <3da26832-4d94-3ae8-8aeb-db5497f50...@opensips.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 24.08.2019 01:50, Steve Kumar wrote:
> > clusterer:send_sync_req: Sent sync request for capability
> > 'dialog-dlg-repl' to node 1, cluster 1
> > Aug 23 17:45:10 openSIPS-1 /usr/local/sbin/opensips[20714]:
> > INFO:clusterer:handle_sync_packet: discarding sync packet version 1,
> > need version 2
> > Aug 23 17:45:10 openSIPS-1 /usr/local/sbin/opensips[20714]:
> > INFO:clusterer:handle_sync_packet: discarding sync packet version 1,
> > need version 2
> >
> Hey Steve,
>
> Your opensips instances have different package versions, and the sync
> protocol is incompatible between them.
> Make sure to also upgrade the primary (seed) node's opensips packages,
> then the sync will work again.
>
> Best regards,
>
> --
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
>
>
>
>
> --
>
> Subject: Digest Footer
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> --
>
> End of Users Digest, Vol 133, Issue 45
> **
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS2.4 Cluster Module Dialog Sync

2019-08-23 Thread Steve Kumar
Hi,

I have to 2 openSIPS nodes setup in HA and one node is seed one. So
whenever a backup node is rebooted it's unable to resync the dialog. It
sends the dialog sync request tho. But it's discarding the receiving
packets. Here are the logs.

clusterer:send_sync_req: Sent sync request for capability 'dialog-dlg-repl'
to node 1, cluster 1
Aug 23 17:45:10 openSIPS-1 /usr/local/sbin/opensips[20714]:
INFO:clusterer:handle_sync_packet: discarding sync packet version 1, need
version 2
Aug 23 17:45:10 openSIPS-1 /usr/local/sbin/opensips[20714]:
INFO:clusterer:handle_sync_packet: discarding sync packet version 1, need
version 2


Thanks for your help.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS2.4 HA and Dialog Replication

2019-08-21 Thread Steve Kumar
Thanks, it worked.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS2.4 HA and Dialog Replication

2019-08-21 Thread Steve Kumar
Hi,
Need some help from smart folks.

I have setup a HA between 2 nodes. So this is the current setup  and these
are the problems I am getting ->


So I have installed keepalived and only node has floating IP at one time.
I have enabled clusterer module and both nodes can see each other and ping
each other.
And I have also setup the dialog replication

Problems ->
Where I define my listeners in opensips script I define first Virtual IP
listen and then local IP. But other opensips node doesn't have VIP so it's
opensips fails when I start the service, you know understand what I am
saying.
This are the listeners on first active node ->
# Proto Bin Listeners
listen = bin:10.10.10.236:

# Virtual / HA IP
listen=udp:10.10.10.111:5060 as X.X.X.X:5060
listen=tcp:10.10.10.111:5060 as X.X.X.X:5060

# Administrative IP
listen=udp:10.10.10.236:5060 as X.X.X.X.:5060
listen=tcp:10.10.10.236:5060 as X.X.X.X:5060

You can see this node has VIP -> 10.10.10.111

But other backup node in HA doesn't have VIP so opensips service was
failing to start, so what I did I removed that VIP listener from other node
and I started the openSIPS service.But now I am getting problem in dialog
replication because other node is not accepting dialogs because active node
is sending dialog from VIP 10.10.10.111 and other node is not accepting. I
am getting this error.

ERROR:dialog:dlg_replicated_created dialog doesn't match caller's listening
socket udp:10.10.10.111:5060
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS Dispatcher Module - Performance Testing

2019-08-15 Thread Steve Kumar
Hi,

We are thinking to use a dispatcher module for inbound call routing. When
inbound call will come we will match the DID with the DID present in
attribute column of dispatcher table and will route the call to specific
FreePBX instance.

The only concern is that we have around 12000 DID and there will be around
12000 rows in that table. So we were thinking that would it be a
performance degradation or no? Dispatcher module can handle all that DID's
and we only have around 150 PBX IP's, which means many DID's can be pointed
to single PBX IP.

Want advice from experts on this topic.

Thanks and regards
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users