[OpenSIPS-Users] dialog-dlg-repl capability State=not synced in a 2-node cluster, but dialog-prof-repl State=Ok

2019-06-03 Thread Hari Radhakrishnan
Hi Opensips Team, We are facing an issue with a 2-node opensips cluster in opensips-2.4 running on Ubuntu. We would be really grateful if you could help with this. We have spent a few days putting DBG statements in the code, but didn't get anywhere significant. The setup uses db_text module, with

Re: [OpenSIPS-Users] Opensip 2.4.5 Subscriber module on ODBC (MSSQL 2016 )

2019-06-03 Thread Frank Lee
Hello Bogdan, Thank you very much for looking into this for me. So you guys actually check the data type of each field before query is done? Do you know of anyone who has a TSQL script that generate all the tables for Opensips 2.4.5? I do see you guys have a link that has the table structur

Re: [OpenSIPS-Users] Sending multiple request from OpenSIPS to multiple destinations

2019-06-03 Thread Ali Shirvani
Sure, thanks for the clarification. Regards, Ali On Mon, Jun 3, 2019 at 3:34 PM Bogdan-Andrei Iancu wrote: > Please keep the list CC'ed to the discussion. > > > Parallel forking means to send an incoming INVITE to multiple SIP > destinations in the same time - how / where the destinations are f

Re: [OpenSIPS-Users] Load Balancer cluster Opensips 3.0

2019-06-03 Thread Bogdan-Andrei Iancu
Please keep the list CC'ed to the discussion. Thanks for the info, it seems to be an OpenSIPS bug - the anycast token is missing in the locally generated requests (like this OPTIONS). Could you open a bug report on the github tracker please ? Best regards, Bogdan-Andrei Iancu OpenSIPS Found

Re: [OpenSIPS-Users] Sending multiple request from OpenSIPS to multiple destinations

2019-06-03 Thread Bogdan-Andrei Iancu
Please keep the list CC'ed to the discussion. Parallel forking means to send an incoming INVITE to multiple SIP destinations in the same time - how / where the destinations are fetched from , it is not relevant. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.open

Re: [OpenSIPS-Users] first_hit_counter

2019-06-03 Thread Олег Подгуйко via Users
Thank you so much! >Понедельник, 3 июня 2019, 11:00 +03:00 от Bogdan-Andrei Iancu >: > >Hi Oleg, > >The "first_hit_counter" tells you how many times that destination > was selected (from the first time/usage, and not via a failover) > for routing. > >In regards to the provisioning fie

Re: [OpenSIPS-Users] Removing a node from a cluster

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Vitalii, That's a good one and we are aware of it. Basically there is no nice way to remove a node from the cluster. The only way (and an unpleasant one) is to remove the node from DB, stop all nodes and start them again :( I will open a ticket for this. Regards, Bogdan-Andrei Iancu Ope

Re: [OpenSIPS-Users] Sending multiple request from OpenSIPS to multiple destinations

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Ali, That is called SIP parallel forking and you can do it by using the append_branch() function [1] or $branch variable [2] in order to add multiple destinations for an INVITE. [1] https://opensips.org/Documentation/Script-CoreFunctions-2-4#toc3 [2] https://opensips.org/Documentation/Scr

Re: [OpenSIPS-Users] first_hit_counter

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Oleg, The "first_hit_counter" tells you how many times that destination was selected (from the first time/usage, and not via a failover) for routing. In regards to the provisioning fields, see https://opensips.org/Documentation/Install-DBSchema-2-4#AEN4366 Regards, Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] Load Balancer cluster Opensips 3.0

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Anton, That is an interesting combination - pinging via an anycast interface. Could you paste here the OPTIONS and its reply, to check if it is correctly built from the anycast perspective ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com

Re: [OpenSIPS-Users] local cache becomes empty

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Alexey, Try to see if you notice a pattern. Nevertheless I suspect some operational issue (removing the keys via MI or script). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 2019 https://www.opensips.org/events/Summit-20

Re: [OpenSIPS-Users] ws and hold problem

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Mikhail, When using WS(S), for the messages coming from the WS(S) endpoint ( with Contact with "invalid") you need to do "fix_nated_contact()", to transform that contact into a routable SIP URI. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.

Re: [OpenSIPS-Users] Opensip 2.4.5 Subscriber module on ODBC (MSSQL 2016 )

2019-06-03 Thread Bogdan-Andrei Iancu
Hi Frank, There were no changes in the db_unixodbc driver in OpenSIPS for some time. Maybe something changed in the unixodbc driver for MS SQL. Based on the this log: core:db_table_version: invalid type (1) or nul (0) I see that that the "table_version" from the version table is returned