[SR-Users] Re: t_append_branches() and "dead" tcp connections

2024-10-06 Thread Henning Westerholt via sr-users
Sure, it’s a workaround. It probably could be fixed in the ts_append(..) function, or in one of the functions that its uses (like from tm). Cheers, Henning From: Ihor Olkhovskyi Sent: Freitag, 4. Oktober 2024 10:26 To: Henning Westerholt ; Kamailio (SER) - Users Mailing List Subject: Re: [SR

[SR-Users] Re: t_append_branches() and "dead" tcp connections

2024-10-04 Thread Henning Westerholt via sr-users
Sure, it’s a workaround. It probably could be fixed in the ts_append(..) function, or in one of the functions that its uses (like from tm). Cheers, Henning From: Ihor Olkhovskyi Sent: Freitag, 4. Oktober 2024 10:09 To: Henning Westerholt ; Kamailio (SER) - Users Mailing List Subject: Re: [SR

[SR-Users] Re: t_append_branches() and "dead" tcp connections

2024-10-04 Thread Henning Westerholt via sr-users
Hello, already tried to use short TCP keepalive intervals on a network level? This way the dead connections should be detected and removed. Cheers, Henning From: Ihor Olkhovskyi Sent: Freitag, 4. Oktober 2024 10:09 To: Henning Westerholt ; Kamailio (SER) - Users Mailing List Subject: Re: [S

[SR-Users] Re: t_append_branches() and "dead" tcp connections

2024-10-04 Thread Henning Westerholt via sr-users
Hello Ihor, what just about setting handle_lost_tcp to 1 to remove dead TCP connection and to prevent this error? Cheers, Henning From: Ihor Olkhovskyi via sr-users Sent: Donnerstag, 3. Oktober 2024 21:04 To: Kamailio (SER) - Users Mailing List Cc: Ihor Olkhovskyi Subject: [SR-Users] t_appe

[SR-Users] Re: Pseudo Variable containing 'path' of main branch? / How to compose $du manually with path?

2024-09-23 Thread Henning Westerholt via sr-users
Hello Benoit, ok, thanks for the additional information. I would probably solve it the classical way, by adding one layer of indirection. Have a mapping table for the real number +49XXX for lookup the two user77 and user88 records which you then lookup from the normal location table. Maybe by

[SR-Users] Re: Pseudo Variable containing 'path' of main branch? / How to compose $du manually with path?

2024-09-20 Thread Henning Westerholt via sr-users
Hello Benoit, just to double check, you are aware that lookup() will also work with multiple contacts, e.g. will create additional branches that can be used to fork additional calls to the other contacts? And there is also a lookup_branches() function that will lookup for main branch and additi

[SR-Users] Re: Kamailio not listening to SIP despite setup OK

2024-09-18 Thread Henning Westerholt via sr-users
Hello, it could be a strange kind of MTU or other packet size issue. OPTIONS messages are probably much smaller as e.g. an INVITE with SDP, so they might not reach the Kamailio process for some reasons. Do some tests maybe with a softphone or some pings and increase the package size. Of course

[SR-Users] Re: sni:uknown error in logs

2024-09-18 Thread Henning Westerholt via sr-users
Hello, the error message indicates that the problem is related to the cipher support. Did you already compared the list of supported ciphers from the Zoom side and your side, e.g. with the methods listed here: https://superuser.com/questions/109213/how-do-i-list-the-ssl-tls-cipher-suites-a-parti

[SR-Users] Re: Being added to the email marketing database of a 'kamailio developing' company after posting to list?

2024-09-18 Thread Henning Westerholt via sr-users
Hello Benoit, posting to this list does not imply that your e-mail address is added to some databases for commercial purposes. Also, other people receive these messages from this marketing company or others after posting to this list for some time. I'd guess these companies probably just colle

[SR-Users] Re: rtpengine module

2024-09-16 Thread Henning Westerholt via sr-users
Hello Daniel, sure. I don't know about the encrypted call failover for rtpengine details on top of my head, if nobody else on this list can share some insight you probably need to test it. Regarding the mentioned module in another project, similar functionality could be introduced, the dialog

[SR-Users] Re: rtpengine module

2024-09-16 Thread Henning Westerholt via sr-users
Hello Daniel, there are RPC commands to easily drain a rtpengine node, there is no need for fancy re-INVITE sending logic etc.. Have also a look to the "rtpengine_allow_op" parameter. Regarding the keydb, I think you did not look much into it. It's a clustered redis basically, without the need

[SR-Users] Re: rtpengine module

2024-09-16 Thread Henning Westerholt via sr-users
Hello, Kamailio does not provide B2BUA functionality which would be needed for this to work. There are some modules that implement some functionality in this area, like the rtp_media_server module, you can have a look there. Have a look at this old discussion for more details: https://sr-users

[SR-Users] Re: About error running PCSCF

2024-09-15 Thread Henning Westerholt via sr-users
Hello, the tutorial is using a Kamailio version that its long end of life (5.3.x). Some of the instructions given there are also a bit odd, like first installing rtpproxy, and then replacing it with rtpengine. Maybe you can reach out to the author of the tutorial. You need to understand how t

[SR-Users] Re: Setting $du to websocket-secure

2024-09-04 Thread Henning Westerholt via sr-users
Hello James, Thanks for sending the logs. I just briefly looked to the log files, at least the port 443 "wrong" scenario looks similar from the error message to the issue described here from somebody else: https://github.com/kamailio/kamailio/issues/3969 Cheers, Henning > -Original Messag

[SR-Users] Re: Using a different OpenSSL

2024-09-04 Thread Henning Westerholt via sr-users
Hello David, thanks for reporting back. Just for the archives, the code change mentioned below was also integrated in git master. Cheers, Henning From: David Cunningham via sr-users Sent: Mittwoch, 4. September 2024 01:41 To: Kamailio (SER) - Users Mailing List Cc: David Cunningham Subject:

[SR-Users] Re: Setting $du to websocket-secure

2024-08-30 Thread Henning Westerholt via sr-users
Hello James, It sounds a bit like a similar issue that was fixed some time ago for overlapping TCP and TLS sockets: https://github.com/kamailio/kamailio/pull/3810 Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com > -Original Messag

[SR-Users] Re: Kamailio integration with REST services

2024-08-29 Thread Henning Westerholt via sr-users
27, 2024, at 7:57 AM, Henning Westerholt via sr-users us...@lists.kamailio.org> wrote: > > > > htable would be individual per server. > > It's worth pointing out that htable can be replicated via DMQ. > > This might seem like needless pedantry, but I'v

[SR-Users] Re: kamailio randomly crashes

2024-08-28 Thread Henning Westerholt via sr-users
Thanks for reporting it back. It should not crash, but of course the DB situation could create some special error cases in the module. Cheers, Henning From: Maharaja Azhagiah Sent: Dienstag, 27. August 2024 22:59 To: Henning Westerholt Cc: Kamailio (SER) - Users Mailing List Subject: Re: [SR

[SR-Users] Re: apply keepalive to only udp

2024-08-27 Thread Henning Westerholt via sr-users
Hello James, on easy alternative would be to use the nathelper pinging method. It also supports UDP ping, and you can specify it on a registration level with a certain flag if you want to ping or not. Cheers, Henning From: James Lipski via sr-users Sent: Dienstag, 20. August 2024 17:01 To: s

[SR-Users] Re: Kamailio integration with REST services

2024-08-27 Thread Henning Westerholt via sr-users
Hello, don’t looked into the details, but the kamailio jwt module has a verify function (https://www.kamailio.org/docs/modules/stable/modules/jwt.html) Regarding storage, you can easily store them in a DB table with sqlops, or in htable in memory with automatic 24h expiry, just two options. The

[SR-Users] Re: http_async and tm

2024-08-27 Thread Henning Westerholt via sr-users
Hi Ben, yes, for a stable load without fluctuations you will have a similar throughput with synchronous and asynchronous after a short time. The asynchronous HTTP client only helps you if you are having other traffic that can be handled without the need for HTTP API calls, and/or if you are ha

[SR-Users] Re: http_async and tm

2024-08-26 Thread Henning Westerholt via sr-users
Hello Alex, I agree. If you can avoid e.g. using some cloud-based API server architecture that requires the extensive use of synchronous or asynchronous HTTP requests in Kamailio, this will be of course easier and probably also more performant. But sometimes you don't have the choice, e.g. if t

[SR-Users] Re: http_async and tm

2024-08-25 Thread Henning Westerholt via sr-users
Hello Alex, are you saying that using Kamailio with HTTP is not performant at all? This has not been my experience so far. I think many people are using it for large infrastructures. Your remarks regarding the latency and addressing the bottlenecks first are of course valid. Regarding children

[SR-Users] Re: Using a different OpenSSL

2024-08-23 Thread Henning Westerholt via sr-users
Hello David, the version output is indeed the compiled version, sorry for the mistake. Check with the lsof command given earlier for the actually linked version. Otherwise, you could compile a custom kamailio specifically with a local OpenSSL by adapting the library paths, I think. But maybe i

[SR-Users] Re: Using a different OpenSSL

2024-08-21 Thread Henning Westerholt via sr-users
Hello David, does it work when you start the kamailio manually on the command line, not with systemd? Cheers, Henning From: David Cunningham Sent: Dienstag, 20. August 2024 02:32 To: Henning Westerholt Cc: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Re: Using a different Ope

[SR-Users] Re: Suspected memory leak in module ims_registrar_pcscf

2024-08-21 Thread Henning Westerholt via sr-users
Hello, thanks for the report. It would be great if you could create a pull-request on our github tracker about the suggested change in the module, to make it easier to review and possible merge to the code base. Thanks, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio servi

[SR-Users] Re: low performance with udp_children and async_workers

2024-08-19 Thread Henning Westerholt via sr-users
Hello, my recommendation would be to adapt your data model and possible review your query design. 40 million records will not hit the limits for a proper relational database. You are trying to do something with Kamailio which the software was not optimized for. What module you are using for thi

[SR-Users] Re: low performance with udp_children and async_workers

2024-08-19 Thread Henning Westerholt via sr-users
Hello, 40GB is really large, I don't think this is a scenario where people commonly use Kamailio for it. What is the large data you need to store in shared memory? Maybe it would be more appropriate to use a proper data store for this data, like an SQL or NOSQL database with large memory cache

[SR-Users] Re: Using a different OpenSSL

2024-08-16 Thread Henning Westerholt via sr-users
Hello David, I have not tried it, but it might be the problem that you need to specify library name and library paths independently, e.g. refer to this discussion: https://stackoverflow.com/questions/72862714/systemd-ignores-ld-preload-variable-and-service-cant-start Cheers, Henning -- Hennin

[SR-Users] Re: secfilter (and more modules) in kamailio kemi

2024-08-16 Thread Henning Westerholt via sr-users
Hello, just to add - its of course also always possible to create a PR for it. In fact there is already a PR open for secfilter, so it will be available in the future after it was merged: https://github.com/kamailio/kamailio/pull/3946 Cheers, Henning > -Original Message- > From: iamol

[SR-Users] Re: certificate verify failed (sni: unknown) integration with ms teams

2024-08-15 Thread Henning Westerholt via sr-users
Hello Fred, letsencrypt works just fine with MS Teams. Cheers, Henning > -Original Message- > From: Fred Posner via sr-users > Sent: Donnerstag, 15. August 2024 16:30 > To: Kamailio (SER) - Users Mailing List > Cc: Fred Posner > Subject: [SR-Users] Re: certificate verify failed (sni:

[SR-Users] Re: kamailio randomly crashes

2024-08-14 Thread Henning Westerholt via sr-users
Hello, thanks for reproducing it with a recent version. Could you maybe share (privately by e-mail) the routing data SQL dump that we reproduce it? Feel free to remove any private information like host names etc.., as long as it keeps crashing its fine. Cheers, Henning -- Henning Westerholt

[SR-Users] Re: Best Practices for Scaling Kamailio in a Large VoIP Deployment

2024-08-07 Thread Henning Westerholt via sr-users
Hello Mojtaba, did you know about some benchmarks to support that LRKProxy has superior performance wise compared to rtpengine? Thanks, and regards, Henning From: Mojtaba via sr-users Sent: Mittwoch, 7. August 2024 11:49 To: Kamailio (SER) - Users Mailing List Cc: Mojtaba Subject: [SR-Users

[SR-Users] Re: Multiple TLS connections to the same IP:Port

2024-08-05 Thread Henning Westerholt via sr-users
Hello, not to comment on the specific error, but the correct way to support multiple MS Teams endpoints is to use the carrier model of the MS Teams SBC architecture with sub-domains. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com

[SR-Users] Re: Kamailio hang Issue

2024-08-05 Thread Henning Westerholt via sr-users
Hello, there is a command to get a backtrace from the hanging processes, refer e.g. to: https://lists.kamailio.org/pipermail/sr-users/2015-September/090121.html Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: s

[SR-Users] Re: Using a different OpenSSL

2024-08-01 Thread Henning Westerholt via sr-users
Hello, I would try something like this: https://stackoverflow.com/questions/426230/what-is-the-ld-preload-trick Kamailio will output the version of the library on startup: /var/log/kamailio.log.1:Jul 31 20:09:04 kama01 /usr/sbin/kamailio[31049]: INFO: tls [tls_mod.c:448]: mod_init(): use OpenS

[SR-Users] Re: kamailio randomly crashes

2024-07-24 Thread Henning Westerholt via sr-users
Hello, my suggestion would be to do an update to e.g. 5.8.2, as the version 5.4.9 is long end of life. It crashed during a routing reload for carrierroute module. If you are still seeing crashes after the update, please let us know. Cheers, Henning -- Henning Westerholt – https://skalatan.de/b

[SR-Users] Re: Listening on multiple TLS ports

2024-07-21 Thread Henning Westerholt via sr-users
> On Jul 21, 2024, at 6:57 AM, Henning Westerholt via sr-users us...@lists.kamailio.org> wrote: > > > > For TCP/TLS the server uses a different approach, but this is still > > something > that probably was rarely tested. So, give it a try, but there might be some > iss

[SR-Users] Re: Listening on multiple TLS ports

2024-07-21 Thread Henning Westerholt via sr-users
Hello, you can have multiple listen statements of course. Ranges are not supported. If you don’t want to create them by copy/paste, investigate something like ansible or similar tools. For UDP Kamailio would start n children each per listening socket, so 2k sockets would not work without some

[SR-Users] Re: how to upgrade kamailio minor release from 5.7.5 to 5.7.6

2024-07-14 Thread Henning Westerholt via sr-users
Hello, Just have a look to the announcements: " There is no change that has to be done to configuration file or database structure comparing with the previous releases of the v X.X branch." So, you just do an upgrade with the standard operating system tools your linux system provides. Cheers,

[SR-Users] Re: Change the To Header in the failure_route

2024-07-12 Thread Henning Westerholt via sr-users
Hello, the $ct pseudo-variable is for accessing the Contact header, I don't understand how this is related to retrieving a To tag. Cheers, Henning -Original Message- From: Maria Jonas via sr-users Sent: Friday, July 12, 2024 11:24 AM To: sr-users@lists.kamailio.org Cc: Maria Jonas S

[SR-Users] Re: routing call depending on which IP address SIP message reached Kamailio

2024-07-12 Thread Henning Westerholt via sr-users
Just to add, if you want to get even more flexibility by supporting also different failover levels/domains, you can decide to use different carrier per trunk group. Henning From: Henning Westerholt Sent: Friday, July 12, 2024 1:49 PM To: Kamailio (SER) - Users Mailing List Cc: Sergio Charrua

[SR-Users] Re: routing call depending on which IP address SIP message reached Kamailio

2024-07-12 Thread Henning Westerholt via sr-users
Hello, of course there are many ways how to do it. One thing that comes into my mind is to use the carrierroute module, which supports different “domains” or levels inside the tree to differentiate between different (trunk) groups. Like use routing tree level 1 for trunk group 1, 2 for trunk gr

[SR-Users] Re: New Member Introduction

2024-07-11 Thread Henning Westerholt via sr-users
Hello Maria, welcome! This Users mailing list is the place if you have questions related to the usage of Kamailio or some challenges about configuration scripts etc.. You can just write an e-mail to the list address, and everybody on this list will receive it. Sometimes it takes a bit of time f

[SR-Users] Re: Possible Kamailio memmory leak - version 5.8.2

2024-07-10 Thread Henning Westerholt via sr-users
Hello Vanderlei, thanks for the follow up, this looks indeed suspicious. I think Daniel already pushed a possible fix to git master branch, maybe you give this a try to see if it solves your problem. Cheers, Henning From: Vanderlei Torres Batistela via sr-users Sent: Mittwoch, 10. Juli 2024

[SR-Users] Re: Possible Kamailio memmory leak - version 5.8.2

2024-07-09 Thread Henning Westerholt via sr-users
Hello, thanks for the report. Could you maybe point out where the increase happens in the shared memory statistics, e.g. by doing some more calls and executing the stats command again? If you don't get a reply in time on the open-source support list, you can also open an issue on our github tr

[SR-Users] Re: Change the To Header in the failure_route

2024-07-09 Thread Henning Westerholt via sr-users
Hello, you probably want to look into adding a B2BUA component or fix your UAC. Kamailio will generate a random To tag by default, as required by the RFC 3261, section 19.3. This way the UAC can differentiate between the response from the UAS part before and the Kamailio proxy server. Cheers,

[SR-Users] Re: replies using the wrong protocol

2024-06-27 Thread Henning Westerholt via sr-users
Thanks for reporting back. Henning -Original Message- From: smartin114--- via sr-users Sent: Tuesday, June 25, 2024 9:34 PM To: sr-users@lists.kamailio.org Cc: smartin...@me.com Subject: [SR-Users] Re: replies using the wrong protocol In the end it was a very straight forward change.

[SR-Users] Re: Possibility to print values of Core Keywords in Kamailio configuration file

2024-06-20 Thread Henning Westerholt via sr-users
Hello, are you saying you are getting a different result when using: - src_port, vs. - $sp If not, please give more details what you are interested in. Cheers, Henning > -Original Message- > From: sadik.oualla.mohamed--- via sr-users > Sent: Donnerstag, 20. Juni 2024 14:07 > To: sr-u

[SR-Users] Re: exec concurrency

2024-06-18 Thread Henning Westerholt via sr-users
Hello Jon, the exec module implementation is not particular efficient. It basically creates a pipe to pass the commands to the shell and forks a new process. I would not recommend it you have more then moderate load on your system, and/or need to deal with load spikes. If you need to execute s

[SR-Users] Re: Psresence dialoginfo question

2024-06-17 Thread Henning Westerholt via sr-users
Hello, as you probably are aware of, the presence_dialoginfo module just enables the specific dialog package support. Actually, sending out dialog-info needs support from other modules. You’ll will have more freedom in constructing the PUBLISH and subsequently the NOTIFY by using pua_rpc or pua

[SR-Users] Re: topos module issue on hangup

2024-06-13 Thread Henning Westerholt via sr-users
Great, thanks for reporting back. Cheers, Henning From: Arun K R Sent: Thursday, June 13, 2024 10:46 AM To: Henning Westerholt Cc: Kamailio (SER) - Users Mailing List ; Patrick Karton Subject: Re: [SR-Users] Re: topos module issue on hangup Thank you, I have solved it. The issue was we are

[SR-Users] Re: topos module issue on hangup

2024-06-12 Thread Henning Westerholt via sr-users
Hello, if you are doing this manual remove_hf(..) steps in relation to a Record-Route header, you are most certainly doing something wrong in your configuration. Maybe you can first try a setup (e.g. in your lab) without topos. It should continue to work also after you have added topos then the

[SR-Users] Re: Filtering codes in db acc

2024-06-06 Thread Henning Westerholt via sr-users
Hello, just to double check, you are also setting this two flags then in processing the INVITE, right? Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com > -Original Message- > From: Jon Bonilla (Manwe) via sr-users > Sent: Donne

[SR-Users] Re: [sr-dev] core dump on AWS with ~4000 TCP sockets

2024-05-31 Thread Henning Westerholt via sr-users
Hello David, please share the usual details, e.g.: * Kamailio version * Operating system version * OpenSSL version Furthermore please try to enable core dumping and have a look to the backtrace. Cheers, Henning Westerholt -- Henning Westerholt – https://skalatan.de/blog/ Kamailio

[SR-Users] Re: Failover with dialog dmq while dialog state 2

2024-05-27 Thread Henning Westerholt via sr-users
Hello Björn, understand, sure. You could create a feature request for this topic on our tracker, but of course this does not mean that it will be implemented by somebody. If you have some stricter business requirements around this topic, maybe you could also speak with one of the companies on t

[SR-Users] Re: Is there any funtion to route based on source phone number

2024-05-23 Thread Henning Westerholt via sr-users
Hello, the carrierroute module also supports the longest prefix match of course. Cheers, Henning > -Original Message- > From: Juha Heinanen via sr-users > Sent: Dienstag, 21. Mai 2024 16:08 > To: Kamailio (SER) - Users Mailing List > Cc: SAMUEL MOYA TINOCO ; Juha Heinanen > > Subject

[SR-Users] Re: A question about Db_flatstore Module in Kamailio

2024-05-20 Thread Henning Westerholt via sr-users
Hello, just to add, in 5.8.0 there is also a new module available, file_out which offers custom logging including file rotation, which might be interested in this case. Cheers, Henning From: Sergio Charrua via sr-users Sent: Sonntag, 19. Mai 2024 17:23 To: Kamailio (SER) - Users Mailing List

[SR-Users] Re: Segfault on startup when using TLS in kamailio 5.7.4

2024-05-17 Thread Henning Westerholt via sr-users
Hello, In the releases after 5.7.2 there have been a lot of TLS related changes. There were necessary due to several critical memory corruption bugs due to implementation decisions from the OpenSSL team in version 3.x. These changes were somewhat larger as usually expected in minor releases, bu

[SR-Users] Re: Failover with dialog dmq while dialog state 2

2024-05-15 Thread Henning Westerholt via sr-users
Hello Björn, Thanks for the update. This sounds indeed a like a somewhat ugly hack. 😉 It should be probably fixed in the code instead of manually creating KDMQ messages to update the dialog module state in the cfg. Cheers, Henning From: Björn Klasen via sr-users Sent: Freitag, 10. Mai 2024 13

[SR-Users] Re: TLS module crashes with FIPS OpenSSL

2024-05-15 Thread Henning Westerholt via sr-users
Hello, ok – so we probably had a slight misunderstanding here. I at least thought you are having a problem (crash) in the openssl FIPS part that causes Kamailio to stop. If its only causing a crash at stopping time, this is of course less critical, nevertheless it should be fixed. Maybe you c

[SR-Users] Re: TLS module crashes with FIPS OpenSSL

2024-05-14 Thread Henning Westerholt via sr-users
Hello, this looks like a crash during the server shutdown (probably caused from another earlier issue). Can you look if you’ve got another coredump that maybe shows the actual reason? Cheers, Henning From: Marat Gareev Sent: Dienstag, 14. Mai 2024 13:47 To: Henning Westerholt Cc: Kamailio (

[SR-Users] Re: dynamic selection of authentication algorithm

2024-05-14 Thread Henning Westerholt via sr-users
Hello, I probably missed that feedback was expected. I would be interested in this functionality in git master. Cheers, Henning > -Original Message- > From: Juha Heinanen via sr-users > Sent: Dienstag, 14. Mai 2024 13:01 > To: mico...@gmail.com > Cc: Kamailio (SER) - Users Mailing Lis

[SR-Users] Re: TLS module crashes with FIPS OpenSSL

2024-05-13 Thread Henning Westerholt via sr-users
Hello, are you on openssl 3.x by any chance? If yes, please upgrade to kamailio 5.7.5 or 5.8.1 and set tls_thread_mode=2 in the kamailio.cfg, as it fixes certain memory corruption issues on this openssl version. If you are still getting crashes after the upgrade and setting, please let us know,

[SR-Users] Re: Failover with dialog dmq while dialog state 2

2024-05-09 Thread Henning Westerholt via sr-users
Hello, thanks for the detailed e-mail. As also indicated in the module documentation, the dialog module DMQ replication will not replicate everything, its main use-case is for profile data sharing. https://kamailio.org/docs/modules/5.8.x/modules/dialog.html#dialog.p.enable_dmq In the past mont

[SR-Users] Re: Is there any way to modify the Refer-To header username?

2024-05-09 Thread Henning Westerholt via sr-users
Hello, there are other functions in textops module, e.g. subst(..) that can be used to do replacements. Have a look to this module for more details and examples. The approach of deleting and adding it new works as well, of course. Cheers, Henning -- Henning Westerholt - https://skalatan.de/b

[SR-Users] Re: Error by installing new Rel. 5.8

2024-04-29 Thread Henning Westerholt via sr-users
Hello, check where your modules were actually installed and adapt your cfg module path if necessary. It can not find the modules as indicated from the error messages. Cheers, Henning > -Original Message- > From: lm.eng--- via sr-users > Sent: Donnerstag, 25. April 2024 10:59 > To: sr

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-29 Thread Henning Westerholt via sr-users
Hello, I think you just don't need to install the rtpengine kernel modules package, then it should not be done. Cheers, Henning > -Original Message- > From: christian.marinelli--- via sr-users > Sent: Montag, 29. April 2024 14:28 > To: sr-users@lists.kamailio.org > Cc: christian.marin

[SR-Users] Re: Understanding NAT Flags

2024-04-29 Thread Henning Westerholt via sr-users
Hello, FLT_NATS - NAT source (source behind NAT) FLB_NATB - NAT branch (usrloc destination behind NAT) As Alex mentioned, there are different ways to do NAT handling. Some people prefer the manual approach as done in the kamailio default configuration, some (more) people nowadays just to it in

[SR-Users] Re: Sudden TCP errors and shared memory spikes

2024-04-29 Thread Henning Westerholt via sr-users
Hello, if Kamailio can’t send out messages due to network issues I would expect some spikes in private and/or shared memory usage. Have you investigated e.g., with some traces to get more information about the possible causes of this issues? Besides that, with the given information I can only

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-29 Thread Henning Westerholt via sr-users
Hello, regarding the package compilation phase at installing rtpengine, this is required if you want to use the kernel module for better performance. If you don't install the kernel module, there should be no compilation and no compiler etc.. installed. Just try if this fits more to your require

[SR-Users] Re: Outbound Proxy/Forwarder

2024-04-29 Thread Henning Westerholt via sr-users
Hello, the default cfg is usually not a bad starting point. There are e.g. also parts in it for authentication, both for username/password based and also for ip-based. You can actually activate the ip authentication with a define, I think. Cheers, Henning -- Henning Westerholt – https://skala

[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Henning Westerholt via sr-users
Hello, your main assumption regarding the evaluation of return values is wrong. Refer e.g. to this documentation for details on how is evaluated. https://www.kamailio.org/wikidocs/cookbooks/5.8.x/core/#return Cheers, Henning From: Pavan Kumar via sr-users Sent: Freitag, 26. April 2024 23:18

[SR-Users] Re: Compatibility issue between proxy and registrar

2024-04-25 Thread Henning Westerholt via sr-users
Hello, in case you like to synchronize between 5.5.x and 5.7.x with DMQ – this is not recommended and in fact also not supported. You need to stay in one major version within a DMQ cluster (e.g. only 5.5.x or 5.7.x). Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio

[SR-Users] Re: Missing newline in dbtext tables causes crash and core dump

2024-04-22 Thread Henning Westerholt via sr-users
Hello, it should indeed not crash. If you can reproduce it, it would be great if you can create an issue on our tracker about it. Ideally also append a small cfg and a small example dbtext file that shows the crash. Thanks, Henning From: Marrold via sr-users Sent: Montag, 22. April 2024 19:1

[SR-Users] Re: lcr module, avp_subst to $avp(i:709)

2024-04-19 Thread Henning Westerholt via sr-users
Hello, If the input data is somehow well formed, you could use the following transformation to split around the pipe character for example: https://www.kamailio.org/wiki/cookbooks/devel/transformations#sselect_index_separator Cheers, Henning > -Original Message- > From: Ricardo Castil

[SR-Users] Re: Problem with logrotate in Ubuntu 22.04!

2024-04-17 Thread Henning Westerholt via sr-users
Hello, try to use: postrotate /usr/lib/rsyslog/rsyslog-rotate 2> /dev/null || true Endscript Cheers, Henning > -Original Message- > From: christian.marinelli--- via sr-users > Sent: Dienstag, 16. April 2024 18:27 > To: sr-users@lists.kamailio.org > Cc:

[SR-Users] Re: Kamailio crash due to UDP receiver child (kamailio 5.5.5)

2024-04-16 Thread Henning Westerholt via sr-users
Hello, the usual suggestion is to first upgrade to a supported version, as 5.5.x is end of life. Please upgrade to e.g. 5.8.1 version. You will need probably a bit of kamailio cfg adaptions and maybe some DB script adaptions. Cheers, Henning From: satyaprakash ch via sr-users Sent: Dienstag,

[SR-Users] Re: About the operating environment of Kamailio

2024-04-15 Thread Henning Westerholt via sr-users
Hello, the note regarding the atomic operation fallback should not affect the functionality, it's just that Kamailio is not (yet) perfectly adapted to that specific architecture. Cheers, Henning > -Original Message- > From: 山本 哲也 via sr-users > Sent: Montag, 15. April 2024 06:43 > To

[SR-Users] Re: Solution found: Race condition in dialog on 422 reply deletes variables.

2024-04-10 Thread Henning Westerholt via sr-users
Hello Benoit, yes, there have been multiple reports of setflag together with dialog does not working correctly over the years, and dlg_manage needs to be used. We probably should remove the setflag for dialog to prevent confusion. Cheers, Henning > -Original Message- > From: Benoit Pan

[SR-Users] Re: low performance with no apparent reason

2024-04-05 Thread Henning Westerholt via sr-users
Hello, you should be able to decrease the private memory substantially, as this is per process. This much is never needed. On the other hand, you should probably increase the shared memory if you are having a lot of transactions going on, TLS etc.. This is per server, so you can configure more.

[SR-Users] Re: RFC: uptime metric for xhttp_prom module

2024-04-04 Thread Henning Westerholt via sr-users
Hello Ovidiu, nothing against it from my side. I would recommend using the existing variable " xhttp_prom_stats" for activating/deactivation. Just think we should not introduce to many single purpose variables, especially for a value which is always available without any dependencies. Cheers,

[SR-Users] Re: [Presence] Updating route information for SIP NOTIFY when re-SUBSCRIBE

2024-03-26 Thread Henning Westerholt via sr-users
Hello Denys, If you have some sipp scripts to reproduce the issue, creating an issue in our github about it would be probably a good idea. Cheers, Henning From: Denys Pozniak via sr-users Sent: Mittwoch, 13. März 2024 13:50 To: Kamailio (SER) - Users Mailing List Cc: Fred Posner ; Denys Pozn

[SR-Users] Re: http_async_query on carrierfailureroute changes rd back to carrieroute primary

2024-03-19 Thread Henning Westerholt via sr-users
Hello, Using http_async_query can change some script behaviour due to some side effects, I noticed this also e.g. on rtpengine functions. I did not looked into your cfg in details, but one easy option from your side would be to try a maintained Kamailio version (e.g. 5.7.x) and see if the prob

[SR-Users] Re: append_hf not working

2024-03-11 Thread Henning Westerholt via sr-users
Hello, the usage of msg_apply_changes is not necessary (not even recommended) for append_hf (and other functions) to work. The OP was talking about a packet capture, so I assume that he got the capture after the proxy send out the message. Cheers, Henning -- Henning Westerholt – https://ska

[SR-Users] Re: direct media between UACs

2024-03-08 Thread Henning Westerholt via sr-users
Hey Sergio, thanks for the detailed explanation. If you like you could create a PR for this topic against the module docs XML file. Cheers, Henning From: Sergio Charrua via sr-users Sent: Donnerstag, 7. März 2024 18:10 To: Kamailio (SER) - Users Mailing List Cc: Sergio Charrua Subject: [SR-

[SR-Users] Re: from TCP to UDP and Kamailio doing it wrong

2024-03-08 Thread Henning Westerholt via sr-users
Hello, this sound indeed strange, as this is used from many people without any problems. Its not expected to use C programming to alter the message transport for relaying. If you can reproduce and minimize the problem towards a small test cfg and a test message, it would be great if you could

[SR-Users] Re: Question for RFC junkies / kamailio modifying message bodies

2024-03-06 Thread Henning Westerholt via sr-users
Hello Christoph, Kamailio is providing a lot of different functions. Some of these functions could be used to implement a network element with features which are forbidden in the RFC 3261 and/or other relevant RFCs. One of the most prominent examples is e.g., rewriting of From and To headers. I

[SR-Users] Re: RADIUS ACC - Interim Updates

2024-03-04 Thread Henning Westerholt via sr-users
Hello, not exactly what you are looking for, but you could switch to diameter and use ims_charging, which supports this kind of interim updates. Cheers, Henning > -Original Message- > From: Duarte Rocha via sr-users > Sent: Montag, 4. März 2024 18:20 > To: sr-users@lists.kamailio.org

[SR-Users] Re: Clarification on pv_www_authenticate

2024-02-28 Thread Henning Westerholt via sr-users
Hello, For details obviously one need to check in the code. But the error code -1 is usually the default error code and used for topics related to the execution of the service (problems in IO, problems allocating memory and so on). It’s also used as a catch-all error when no more specific error

[SR-Users] Re: [sr-dev] Re: Roadmap to next major Kamailio release series v5.8.x

2024-02-28 Thread Henning Westerholt via sr-users
Hello Richard, thank you, really helpful. Regarding the cdp module, we could provide some access to a test setup. A colleague will contact you about that. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com From: Richa

[SR-Users] Re: How to keep SIP messages small, possibly below fragmentation limit?

2024-02-23 Thread Henning Westerholt via sr-users
Hello, one really effective way is the topos module. If you can not use this, you could switch to compact sip header. This way you save some bytes per header-field. But this is something that needs to be supported from the user agent as well. You could remove not needed headers and SDP inside t

[SR-Users] rpm kamailio git master version

2024-02-20 Thread Henning Westerholt via sr-users
Hello, just a question about the https://rpm.kamailio.org/ repository, especially regarding git master builds. It seems that the git master build there was updated last autumn. It would be great if it could be updated, now as we want to test for the coming release. Thank you, Henning Westerho

[SR-Users] Re: Dispatcher ping: "binding to source address X.X.X.X:XXXX failed: Address already in use" for TCP and TLS destinations

2024-02-16 Thread Henning Westerholt via sr-users
Hello, we also observed this going from an older release to 5.7.x this week. It seems to be harmless, but its generating indeed a lot of warnings. Cheers, Henning > -Original Message- > From: Jardar Leira via sr-users > Sent: Donnerstag, 15. Februar 2024 22:30 > To: sr-users@lists.kam

[SR-Users] Re: Kamailio as a Presence server only

2024-02-15 Thread Henning Westerholt via sr-users
Hello, you can find the tables and their mapping to the modules e.g. here: https://kamailio.org/docs/db-tables/kamailio-db-5.6.x.html The subscriber table is usually used for authentication purposes in kamailio. Cheers, Henning > -Original Message- > From: djcsalvador--- via sr-users

[SR-Users] Re: Kamailio as a Presence server only

2024-02-15 Thread Henning Westerholt via sr-users
Hello, regarding your questions: 1. Besides from the Kamailio core, you only need to use the modules that are actually necessary for your configuration. There are over 220 modules, so they are of course not always used. 2. Can't comment with too much detail here, but generally speaking, Kamail

[SR-Users] Re: Reject TCP SYN

2024-02-09 Thread Henning Westerholt via sr-users
Hello, what about e.g. just using something like iptables, nftables etc..? iptables -A INPUT -p tcp --syn --destination-port -j REJECT --reject-with icmp-host-prohibited Cheers, Henning From: David Villasmil via sr-users Sent: Donnerstag, 8. Februar 2024 14:28 To: Kamailio (SER) - Users Mai

[SR-Users] Re: usrloc database duplicate keys issue

2024-01-27 Thread Henning Westerholt via sr-users
Hello Benoit, somehow the usrloc internal record id got duplicated. Are you seeing this error frequently or just on some occasions, like the restart you mentioned? You can try to activate this parameter: https://kamailio.org/docs/modules/5.7.x/modules/usrloc.html#usrloc.p.db_insert_update Cheers

[SR-Users] Re: usrloc database duplicate keys issue

2024-01-26 Thread Henning Westerholt via sr-users
Hello, are there more specific errors e.g. from the db_mysql module? Otherwise enable query logging or checkout the DB error log might help you here. If you run Kamailio in debug mode you will also see all the queries on that side. Cheers, Henning -- Henning Westerholt – https://skalatan.d

[SR-Users] Re: How to assign xavp array to htable?

2024-01-26 Thread Henning Westerholt via sr-users
Hello, just for completeness, the htable module also offers the possibility to read values (at startup and/or triggered from a command) from a database. Especially for values that did not change to often this is a good option. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog

  1   2   >