Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Bogdan-Andrei Iancu
That's a good news :) Try to add one patch at a time (incrementally) and let's see when it starts to crash again. Thanks and regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05.10.2016 22:55, Ramachandran, Agalya (Contractor) wrote: Hi

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, With 2.2 version, am not seeing any crash. All looks good. Regards, Agalya From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ramachandran, Agalya (Contractor) Sent: Wednesday, October 05, 2016 10:50 AM To: Bogdan-Andrei Iancu

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Ramachandran, Agalya (Contractor)
Sure. I will test and share the results by end of day or tomorrow. Regards, Agalya From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] Sent: Wednesday, October 05, 2016 10:47 AM To: Ramachandran, Agalya (Contractor) ; OpenSIPS users mailling list

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Bogdan-Andrei Iancu
Yes, that is ok (without the REST) - just to be sure which patch introduces the bug. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05.10.2016 17:45, Ramachandran, Agalya (Contractor) wrote: Hi Bogdan, I have observed one more thing. In the

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan, I have observed one more thing. In the same source code, when opensips acts as pure proxy no HTTP call is made opensips is not crashing. I suspect the crashes may be due to the new async fix provided. I can do load test in 2.2, but it will be just pure-proxy load test and not with

Re: [OpenSIPS-Users] opensips crash when doing load test

2016-10-05 Thread Bogdan-Andrei Iancu
Hi Agalya, That is really weird, as that field (my_T) is initialized (with the address of the transaction) when the transaction is created (for all the possible branches) and never reset or set again. To avoid any regression due the patches you applied, could youplease run your load test

Re: [OpenSIPS-Users] What does happen when location table has records for peer that is offline?

2016-10-05 Thread Bogdan-Andrei Iancu
Hi Rodrigo, Yes, probably there were TCP contacts left over in location table - and when OpenSIPS was trying to use them, it was attempting to open a TCP connection to the IP indicated by the contact (where of course, nobody was listening). That is SIP :). Maybe you should try to lower the

Re: [OpenSIPS-Users] Block anonymous incoming calls

2016-10-05 Thread Bogdan-Andrei Iancu
Hi Michele, I find no references in the docs on using "anonymous" as prefix - are you sure it should work ?? Anyhow, this module is a bit deprecated and poor performance - a simpler and more efficient way to implement blacklists (prefix based) is via dynamic routing module (use matching

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Bogdan-Andrei Iancu
Hi Miha, so you have 120M records (NET_ID + DID) - how do you use them from OpenSIPS ? As I fail to understand what are the operations you want to perform over this data. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 05.10.2016 09:44, Miha

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Daniel Zanutti
Hi Miha I have a similar situation, but around 20 M routes. The native routing mecanims wasn't performing well, so I developed a custom mecanism using Opensips scripting. Everything is stored on MySQL database. The best approach was use avp_db_query to get the route, the primary key (and index)

[OpenSIPS-Users] Block anonymous incoming calls

2016-10-05 Thread Michele Pinassi
Hi all, i'm trying to block anonymous incoming calls using userblacklist module: if (!check_user_blacklist("$rU", "$rd", "$fU")) { xlog("L_ERR","403 - Forbidden - Call blocked from $fU to $rU\n"); sl_send_reply("403", "Forbidden"); exit; } and in

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Miha
Hi Alex i tried, but mysql takes so long time for every select. What do u have in mind? tnx miha On 05/10/2016 08:46, Alex Balashov wrote: Why do you believe that using a traditional RDBM necessarily means slow lookups? On 10/05/2016 02:44 AM, Miha wrote: HI the is not really

Re: [OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Alex Balashov
Why do you believe that using a traditional RDBM necessarily means slow lookups? On 10/05/2016 02:44 AM, Miha wrote: HI the is not really opensips issue:) I need somehow to store big amount of data for routing. To every telephone operator I must send RURI like Net_ID+Telephone_number (value

[OpenSIPS-Users] Help with big amount of data for routing

2016-10-05 Thread Miha
HI the is not really opensips issue:) I need somehow to store big amount of data for routing. To every telephone operator I must send RURI like Net_ID+Telephone_number (value indicates to who number belongs to). In this country they have around 120 millions of numbers. After i have all