[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 –

[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

[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-15 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.

[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

[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

[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

[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-10 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

[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-Users] Re: exec concurrency

2024-06-19 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

[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

[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

[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:

[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/

[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

[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 > >

[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

[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,

[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

[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

[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

[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

[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

[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 -

[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-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:

[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

[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 –

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

2024-04-27 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/

[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

[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

[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:

[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 >

[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

[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

[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

[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

[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 –

[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-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.

[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

[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:

[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

[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

[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] 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,

[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

[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

[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 –

[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 –

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

2024-01-25 Thread Henning Westerholt via sr-users
Hello Daniel, we will manage to commit an initial version of the module which some work in progress still open to the repository by the end of this month. Thanks, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com > -Original Message- >

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

2024-01-23 Thread Henning Westerholt via sr-users
Hello Daniel, we are working on a new module right now (related to special logging for high CPS setups), which would be nice to integrate if possible. Its isolated, so would not touch any other module and/or the core. There is also another core refactoring in progress (to replace the atomic

[SR-Users] Re: How to change uri for db_mysql ?

2024-01-18 Thread Henning Westerholt via sr-users
Hello, just to double check, so you are setting a db_url? Maybe you need to change the db_url, refer e.g. to this: https://serverfault.com/questions/337818/how-to-force-mysql-to-connect-by-tcp-instead-of-a-unix-socket Cheers, Henning > -Original Message- > From: iglov via sr-users >

[SR-Users] Re: tls.cfg and configuration

2024-01-17 Thread Henning Westerholt via sr-users
Hello, module specific configuration files (like tls.cfg, dispatcher.list etc..) are usually in a special format that don’t allow the usage of “main” kamailio.cfg statements and variables etc.. If you want to use some templates, maybe using something like ansible is a way to go. Cheers,

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

2024-01-11 Thread Henning Westerholt via sr-users
Hello, early February as a freezing date sounds good to me, just to have one full month after the holiday season/vacation period to allow other people to finish eventual contributions. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com

[SR-Users] Re: Kamailio - Initiating invite on REFER

2024-01-02 Thread Henning Westerholt via sr-users
Hello, creating a new INVITE from a REFERed call is usually the job of a B2BUA. Kamailio is no B2BUA. Why you are not using one of the B2BUA already available in your architecture for this task? Cheers, Henning From: Muhammad Danish Moosa via sr-users Sent: Freitag, 29. Dezember 2023 02:06

[SR-Users] Re: enum queries using Kamailio in asynchronous mode ?

2023-12-19 Thread Henning Westerholt via sr-users
Hello, if a server dependency is not available at all, you will get problems in your Kamailio, regardless of you are using synchronous or asynchronous operations. With asynchronous operations you will get into some memory exhaustion situation after some time due to the waiting requests. You

[SR-Users] Re: enum queries using Kamailio in asynchronous mode ?

2023-12-19 Thread Henning Westerholt via sr-users
Hello, the enum module seems to execute its queries synchronously indeed. Asynchronous execution could be added to the module or as another module. Maybe also adding some configurable timeout values to not block the server in case of errors would be also sufficient. You can also look at the

[SR-Users] Re: Setting up Kamailio as SIP Proxy

2023-12-04 Thread Henning Westerholt via sr-users
Hello, the error message about the “db_DBURL not found” is most probably some syntax error or missing define on your cfg. The database modules are named db_mysql, db_postgres and so on. Cheers, Henning From: Saul Ibarra via sr-users Sent: Freitag, 1. Dezember 2023 21:01 To: Fred Posner Cc:

[SR-Users] Re: How to use: kamcmd ul.db_users?

2023-12-01 Thread Henning Westerholt via sr-users
Hello, the standard usrloc statistic values don't work for you? https://kamailio.org/docs/modules/5.6.x/modules/usrloc.html#usrloc.s.registered_users Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com > -Original Message- >

[SR-Users] Re: Hump presence mwi htable

2023-11-24 Thread Henning Westerholt via sr-users
Hello, this RPC does not work for you? https://kamailio.org/docs/modules/5.5.x/modules/presence.html#presence.rpc.presentity_list Cheers, Henning Westerholt -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com From: David VILLAUME

[SR-Users] Re: error sending message to heplify server.

2023-11-24 Thread Henning Westerholt via sr-users
Hello, Could be different reasons, difficult to say. Do you run maybe out of file descriptors? Check your ulimit configuration for the kamailio process. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com > -Original Message- >

[SR-Users] Re: Max-Forwards header missing in OPTIONS keep-alive messages

2023-11-24 Thread Henning Westerholt via sr-users
Hi Christian, you are right, it is missing in the generated OPTIONS from nathelper. It needs to be added in the respective code part probably. Cheers, Henning Westerholt -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com > -Original Message- >

[SR-Users] Re: sips to sip

2023-11-21 Thread Henning Westerholt via sr-users
Hi David, at least from the logs the dialog is matched: DEBUG: dialog [dlg_hash.c:885]: internal_get_dlg(): dialog callid='aa157c08df1109c4655ca64d0ed67' found on entry 1431, dir=2 to-tag='ZDDN09pNH37XB' DEBUG: dialog [dlg_profile.c:541]: set_current_dialog(): setting current dialog

[SR-Users] Re: sips to sip

2023-11-21 Thread Henning Westerholt via sr-users
Hello, if you like you can rewrite the respective headers to use only sip uri scheme of course. * Record-Route: ignore_sips in rr * From/To: uac_replace_from/_to * Contacts: textops etc.. Cheers, Henning From: David Villasmil via sr-users Sent: Montag, 20. November 2023 19:44

[SR-Users] Re: auth_check : sip user / authentication user mismatch

2023-11-17 Thread Henning Westerholt via sr-users
Hello, according to the module docs it should be: if (!auth_check("$fd", "subscriber", “0”)) { // default 1, change to 0 to skip check You missed some quotes in your example below. Please give it a try. Cheers, Henning From: Jawaid Bazyar via sr-users Sent: Donnerstag, 16.

[SR-Users] Re: Inconsistent behavior between reg_fetch_contacts (registrar module) and reginfo_handle_notify (pua_reginfo module)?

2023-11-13 Thread Henning Westerholt via sr-users
Hello, I just realized that I quoted the wrong registrar module link (for the IMS) earlier. Yes, to enable use_domain would be also my next guess. Strange that it does not seems to work, but the reg_fectch_contacts probably just uses the given string. It probably needs further digging in the

[SR-Users] Re: Inconsistent behavior between reg_fetch_contacts (registrar module) and reginfo_handle_notify (pua_reginfo module)?

2023-11-13 Thread Henning Westerholt via sr-users
Hello, strange. You probably did already that, but if you activate debug log level you should be able to also see the database queries that are executed, just to double check. If might be just a bug in the cfg or possible also in the code. Cheers, Henning > -Original Message- > From:

[SR-Users] Re: pseudo variable in include_file not possible

2023-11-13 Thread Henning Westerholt via sr-users
Hello, not sure if the environment replacement there works in later versions, have not tested it. You could just use another template system like ansible etc.. to deploy the name dynamically. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

[SR-Users] Re: How to check for presence of a file from a route? (Or any other way to tell kamailio not to accept new calls)

2023-11-13 Thread Henning Westerholt via sr-users
Hello, just to add another common method, you could also just use a cfg file variable that you can modify later with kamcmd, kamcli etc.. There is a prepared variable (pstn..) in the default cfg. Cheers, Henning -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services -

[SR-Users] Re: Inconsistent behavior between reg_fetch_contacts (registrar module) and reginfo_handle_notify (pua_reginfo module)?

2023-11-13 Thread Henning Westerholt via sr-users
Hello, I think you could just give the proper URI with domain part in the variable, according to the documentation: https://kamailio.org/docs/modules/5.5.x/modules/ims_registrar_scscf.html#idm356 Cheers, Henning > -Original Message- > From: Mohammad Hossein Ahmadi via sr-users >

[SR-Users] Re: Registrar / Path

2023-10-27 Thread Henning Westerholt via sr-users
Hello, I probably failed to understand your scenario completely. But basically, if you want to just forward REGISTER message from one Kamailio to the other, you can use “forward()” or “r_relay()” for stateless respectively stateful forwarding. The path extension was designed to take the same

[SR-Users] Re: Inquiry Regarding Kamailio Behavior and Drop Requests

2023-10-25 Thread Henning Westerholt via sr-users
Hello, the sanity module can be used for request and reply checks, as e.g. visible in the default configuration. It might be a bit too short documented in the module readme. Cheers, Henning Westerholt -- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com

[SR-Users] Re: lookup() and database

2023-10-20 Thread Henning Westerholt via sr-users
Hello, at least for some ideas you can have a look at the p_usrloc module. This implements a clustered registration database, where the data location is queried from another database table. In the end you can of course also use native partition means provided from your database and build it by

[SR-Users] Re: TOPOS + Forcing the send socket

2023-10-19 Thread Henning Westerholt via sr-users
parse_fline.c:80]: parse_first_line(): message too short: 0 [] On Wed, 18 Oct 2023, 09:13 Henning Westerholt via sr-users, mailto:sr-users@lists.kamailio.org>> wrote: Hello, actually, there is now a mode where you can use both modules together, e.g. refer to the docs: https://kamail

[SR-Users] Re: TOPOS + Forcing the send socket

2023-10-18 Thread Henning Westerholt via sr-users
data_lump.c: free_lump(470) - ignoring 3(9) INFO: [core/parser/parse_fline.c:80]: parse_first_line(): message too short: 0 [] On Wed, 18 Oct 2023, 09:13 Henning Westerholt via sr-users, mailto:sr-users@lists.kamailio.org>> wrote: Hello, actually, there is now a mode where you can use both

[SR-Users] Re: TOPOS + Forcing the send socket

2023-10-18 Thread Henning Westerholt via sr-users
Hello, actually, there is now a mode where you can use both modules together, e.g. refer to the docs: https://kamailio.org/docs/modules/5.7.x/modules/topos.html#topos.p.mask_callid Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

[SR-Users] Re: Restarts Kamailio after general protection fault

2023-10-17 Thread Henning Westerholt via sr-users
Hello, maybe I missed it, but what version of Kamailio you are using? If its an older version, it might be a good idea to update to a maintained version, e.g. the latest 5.7.x. Regarding further debugging if it happens on a recent version, try to generate a core dump. Documentation about that

[SR-Users] Re: Crypto module AES algorithm details

2023-10-17 Thread Henning Westerholt via sr-users
Hello, if you can suggest changes to the 3rd party library that is used to encrypt the data, it should work. Just have a look to the source code how the Kamailio side its doing it. It might be just a different mode that its used from the library, for example. Cheers, Henning -- Henning

[SR-Users] Re: Dialog Module: enable_dmq and multiple nodes update SAME profiles_with_value counter?

2023-10-16 Thread Henning Westerholt via sr-users
Hello, some installations are using this distributed profile support also with writes from different places. It works ok for the usual application (like channel limiting, fraud mitigation etc..). There is no locking in place, so if by some reasons a profile value will be updated from two

[SR-Users] Re: Crypto module AES algorithm details

2023-10-05 Thread Henning Westerholt via sr-users
(Please keep the list in CC) Hello, The web tools might use another logic internally. I had some success with a java library use case and also with PostgreSQL, I think. A usual use-case is to have an encrypted password value in a DB, for data at rest encryption. The password is encrypted from

[SR-Users] Re: Crypto module AES algorithm details

2023-10-04 Thread Henning Westerholt via sr-users
Hello Jayesh, AFAIK its uses AES 256 with CBC mode. The IV is generated from OpenSSL, e.g. https://www.openssl.org/docs/man3.0/man3/EVP_BytesToKey.html For newer versions I have added the init_vector functionality to enable interoperability with other crypto functions, e.g. some databases,

[SR-Users] Re: What is the expected behavior for dispatcher's ds_next_dst?

2023-09-28 Thread Henning Westerholt via sr-users
Hello Geoff, thanks for the debug output, it's as I suspected and also described earlier from Daniel. As already mentioned, the common way of working with dispatcher is to call the ds_select_dst() in the request route, and then in the failure route just iterate over this set of destinations.

[SR-Users] Re: Software bill of materials (SBOM)

2023-09-28 Thread Henning Westerholt via sr-users
Hello, I think Olle was looking into that some month ago, maybe (when he reads it) can share some of his research results if possible. You can also find some of his articles e.g., on his linkedin page. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

[SR-Users] Re: What is the expected behavior for dispatcher's ds_next_dst?

2023-09-27 Thread Henning Westerholt via sr-users
Hello, have not checked the code, but the ds_next_dst() should just get the next destination from the configured XAVP. Have you tried to print it e.g. with pv_xavp_print() to see if there is maybe too much or wrong content inside? Cheers, Henning -- Henning Westerholt -

[SR-Users] Re: cdr_json_pre_encoded_prefix

2023-09-25 Thread Henning Westerholt via sr-users
Hello, can you try please with: "cdr_pre_encoded_prefix" as parameter name? It looks that there is an error in the documentation. If you confirm it works, I can fix the docs. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services –

  1   2   >