Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
You have right i was looking in wrong place in my mysql server. I get around 200 query per second while 1600 user registered. But mysql shows usage of 10-50 % peak CPU in top command for 4 core CPU. I am trying to get information from memory and save myself on REGISTER (i dont need to update on re

Re: [SR-Users] [Kamailio-Business] Kamailio/RTC dinner at Fosdem 2020

2020-01-09 Thread Alexandr Dubovikov
Good morning, As usual +2 😁 Regards, Alexandr On Thu, 9 Jan 2020, 09:52 Daniel-Constantin Mierla wrote: > Hello, > > Fosdem 2020 is approaching, there will be a talk from Henning about > Kamailio, many other friends and related projects are presenting in the > RTC Devroom (Giacomo Vacca and Fe

[SR-Users] caching 404 responses

2020-01-09 Thread Krzysztof Drewicz
Hello would like to see if I'm not reinventing the wheel: scenario: some old powerdialler/predictive calls kamailio as call dispatcher, kamailio then dials carrier. But this dialler does many calls to the same B number with 404 response (from carrier) in short (retry is < 600s) time, so no need

[SR-Users] Kamailio in Docker Compile Error

2020-01-09 Thread Sam Ware
I am attempting to create my own docker image on Centos 7. During the build, I get the following error message during the "make all" phase. -- CC (gcc) [kamailio] core/cfg.tab.o LD (gcc) [kamailio] kamailio

Re: [SR-Users] TCP packet bundling

2020-01-09 Thread Alex Balashov
Henning, Thanks a lot for looking into it! I appreciate it. On Thu, Jan 09, 2020 at 04:51:32PM +, Henning Westerholt wrote: > Hello Alex, > > I just briefly looked into it, did not digged into the code much. > Kamailio is doing some queuing in TCP async mode (default) e.g. if there > is s

Re: [SR-Users] TCP packet bundling

2020-01-09 Thread Henning Westerholt
Hello Alex, I just briefly looked into it, did not digged into the code much. Kamailio is doing some queuing in TCP async mode (default) e.g. if there is some delay in sending out the data. One idea - have a look to the core parameters - tcp_wq_blk_size - tcp_conn_wq_max and change them to s

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread David Villasmil
This isn't normal at all. I have ~2500 registered users (tcp) with db_mode 1 and i see around ~300 sql queries per second. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jan 9, 2020 at 4:23 PM Sergiu Pojoga wrote: > The other option you could do is

Re: [SR-Users] Negative ACK issue

2020-01-09 Thread Michael Broughton
I'm using 5.3.1+stretch from deb.kamailio.org for our new setup. Our old setup was using 4.4.4+wheezy. On Thu, Jan 9, 2020 at 9:16 AM Daniel-Constantin Mierla wrote: > Is it a recent version of kamailio, or an older one? > > Cheers, > Daniel > On 09.01.20 16:55, Michael Broughton wrote: > > Than

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Sergiu Pojoga
The other option you could do is have usrloc DB in delayed mode. Then, call RPC *ul.flush* in your web app before displaying registration status. http://www.kamailio.org/docs/docbooks/devel/rpc_list/rpc_list.html#ul.flush Not to mention usrloc can be easily optimized by using htable for performan

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Henning Westerholt
Hello, 20.000 - 50.000 queries per seconds from the usrloc module sounds really strange. This should definitely not happen for a normal few thousand user test. I would suggest to look deeper into it, maybe your test setup is doing strange things here, or there is an error in the cfg. Ideally yo

Re: [SR-Users] Negative ACK issue

2020-01-09 Thread Daniel-Constantin Mierla
Is it a recent version of kamailio, or an older one? Cheers, Daniel On 09.01.20 16:55, Michael Broughton wrote: > Thank you, this was a helpful sanity check. > > We have been capturing SIP traces to try and debug this. I normally > just look at the traffic on our Kam box because it is convenient

Re: [SR-Users] Negative ACK issue

2020-01-09 Thread Michael Broughton
Thank you, this was a helpful sanity check. We have been capturing SIP traces to try and debug this. I normally just look at the traffic on our Kam box because it is convenient to do so, but I have also taken traces on our firewall to check the ALG behaviour. The provider techs are also tracing th

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
Thank you for the idea, it looks great. However what application i could use to consume the data and put it in DB. Is this websocket connection? Which when connect to EVAPI address will receive the JSON data from kamailio ? I wanted to show the regsistered clients in an web interface because i use

[SR-Users] Kamailio v5.3.2 Released

2020-01-09 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v5.3.2 stable release is out. This is a maintenance release of the latest stable branch, 5.3, that includes fixes since the release of v5.3.1. There is no change to database schema or configuration language structure that you have to do on previous installations of v5.3

Re: [SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread E. Schmidbauer
is there a particular reason you need the db updated in real-time and "know the count of registered users and the source IP / user-agent / username data." ? if it's for something outside of kamailio, id recommend using a module like evapi to push the data in real-time to an application that can co

Re: [SR-Users] Negative ACK issue

2020-01-09 Thread Lợi Đặng
Hi, You're not going to have the Via header from your `source` sent to your `telco provider` in the negative ACK when the call is not answered, because the ACK in the right hand side of the call is created by the kamailio itself, not a forwarding one by the `source`. Yes, you've guessed it, ACK for

[SR-Users] Kamailio/RTC dinner at Fosdem 2020

2020-01-09 Thread Daniel-Constantin Mierla
Hello, Fosdem 2020 is approaching, there will be a talk from Henning about Kamailio, many other friends and related projects are presenting in the RTC Devroom (Giacomo Vacca and Federico Cabiddu, Wazo, Asterisk, Homer, Janus, Jitsi, CGRateS, Linphone, ...):   * https://fosdem.org/2020/schedule/tr

Re: [SR-Users] Ask for Siremis document

2020-01-09 Thread Lợi Đặng
Hi, likely no doc provided. You may want to use CLI tools such as kamcmd/kamctl or look at the database to verify kamailio's configuration for every trial operation rgds, Loi Dang Thanh Phone : +84. 774.735.448 Email : loi.dangth...@gmail.com On Thu, Jan 9, 2020 at 2:10 PM Thanh Tran wrote: >

[SR-Users] Huge DB load while using location and registrar module (save()).

2020-01-09 Thread Voip support
Dear Community, I am facing an issue with using the usrloc and registrar module to save registration informations in database. It works for me but when tested yesterday with around 1500-1600 users i got a lot of queries on database mostly SELECT. I figured out that changing db_mode to 0 resolves t

Re: [SR-Users] Releasing Kamailio v5.3.2

2020-01-09 Thread Daniel-Constantin Mierla
Hello, quick reminder that the v5.3.2 will be released today. Until the release announcement is out, any commit to git branch 5.3 should be kept on hold, asking on sr-dev or irc channel and getting the ack before pushing it, so it doesn't interfere with the release build process. Cheers, Daniel