Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi, Is there any way to change the domain name at run time in config files of kamailio IMS (pcscf, scscf, icscf). Kindly help Thanks, Pavithra On Thu, Aug 13, 2020 at 2:46 AM Henning Westerholt wrote: > Hello, > > > > no, this is not correct: >

Re: [SR-Users] How to check TLS versions available

2020-08-12 Thread David Cunningham
Hi Alex and Daniel, Thanks for that. If we test with -tls1 we get: Peer signing digest: MD5-SHA1 Peer signature type: RSA Server Temp Key: X25519, 253 bits --- SSL handshake has read 6063 bytes and written 231 bytes Verification error: certificate has expired --- New, TLSv1.0, Cipher is

Re: [SR-Users] conditional on secfilter seems does not work or how to do it

2020-08-12 Thread PICCORO McKAY Lenz
El mié., 12 de ago. de 2020 a la(s) 10:30, Pepelux (pepel...@gmail.com) escribió: > Hi there > > It must work fine. I've just tested it: > no! i found the problem.. i forgot to say that we updated the table dynamically and later noted in the documentation this: there's no sense in having a table

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Henning Westerholt
Hello, no, this is not correct: https://www.kamailio.org/wiki/cookbooks/devel/core#debug Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: sr-users On Behalf Of Ilie Soltanici Sent: Wednesday, August 12, 2020

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Henning Westerholt
Hello, Kamailio is not multi-threaded, it is multi-process. Each process opens its own connection to the DB. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: sr-users On Behalf Of Kjeld Flarup Sent:

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Fred Posner
On Wed, 2020-08-12 at 22:55 +0200, Kjeld Flarup wrote: > Hi Daniel > I can do that, but am I guaranteed, that the right value is > returned? > Kamailio is multithreaded, and I do now know if the mysql connection > is shared across threads. That is a general sql question, not particular to

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Kjeld Flarup
Hi Daniel I can do that, but am I guaranteed, that the right value is returned? Kamailio is multithreaded, and I do now know if the mysql connection is shared across threads. Med Liberalistiske Hilsner -- Civilingeniør, Kjeld Flarup - Mit sind er

Re: [SR-Users] Best Module for CPS per IP - PIKE or Ratelimit modules ?

2020-08-12 Thread Alex Balashov
Indeed it is. On 8/12/20 8:32 AM, Ameed Jamous wrote: Is it possible to make CPS limit change with *PIPELIMIT module* without having to restart kamailio each time the value changes? On Tue, Aug 11, 2020 at 8:33 PM Ameed Jamous mailto:a.jam...@telecomsxchange.com>> wrote: Thanks

Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-12 Thread Daniel-Constantin Mierla
Hello, the README was edited directly, which is not the way to do it. I added a note in the pull request about how changes to module docs have to be done, see also the wiki page:   - https://www.kamailio.org/wiki/devel/module-docbook-readme Cheers, Daniel On 12.08.20 16:17, sagar malam wrote:

Re: [SR-Users] conditional on secfilter seems does not work or how to do it

2020-08-12 Thread Pepelux
Hi there It must work fine. I've just tested it: kamailio.cfg xinfo("Checking source IP $si"); secf_check_ip(); xinfo("Result of sec_check_ip: $?"); kamailio.log Aug 12 16:17:38 pepelux /usr/local/sbin/kamailio[23304]: INFO:

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Hello, Setting the dlg_manage() function just before any other functions/vars didn't help either. I will try to get another debug log, maybe I will be able to get more information from there. Thanks On Wed, 12 Aug 2020 at 11:26, Ilie Soltanici wrote: > Hello, > > OK, so I've added it as a

Re: [SR-Users] Kamalio 5.4.0 should support ka_add_destination function of KeepAlive module ?

2020-08-12 Thread sagar malam
Hello Henning, I have created pull request for same On Tue, Aug 11, 2020 at 9:10 PM Henning Westerholt wrote: > Hi Sagar, > > > > the documentation can be improved by creating a “pull request” on github > for it. Then it can be applied to the repository. > > > > Cheers, > > > > Henning > > > >

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi, Is it possible to make it work without giving listen IP in pcscf.cfg, icscf.cfg, scscf.cfg files since i am configuring it as kubernetes pods and automating all configurations. Due to this, I am unable to start the kamailio service without giving the proper listen IP. Is there any

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Ilie Soltanici
Hello, Yes, that is correct. On Wed, 12 Aug 2020 at 14:55, Pavithra Mohanraja wrote: > Hi, > Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is > it right ? > > > Thanks, > Pavithra > > On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici > wrote: > >> Hello, >> >> Yes, you

[SR-Users] Listen IP changes in IMS kamailio

2020-08-12 Thread Pavithra Mohanraja
Hi, Is it possible to make it work without giving listen IP in pcscf.cfg, icscf.cfg, scscf.cfg files since i am configuring it as kubernetes pods and automating all configurations. Due to this, I am unable to start the kamailio service without giving the proper listen IP. Is there any

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi, Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is it right ? Thanks, Pavithra On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici wrote: > Hello, > > Yes, you can use: kamcmd cfg.set_now_int core debug 1 > > On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja > wrote: >

Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Ilie Soltanici
Hello, Yes, you can use: kamcmd cfg.set_now_int core debug 1 On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja wrote: > Hi, > Is there any way to have global log level changes without restart of > kamailio. > If there kindly let me know. > > > > Thanks, > Pavithra >

[SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi, Is there any way to have global log level changes without restart of kamailio. If there kindly let me know. Thanks, Pavithra ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Example config for webRTC-SIP kamailio.cfg for sip.js

2020-08-12 Thread David Villasmil
Take a look at this https://github.com/davidcsi/kamailio-private-public There’s a directive that enables websockets in definitions.cfg On Tue, 11 Aug 2020 at 08:00, Johnny Ritzer wrote: > Anyone know where to grab an example config for getting web socket-sip > working. > > > > I tried this

Re: [SR-Users] Best Module for CPS per IP - PIKE or Ratelimit modules ?

2020-08-12 Thread Julien Klingenmeyer
Hi Ameed, You can use the RPC commands to do so: https://www.kamailio.org/docs/modules/devel/modules/pipelimit.html#pipelimit.r.pl.list -- Julien De : sr-users au nom de Ameed Jamous Répondre à : "Kamailio (SER) - Users Mailing List" Date : mercredi 12 août 2020 à 14:34 À : "Kamailio (SER)

Re: [SR-Users] Best Module for CPS per IP - PIKE or Ratelimit modules ?

2020-08-12 Thread Ameed Jamous
Is it possible to make CPS limit change with *PIPELIMIT module* without having to restart kamailio each time the value changes? On Tue, Aug 11, 2020 at 8:33 PM Ameed Jamous wrote: > Thanks Alex. > > On Tue, Aug 11, 2020 at 12:31 AM Alex Balashov > wrote: > >> pipelimit is how I'd go about

Re: [SR-Users] Call in Progress Recovery in Redundancy

2020-08-12 Thread Raúl Alexis Betancor Santana
You should first train youself about SIP, Kamailio It's a SIP-Proxy/Router, It doesn't "answer" calls ... It's just sitting in the SIP signaling path of the call. About DTMF, the same ... if you use SIP-INFO for DTMF, you will see them routed throught Kamailio, but anything more. You have a

Re: [SR-Users] Example config for webRTC-SIP kamailio.cfg for sip.js

2020-08-12 Thread Raúl Alexis Betancor Santana
If by "failed on kamailiio restart", you mean than the WebRTC conection get closes, that's normal ... It's a TCP conection, that when you restart Kamailio, will be closed. From: "Johnny Ritzer" To: "Kamailio" Sent: Tuesday, August 11, 2020 6:57:44 AM Subject: [SR-Users] Example config

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Hello, OK, so I've added it as a first function in the request_route. I will keep you updated. Thanks On Wed, 12 Aug 2020 at 11:20, Daniel-Constantin Mierla wrote: > Hello, > > try with dlg_manage() before any of the dialog functions/vars -- I noticed > a condition for skipping double

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Daniel-Constantin Mierla
Have you tried to do "SELECT LAST_INSERT_ID()" with sql_query() from sqlops module? Cheers, Daniel On 12.08.20 11:24, Kjeld Flarup wrote: > In the configuration file.  > >   Kjeld > > Den ons. 12. aug. 2020 kl. 11.14 skrev Daniel-Constantin Mierla > mailto:mico...@gmail.com>>: > > Hello, > >

[SR-Users] Kamailio configuration ??

2020-08-12 Thread Amit Pal
Dear Team, I am glad to work with kamailio Team, I am using kamailio freeswitch integration. I want to work like this. My all subscriber register at kamailio. My application server is freeswitch. Now I want ask is this possible at kamailio? "when subscriber establish their call then

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Hello, Yes, ACK have the To-tag: *To: >;tag=05e27170-ffe5-4e90-b785-9a2fffa0194d* Yes, I'm using dlg_va() function before calling dlg_manage() function. Could that be the reason? What is strange is that this is happening randomly (20-30 calls per day) with some of the calls only, and cannot be

Re: [SR-Users] Call in Progress Recovery in Redundancy

2020-08-12 Thread Daniel-Constantin Mierla
Hello, Kamailio is not an end point, thus it does not answer the call, it is only a SIP proxy (a node in the middle of the SIP signalling channel, relaying the SIP messages between caller and callee sides). Unless you develop code in both kamailio and freeswitch, there is no way to have

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Daniel-Constantin Mierla
Do you have the pcap with the traffic of this call? Does the ACK has the To-tag? Do you access dialog in any other way before calling dlg_manage() (e.g., by $dlg_var() or other function from dialog module)? Cheers, Daniel On 12.08.20 11:48, Ilie Soltanici wrote: > Unfortunately that's everything

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Unfortunately that's everything I can see for this call, maybe the systemd daemon didn't log all the messages. It's strange as I have all ratelimit's disabled. I will try get another call log, hope that I would be able to get more information there. Thanks On Wed, 12 Aug 2020 at 10:24,

Re: [SR-Users] Kamailio v5.4.0 RPM Availability

2020-08-12 Thread Daniel-Constantin Mierla
I updated the page, can you check the commands to install and activate the repos for 5.3 and 5.2 releases? I just set them using version numbers, but I am not sure they are correct. The signatures ensure integrity, good to know the packages are signed. Some people prefer https for privacy, I

Re: [SR-Users] Call in Progress Recovery in Redundancy

2020-08-12 Thread amitsharma
Hello Daniel, Please suggest is there any workout for this problem. Thanks, Amit Sharma From: amitsha...@coraltele.com Sent: Tuesday, August 11, 2020 11:13 AM To: 'mico...@gmail.com' ; 'Kamailio (SER) - Users Mailing List' Subject: RE: [SR-Users] Call in Progress Recovery in

Re: [SR-Users] ACK no transaction found if re-invite

2020-08-12 Thread Daniel-Constantin Mierla
Hello, can you send the SIP traffic of such call in a pcap file? It makes it easier to investigate with sngrep/wireshark instead of trying to read through text output of the SIP traffic that you pasted in the first email. Cheers, Daniel On 12.08.20 11:05, Techinnovation wrote: > Re: [SR-Users]

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Kjeld Flarup
In the configuration file. Kjeld Den ons. 12. aug. 2020 kl. 11.14 skrev Daniel-Constantin Mierla < mico...@gmail.com>: > Hello, > > do you need it in the configuration file, or inside C code? > > Cheers, > Daniel > > On 12.08.20 00:09, Kjeld Flarup wrote: > > Hello > > > > I wonder if there

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Daniel-Constantin Mierla
Hello, are these all debug messages printed for ACK processing? There should be a log message like: ... changed from state X to state Y ... Cheers, Daniel On 12.08.20 10:56, Ilie Soltanici wrote: > Hello, > > After a couple of days trying to run kamailio in debug mode 3 finally > I was able

Re: [SR-Users] Mysql lastinsertid

2020-08-12 Thread Daniel-Constantin Mierla
Hello, do you need it in the configuration file, or inside C code? Cheers, Daniel On 12.08.20 00:09, Kjeld Flarup wrote: > Hello > > I wonder if there is some way to get the lastinsertid from an "INSERT > INTO" sql_query > > --  > Med Liberalistiske Hilsner

Re: [SR-Users] Dialog - timeout for dlg with CallID

2020-08-12 Thread Ilie Soltanici
Hello, After a couple of days trying to run kamailio in debug mode 3 finally I was able to catch one call with this issue. Please see below the Debug Log for the ACK: Aug 12 08:37:38 kamailio.localhost kamailio[28296]: DEBUG: {INVITE (2) | Seq=103 | Source IP=192.168.89.110 (udp) | Call ID=

Re: [SR-Users] Kamailio v5.4.0 RPM Availability

2020-08-12 Thread Sergey Safarov
yes, 5.3 and 5.2 also hosted on rpm.kamailio.org So on OBS may be hosted 4.x and 5.0. https also may be used. but this not matter because each RPM file has GPG signature and repo database also has a signature. Sergey On Wed, Aug 12, 2020 at 10:52 AM Daniel-Constantin Mierla wrote: > Hello, >

Re: [SR-Users] Kamailio v5.4.0 RPM Availability

2020-08-12 Thread Daniel-Constantin Mierla
Hello, thanks, I will clean up the content of that page. A few questions:   - I see that the repo has also packages for 5.3.x versions, isn't it? If yes, I am going to add a section for it as well and move the OBS content completely out. Seems to be also for 5.2.x   - the web server on that

Re: [SR-Users] How to check TLS versions available

2020-08-12 Thread Daniel-Constantin Mierla
Hello, for sure you can test if a specific tls version is supported, like: openssl s_client -tls1_3 ... In Kamailio one can restrict what tls versions to enable/allow via modparam or tls.cfg, but the support of tls versions is coming from libssl, so it is a matter of what libssl version is used