[SR-Users] Need support

2019-12-10 Thread Srikanth Magloori
Hi Team, We are using your product Kamalio in Call Recording services. We are planning for Performance testing of our recording system. Currently we have bypassed Twilio and Kamailio. Generating Calls using SIPP directly to VOIP. So, we want calls to route through KAMAILIO -> VOIP. So

Re: [SR-Users] authcheck and fd variable

2019-12-10 Thread Robert Lieback
nevermind, i've forgot to load the pv.so module ... damn :) Am 09/12/2019 um 18:27 schrieb Robert Lieback: Hello, i'm looking into kamalio (btw: thanks to asipto for the great book) and i hope someone can push me in the right direction. I have a question/problem with some lines in the

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
Ali, If Kamailio is performing a database-bound workload, there's no way to make it respond faster if the database is being slow. Excluding things like caching of route responses, how would that be logically possible? :-) Since we use PostgreSQL (and prefix_range) very extensively, I can say

Re: [SR-Users] Kamailio 5.2.3 segfaulting

2019-12-10 Thread Henning Westerholt
Thanks for letting us know! -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: Daniel Greenwald Sent: Tuesday, December 10, 2019 4:44 PM To: Henning Westerholt Cc: Kamailio (SER) - Users Mailing List ; mico...@gmail.com Subject:

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
As someone else suggested, consider not doing the bulk load so intensively. Perhaps don’t use five parallel processes, but just one. My article discusses the trade-offs in using more child processes, and how to detect whether a condition of insufficient child processes is encountered (check

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Ali Taher
Thanks Alex for the detailed explanation, I will check the provided link. Meanwhile, i would like to add that the application loading data into the postges tables uses 5 parallel processes to do so. I’m worrying that the delay in response could be due to insufficient workers available for

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Greg Troxel
Ali Taher writes: > It normally takes few milliseconds to execute the query. > > The issue is occurring only at specific times where another > application is inserting data into routing tables (not the live tables > used by Kamailio, which will be swapped later to the live tables) , > where 300

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Alex Balashov
Ali, If Kamailio is performing a database-bound workload, there's no way to make it respond faster if the database is being slow. Excluding things like caching of route responses, how would that be logically possible? :-) Since we use PostgreSQL (and prefix_range) very extensively, I can say

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Ali Taher
Hello, It normally takes few milliseconds to execute the query. The issue is occurring only at specific times where another application is inserting data into routing tables (not the live tables used by Kamailio, which will be swapped later to the live tables) , where 300 CPS is flowing into

Re: [SR-Users] Kamailio 5.2.3 segfaulting

2019-12-10 Thread Daniel Greenwald
Here is the bug that hit us in production, just posted to MYSQL bug tracker https://bugs.mysql.com/bug.php?id=97935 DO NOT UPGRADE TO MYSQL 5.7.28. On Wed, Nov 27, 2019 at 5:20 PM Daniel Greenwald wrote: > So what I can tell you is libmysqlclient-dev was upgraded to > 5.7.28-0ubuntu0.16.04.2

Re: [SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread David Villasmil
Hello, Have you checked yourself how long PGSQL takes to answer a query from a different host? This really doesn't seem Kamalio-related, but PGSQL-related. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Dec 10, 2019 at 12:41 PM Ali Taher wrote: >

Re: [SR-Users] Problem with max tcp connections

2019-12-10 Thread Jose Fco . Irles Durá
I will test it. Thanks for the reply. Best regards El mar., 10 dic. 2019 a las 13:35, David Villasmil () escribió: > > I know this is not recommended, but have you tried starting as root? If so > and you don’t hit a limit, then there’s something wrong in your limits for > the kamailio user. I

[SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Ali Taher
Hello, I have Kamailio installed as SIP redirect for an SBC to make routing decisions. I'm using SQLOps module with postgresql 11.5 where I have multiple tables containing each around 6M record of routing codes: Code options --- 392342 sup1|sup2|sup3 Where code field

Re: [SR-Users] Problem with max tcp connections

2019-12-10 Thread David Villasmil
I know this is not recommended, but have you tried starting as root? If so and you don’t hit a limit, then there’s something wrong in your limits for the kamailio user. I have the same issue and it only works with root, I haven’t been able to run it with kamailio for so many tcp connections. On

Re: [SR-Users] Problem with max tcp connections

2019-12-10 Thread Jose Fco . Irles Durá
I checked that the problem persist. I have installed the version is 5.1.9, and the limit to 4096, but I can't connect more than 2758. I think that the problem is in the kernel, but i don't have any idea how debug it. Any idea? Best regards El mar., 26 nov. 2019 a las 16:14, Jose Fco. Irles

[SR-Users] Kamailio delayed reponse in case of database load

2019-12-10 Thread Ali Taher
Hello, I have Kamailio installed as SIP redirect for an SBC to make routing decisions. I'm using SQLOps module with postgresql 11.5 where I have multiple tables containing each around 6M record of routing codes: Code options 392342 sup1|sup2|sup3 Where code field is of prefix_range data

Re: [SR-Users] authcheck and fd variable

2019-12-10 Thread Alex Balashov
$fd contains the From URI domain. The registering UA is free to set this as they wish, and it may not align with your authentication realm. That’s why overriding it worked for you. For more info: https://www.kamailio.org/wiki/cookbooks/5.3.x/pseudovariables#fd_-_from_uri_domain — Sent from