Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread David Villasmil
You may want to come in on the slack channel. Easier. On Wed, 14 Aug 2019 at 08:13, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Sorry Petarr, > > I still don’t fully understand. > Let’s put it this way. > > Users will register on kamailio using the schemes you just pasted, i.e.: >

[SR-Users] Evapi dispatcher is consuming all the private memory

2019-08-14 Thread José Seabra
Hello there, I'm using kamailio 5.2.1 with evapi module to send and receive events from an external application. During my stress tests to kamailio i have been noticing that at some point kamailio is getting out of memory: edge-sip-proxy[20565]ERROR: ESP_LOG: : [core/mem/q_malloc.c:291]:

Re: [SR-Users] Planning the release of Kamailio v5.2.4

2019-08-14 Thread Daniel-Constantin Mierla
Hello, the usual reminder that the v5.2.4 is going to be released today from git branch 5.2, therefore any commits to that branch should be announced first on sr-dev or irc channel and wait for ack, in order to avoid conflicts with release building process. Once the announcement of the release is

Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread Petarr Jones
Hi David I am clearly not articulating the issue properly. I don't have a problem with the authentication from a Kamailio perspective but rather trying to understand how I would authenticate a user in Kamailio based on a different user name than in Freeswitch. As an example, I would like the

Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread David Villasmil
I see. Ok but you somehow need those user/passwords to authenticate. It’s simple, add those users/pass to the dB table in kamailio. You configure /etc/kamailio/kamctlrc for your db, then to create the database you execute: kamdbctl create You end up with the kamailio database, and insert your

Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread David Villasmil
Sorry Petarr, I still don’t fully understand. Let’s put it this way. Users will register on kamailio using the schemes you just pasted, i.e.: 1001-123456789, and from there, whenever they make a call to another extension in freeswitch, you say fs doesn’t like the extension scheme so you want to

Re: [SR-Users] Wrong Record-Route and Via header fields when TCP is used

2019-08-14 Thread Leonid Fainshtein
Hello Daniel, Should I open a bug regarding this issue? Thank you, Leonid On Sun, Jul 21, 2019 at 1:26 PM Leonid Fainshtein < leonid.fainsht...@xorcom.com> wrote: > Hello Daniel, > The traces and the simplified config file can be downloaded by using the > link below: > >

[SR-Users] Kamailio v5.2.4 Released

2019-08-14 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v5.2.4 stable release is out. This is a maintenance release of the latest stable branch, 5.2, that includes fixes since the release of v5.2.3. There is no change to database schema or configuration language structure that you have to do on previous installations of

Re: [SR-Users] Evapi dispatcher is consuming all the private memory

2019-08-14 Thread Daniel-Constantin Mierla
Hello, can you enable pkg summary and generate it once the out of memory happens? Set memlog to lower value than debug, when the memory happens, do: https://www.kamailio.org/docs/modules/devel/modules/corex.html#corex.rpc.pkg_summary Then send some traffic to that process and watch the syslog.

Re: [SR-Users] Evapi dispatcher is consuming all the private memory

2019-08-14 Thread José Seabra
Hello, Please find out the logs in the following link: - https://pastebin.com/h2UNHwYC Let me know if you need something else. Cheers José Seabra Daniel-Constantin Mierla escreveu no dia quarta, 14/08/2019 à(s) 10:59: > Hello, > > that's memory status, printing details for each allocated

Re: [SR-Users] pike parameters doup when have dinamyc ip clients and scanners

2019-08-14 Thread Daniel Tryba
On Tue, Aug 13, 2019 at 03:57:36PM -0430, PICCORO McKAY Lenz wrote: > # this it's my setup for pike due the dinamyc ip and devices over the > internet: > modparam("pike", "sampling_time_unit", 4) > modparam("pike", "reqs_density_per_unit", 80) > modparam("pike", "remove_latency", 60) > ... >

Re: [SR-Users] Evapi dispatcher is consuming all the private memory

2019-08-14 Thread Daniel-Constantin Mierla
Hello, that's memory status, printing details for each allocated chunk. I could spot a lot of chunks from the parser and get header field functions, but to be sure there is nothing else, can you set global parameter: mem_summary=12 and then reproduce again. The logs printed in syslog should

Re: [SR-Users] pike parameters doup when have dinamyc ip clients and scanners

2019-08-14 Thread PICCORO McKAY Lenz
El mié., 14 de ago. de 2019 a la(s) 04:55, Daniel Tryba (d.tr...@pocos.nl) escribió: > On Tue, Aug 13, 2019 at 03:57:36PM -0430, PICCORO McKAY Lenz wrote: > > # this it's my setup for pike due the dinamyc ip and devices over the > internet: > > modparam("pike", "sampling_time_unit", 4) > >

Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread Petarr Jones
Thanks David How do I get an invite to the slack channel? From: sr-users on behalf of David Villasmil Sent: 14 August 2019 00:15 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio/Freeswitch auth user and UserID You may want to come in

Re: [SR-Users] pike parameters doup when have dinamyc ip clients and scanners

2019-08-14 Thread Daniel Tryba
On Wed, Aug 14, 2019 at 08:47:02AM -0400, PICCORO McKAY Lenz wrote: > you said: " A simple SIP phone will only send a couple of messages per > second" > > so if i have that special case with dinamyc ip in clients.. who could be > better to not confuse those clients with intents of attacks? I'm

Re: [SR-Users] Wrong Record-Route and Via header fields when TCP is used

2019-08-14 Thread Daniel-Constantin Mierla
Hello, I tried to reproduce a while ago on a system with many network interfaces, but all was fine. I guess it has to do with network/ip routing configuration there. Open the issue, maybe other people will give some input based on their experience. Cheers, Daniel On 14.08.19 13:37, Leonid

Re: [SR-Users] Wrong Record-Route and Via header fields when TCP is used

2019-08-14 Thread Leonid Fainshtein
Daniel, Just to make sure: did you try to define the "listen" parameters explicitly? The problem happens only when the "listen" parameters are defined in the Kamailio configuration. When the "listens" are not configured then everything works correctly. So, the problem happens when it is necessary

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Joel Serrano
Hello Henning, No concerns at all!! As you say, the Call-ID can really say whatever... The only concern could/would be in the security topic that you are disclosing potential sensible information about your infrastructure blablabla... but that can be solved just by changing the listen= order so

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Daniel-Constantin Mierla
Hello, using the ip in call-id is not a good practice imo, I had it in mind to replace it properly everywhere for quite some time -- actually at this moment there is an option that can be activated in the crypto module making the call-id to be generated with libssl unique id generation functions,

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Henning Westerholt
Hi Daniel, good tip about the crypto module. It will indeed hide the IP address in the call-id, just tried it: Call-ID: d810d369-aa60-4d79-aee5-9c03d2e66781 I think if we would feed the sruid unique ID (in libs/srutils) into the SHA256 hash (also available there) this it should be secure

Re: [SR-Users] pike parameters doup when have dinamyc ip clients and scanners

2019-08-14 Thread PICCORO McKAY Lenz
El mié., 14 de ago. de 2019 a la(s) 10:11, Daniel Tryba (d.tr...@pocos.nl) escribió: > Yes, this adds the source ip to the htable that is used to block further > requests. But my experience is that if you sent a 200 OK the scans > will stop for the older scanners. So you might want to add a >

Re: [SR-Users] Uac_replace for header's parameters

2019-08-14 Thread Henning Westerholt
Hello Duarte, can you give an example (like Header etc..) what you like to achieve? Cheers, Henning Am 14.08.19 um 16:23 schrieb Duarte Rocha: Greetings, I'm using uac_replace_to() and uac_replace_from() to do some number manipulations. It allows me to modify and automatically restore

Re: [SR-Users] RFC 3860 support - Kamailio is sending SUBSCRIBE back with extra Via header

2019-08-14 Thread Henning Westerholt
Hello Praveen, according to the docs this might help you: "This modules publishes information about "reg"-events according to to RFC 3680." https://kamailio.org/docs/modules/5.2.x/modules/pua_reginfo.html Cheers, Henning Am 12.08.19 um 21:45 schrieb Praveen Vatti: Today I made some

Re: [SR-Users] Wildcarded IMPU

2019-08-14 Thread Henning Westerholt
Hello Maryam, Kamailio supports AVPs and also an extended version called XAVP. About your question - I quickly looked into ETSI TS 129 329 and TS 129 229 but they did not define how this actually works.. Can you elaborate what you actually are looking for? Cheers, Henning Am 05.08.19 um

[SR-Users] Uac_replace for header's parameters

2019-08-14 Thread Duarte Rocha
Greetings, I'm using uac_replace_to() and uac_replace_from() to do some number manipulations. It allows me to modify and automatically restore Display Number and URI. This works nicely, however it only allows to manipulate URI's parameter. Is there any method to the same and include the Header's

Re: [SR-Users] Dispatcher round-robin problems in 5.2

2019-08-14 Thread Alex Balashov
I have had an opportunity now to push this into production and verify that it works at a large scale. Thank you very much for the prompt response and fix, Henning and Daniel! It is deeply appreciated. — Sent from mobile, with due apologies for brevity and errors. > On Aug 13, 2019, at 9:42 AM,

[SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Joel Serrano
Hello, Simple doubt regarding dispatcher module when you have the ds_default_socket() modparam set: Say you have 2 kamailio boxes, active + passive, one shared IP via keepalived On the actrive node, you have dispatcher.send_ping to 1, and the passive has it set to 0. So far OK, only the

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Henning Westerholt
Hello Joel, funny - I just had this discussion about the same topic some days ago. In the end this is "only" the call-id, the IP should not be used to to routing descisions etc.. Do you have some more concerns about this? I think as well it just uses the first IP. I think at the moment the

Re: [SR-Users] Kamailio/Freeswitch auth user and UserID

2019-08-14 Thread David Villasmil
Go to https://join.slack.com/t/kamailio/shared_invite/enQtNDY1NDc5MzMwNDIzLWJlNTFhYmYwOWE4ODcyZmM3OWYyMjEwYmRjMDg3YjU0NTU5YjNkZDdlNTM4NTFmYzYyMmE1YzQxNzNmZDAxNjA On Wed, 14 Aug 2019 at 14:53, Petarr Jones wrote: > Thanks David > > How do I get an invite to the slack channel? >