[SR-Users] Kamailio Developers Meeting, Dec 8-9, 2025, in Dusseldorf

2025-09-25 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server project is organizing another meeting of its developers and community members during December 8-9, 2025 (Mon-Tue), hosted again by sipgate.de in Dusseldorf, Germany. The event is intended to facilitate the interaction between Kamailio developers and contributors in orde

[SR-Users] Re: how to use is_socket_name()

2025-09-18 Thread Daniel-Constantin Mierla via sr-users
Hello, On 11.09.25 10:58, Denys Pozniak via sr-users wrote: > Hey! > > I don't understand how the *is_socket_name()* function works. > I assigned a name to each socket, but the function works regardless of > which socket the traffic arrives at. > > /# kamailio -c/ > /Listening on/ > / 

[SR-Users] Re: Releasing v6.0.3

2025-09-11 Thread Daniel-Constantin Mierla via sr-users
Hello, short reminder that v6.0.3 is being released today. Till the announcement is out, any commits to branch 6.0 should be announced to sr-dev mailing list and wait for the ack before pushing to the repository. After that, the commits can go in as usual. Cheers, Daniel On 02.09.25 16:45, Danie

[SR-Users] Re: how to use is_socket_name()

2025-09-11 Thread Daniel-Constantin Mierla via sr-users
There is a variable:   - https://www.kamailio.org/wikidocs/cookbooks/6.0.x/pseudovariables/#rn-received-socket-name On 11.09.25 11:48, Denys Pozniak via sr-users wrote: > Thanks for the clarification! > Is there a function to compare the socket name with the parameter to > which traffic has arriv

[SR-Users] Kamailio v6.0.3 Released

2025-09-10 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v6.0.3 stable release is out! This is a maintenance release of the latest stable branch, 6.0, that includes fixes since the release of v6.0.3. There is no change to database schema or configuration language structure that you have to do on previous installations of v6.0

[SR-Users] Re: append_branch() overwrites next hop of main branch (Re: Re: How to append_branch() after location lookup without affecting looked up branches?)

2025-09-09 Thread Daniel-Constantin Mierla via sr-users
Hello, I haven't read thoroughly the entire thread to know what was tried and still fails, but for adding a new branch with more than just r-uri, look at sbranch_append() from pv module. Cheers, Daniel On 09.09.25 10:27, Benoit Panizzon via sr-users wrote: > Hi > > I got it almost working but I

[SR-Users] Re: Kamailio behind NAT

2025-09-07 Thread Daniel-Constantin Mierla via sr-users
In the dispatcher routing records, be sure you have the attribute socket=udp:localip:5080. Cheers, Daniel On 03.09.25 13:03, Martin Nyström via sr-users wrote: > > I did the suggested changes, I think. But the INVITE sent from > Kamailio to Asterisk still holds the external advertised DNS in the

[SR-Users] Re: Kamailio behind NAT

2025-09-06 Thread Daniel-Constantin Mierla via sr-users
The socket attribute has to be in the database, the alternative there is to set sockname attribute and you set same "name" to the "listen" sockets (e.g., "sockname=internal" in db, and `listen=... name "internal"` in cfg). You can also do it only in the config, by setting $fs to the socket to be u

[SR-Users] Re: Kamailio behind NAT

2025-09-05 Thread Daniel-Constantin Mierla via sr-users
It is about setting the socket parameter inside the attributes (the attrs column) -- see:   - https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.attributes Cheers, Daniel On 04.09.25 09:44, Martin Nyström wrote: > > We’re using the dispatcher with MySQL. Here’s th

[SR-Users] Re: Kamailio behind NAT

2025-09-03 Thread Daniel-Constantin Mierla via sr-users
Hello, the simplest way is to listen on another port (e.g., 5080) and use that socket to communicate with Asterisk. For that listen parameter, do not set the advertise address. You can use $fs or force_send_socket() to specify the socket to be used for sending out to Asterisk. The alternative is

[SR-Users] Re: sqlops module, int signed/unsigned bug? (Re: Is a kamailio integer signed or unsigned?)

2025-09-03 Thread Daniel-Constantin Mierla via sr-users
Hello, it should be signed int (older versions) or long (newer versions). Can you give the snippet of the kamailio.cfg where you do the query and use the result that prints the unsigned value? Cheers, Daniel On 02.09.25 15:02, Benoit Panizzon via sr-users wrote: > Hi > > I wonder if I shall open

[SR-Users] Releasing v6.0.3

2025-09-02 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v6.0.3 (out of branch 6.0) on Wednesday, Sep 10, 2025. If anyone is aware of issues not yet on the bug tracker, report them there asap in order to have a better chance to be fixed. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/

[SR-Users] Re: Adding rport to outbound SIP INVITE

2025-09-02 Thread Daniel-Constantin Mierla via sr-users
Hello, see: - https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/#add_local_rport - https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/#local_rport However, for receiving new SIP requests, the AWS gateway should do 1-to-1 port forwarding (not necessary 5060) that the remote UA has to be

[SR-Users] Re: Why does $T(id_index) return 0 even though t_suspend() is executed successfully?

2025-08-14 Thread Daniel-Constantin Mierla via sr-users
On 13.08.25 09:38, mm e via sr-users wrote: > if(t_suspend()) > { > xlog("L_NOTICE", "==> processing suspended in transaction > [$T(id_index):$T(id_label)] "); > } else { > xlog("L_ERR", "t_suspend err"); > exit; > } > > Sometimes, I get this log==> processing

[SR-Users] Re: kamailio.org is down?

2025-08-10 Thread Daniel-Constantin Mierla via sr-users
On 10.08.25 21:50, Jurijs Ivolga via sr-users wrote: > Hi, > > Is it me or kamailio.org  is down? yes, the usual working hours are Mon-Fri, 9am-6pm CEST :-), but not for some (new) AI bots that crawl from many IPs to get to the limits of the web server. Last night I blocked

[SR-Users] Re: Unknown character set utf8mb4

2025-07-31 Thread Daniel-Constantin Mierla via sr-users
I guess you have a newer mysql client library than the server, because utf8mb4 seems to be the default one for latest versions. You can try to set the character set in the mysql client configuration file on kamailio server, like: [mysql] default-character-set=utf8 Cheers, Daniel On 31.07.25 14:

[SR-Users] Re: Postgres connections optimization #4342

2025-07-30 Thread Daniel-Constantin Mierla via sr-users
Hello, if you have many udp ipsec tunnels, which use a pair of sockets per end point, then you may want to try with Kamailio 6.0.x and turn on the multi-threaded udp receiving: async_workers_group="name=udp;workers=8" udp_receiver_mode = 1 That should reduce the number of processes created by Ka

[SR-Users] Re: Error: different number of preprocessor directives

2025-07-23 Thread Daniel-Constantin Mierla via sr-users
Just for the records, "kamailio --cfg-print" should not show any preprocessor directives, it should plain text with the preprocessor directive/conditions evaluated, but its output should help identifying when some preprocessor directive is set to a wrong value or misplaced/missing. Then, is the l

[SR-Users] Re: Setting Via IP inside script logic

2025-07-22 Thread Daniel-Constantin Mierla via sr-users
Hello, the advertise for listen provides is very convenient, because it is automatically handled internally by most of the functions. But there are config options to set the advertise address per request, but with large configs, the complexity increases. See functions exported by core and modules

[SR-Users] Re: Kamailio WSS to Asterisk (UDP) MESSAGE Handling Issue

2025-07-11 Thread Daniel-Constantin Mierla via sr-users
Hello, On 11.07.25 09:56, Fernando Lopes via sr-users wrote: > Hello everyone, > > I'm running into a problem with SIP traffic coming in over WSS to Kamailio. > As far as I know, Kamailio can't forward traffic to Asterisk over TLS, do you know that Kamailio can't forward traffic over TLS because

[SR-Users] Re: Stir/Shaken

2025-07-07 Thread Daniel-Constantin Mierla via sr-users
Hello, On 07.07.25 12:44, David Villasmil via sr-users wrote: > [...] You can find it > in  > https://hub.docker.com/repository/docker/davidcsi/kamailio-stirshaken/general > and in the description you can read how it works and how to use it. > it asks for docker.com account (at least for me), mayb

[SR-Users] Re: kamailio module development setup

2025-07-03 Thread Daniel-Constantin Mierla via sr-users
Hello, On 02.07.25 19:49, mohsen khashei via sr-users wrote: > Hi everyone. > I want to start development of an kamailio module. and I am wondering > is the any tutorial about that  and also what ide or other setup the > other people use for this. sorry for begginer question and thanks for > atten

[SR-Users] Re: [microhttpd] POST request with body can't get return message

2025-07-01 Thread Daniel-Constantin Mierla via sr-users
Can you try with latest git master branch? I pushed a commit that should fix it. Cheers, Daniel On 01.07.25 09:30, mm e via sr-users wrote: > #0 __pthread_kill_implementation (threadid=, > signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 > tid = > ret = 0

[SR-Users] Re: [microhttpd] POST request with body can't get return message

2025-07-01 Thread Daniel-Constantin Mierla via sr-users
The logs indicate that a core file was generate. Locate it (usually in root folder or where you system is configure to write it) and then grab the output of "bt full" with gdb -- see also:   - https://www.kamailio.org/wikidocs/tutorials/troubleshooting/coredumpfile/ Cheers, Daniel On 01.07.25 08

[SR-Users] Re: nghttp2

2025-06-27 Thread Daniel-Constantin Mierla via sr-users
On 27.06.25 08:39, mm e via sr-users wrote: > loadmodule "nghttp2.so" > modparam("nghttp2", "listen_addr", "0.0.0.0") > modparam("nghttp2", "listen_port", "8363") > > event_route[nghttp2:request] { > xinfo("request: $nghttp2(method) - url: $nghttp2(path) - data: > [$nghttp2(data)]\n"); > nghttp2_

[SR-Users] Re: Context of t_continue

2025-06-25 Thread Daniel-Constantin Mierla via sr-users
Hello, by using rtpengine_manage() only in a branch_route when one has in mind that is about engaging rtpengine for an outgoing request (e.g., INVITE, UPDATE, ...), then it should not be anything complex, imo. I actually think is a rather bad practice that rtpengine functions (being _manage()/_of

[SR-Users] Re: about http server

2025-06-25 Thread Daniel-Constantin Mierla via sr-users
On 24.06.25 07:55, mm e via sr-users wrote: > In kamailio-6.0.x version, there are multiple http servers, such as: XHTTP > MICROHTTPD NGHTTP2, which module has the best performance? Not sure if anyone measured the performance, because each of them might be used for different purpose, so maybe yo

[SR-Users] Kamailio v6.0.2 Released

2025-06-25 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v6.0.2 stable release is out. This is a maintenance release of the latest stable branch, 6.0, that includes fixes since the release of v6.0.2. There is no change to database schema or configuration language structure that you have to do on previous installations of v6.0

[SR-Users] Re: Context of t_continue

2025-06-25 Thread Daniel-Constantin Mierla via sr-users
Hello, the context of the t_continue() is failure_route:   - https://www.kamailio.org/docs/modules/stable/modules/tmx.html#tmx.f.t_continue You have to use rtpengine_manage() in branch_route, otherwise in failure-route it does the delete/destroy of the session. Cheers, Daniel On 25.06.25 11:15

[SR-Users] Re: Dispatcher sets IP flag on servers even though SIP OPTIONS receive 200 OK

2025-06-25 Thread Daniel-Constantin Mierla via sr-users
Hello, you have to send the pcap with the keepalive OPTIONS? The screen shots are not that useful for troubleshooting, it is some indication of retransmissions, but it cannot be asserted properly on the screenshot. Furthermore, the dispatcher.list output shows 183 timeouts, meaning that the gatewa

[SR-Users] Re: Releasing v6.0.2

2025-06-24 Thread Daniel-Constantin Mierla via sr-users
Hello, short note that v6.0.2 is going to be released today, therefore, to avoid conflicts during the building process, any commits to branch 6.0 have to be announced to sr-dev mailing list and wait for the ack before pushing to github repo. Once the announcement is out, commits can go to branch 6

[SR-Users] Re: Fwd: RFC3261 rules

2025-06-22 Thread Daniel-Constantin Mierla via sr-users
On 22.06.25 09:16, Daniel-Constantin Mierla wrote: > > Hello, > > like also commented in the issue references previously in this > discussion, Kamailio is a framework for building SIP systems, it is > the config script that can make it to behave as one needs, being that > stricter or looser from t

[SR-Users] Releasing v6.0.2

2025-06-19 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v6.0.2 (out of branch 6.0) on Wednesday, June 25, 2025. If anyone is aware of issues not yet on the bug tracker, report them there asap in order to have a better chance to be fixed. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com

[SR-Users] Re: RTJson current selected route

2025-06-17 Thread Daniel-Constantin Mierla via sr-users
Hello, probably you can leverage $T_branch_index in a branch_route (or falure_route). Cheers, Daniel On 17.06.25 17:08, Sergio Charrua via sr-users wrote: > Just having a function that returns the current route from the RTJson > object would be enough for me once I get it, I can parse the js

[SR-Users] Re: hfl not working as well

2025-06-13 Thread Daniel-Constantin Mierla via sr-users
If you want help, considering that it is done on spare time/volunteering, try as instructured with a clean git master branch, that is the version that has the fix. If not working, send the output of the kamailio -v and the full sip message you use for testing and it does not work. Cheers, Daniel

[SR-Users] Re: hfl not working as well

2025-06-13 Thread Daniel-Constantin Mierla via sr-users
I tested during development and worked fine with your example header. Do try with the development version to validate it or not, send kamailio -v if still fails along with the entire sip message used during your tests. Cheers, Daniel On 12.06.25 19:37, ale Gural wrote: > Thanks for your quick res

[SR-Users] Re: hfl not working as well

2025-06-12 Thread Daniel-Constantin Mierla via sr-users
Can you try with latest git master branch? I pushed a commit trying to fix it, the problem was in the way the parser computed the length of the Diversion value, not considering quoted values. Cheers, Daniel On 12.06.25 11:25, ale Gural via sr-users wrote: > > > ale Gural > > > 12:24 

[SR-Users] Re: Kamailio Asterisk Realtime integration

2025-06-06 Thread Daniel-Constantin Mierla via sr-users
Hello, the best it would be to configure Asterisk to trust traffic from Kamailio based on source IP, not to challenge with 401/407 for authentication, if Kamailio does the authentication already. Otherwise, for uac module, you can set username and password for the local requests:   - https://www

[SR-Users] Re: siptrace module not respecting send_sock after kamailio 5.6.6

2025-06-06 Thread Daniel-Constantin Mierla via sr-users
Hello, do you have IP routing path from the external_ip to the homer server? Like, it is possible to open connection to the homer server from both internal_ip and external_ip? If yes, even when the application tries to indicate the desired local ip:port when creating a tcp connection, it is the t

[SR-Users] Re: Hyperthreading and high request volumes in modern times

2025-05-29 Thread Daniel-Constantin Mierla via sr-users
Hello, you have to provide the error log messages as printed by Kamailio in the syslog, because they give details about the place in the code (i.e., the one related to the udp_rvc_loop()). Also, usually there are more than one error message, the last one might not be the most relevant. For exampl

[SR-Users] Re: Kamailio Regex

2025-05-26 Thread Daniel-Constantin Mierla via sr-users
Hello, try: $(var(body){line.sw,Calling-party}{s.after,:}{s.trim}{uri.user}) Cheers, Daniel On 26.05.25 12:13, Timothy Delin wrote: > > Hey Daniel, > >   > > This is the expected body to be sent by the User Agent Client > >   > > /Calling-party: sip:+46761153...@telco1.com;user=phone / > > /Cal

[SR-Users] Re: Kamailio Regex

2025-05-26 Thread Daniel-Constantin Mierla via sr-users
Hello, On 26.05.25 10:46, Timothy Delin via sr-users wrote: > > Hi everyone, > >   > > I need your advice. I am extracting a SIP Body message from a User > Agent Client using the regex as such > */“$var(calling_party)= > $(var(body){re.subst,/.*Calling-party:\s*sip:(\+[0-9]+)@.*/\1/});”/* > >   >

[SR-Users] Kamailio v5.7.7 Released

2025-05-21 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v5.7.7 stable release is out. This is a maintenance release of the latest stable branch, 5.7, that includes fixes since the release of v5.7.6. There is no change to database schema or configuration language structure that you have to do on previous installations of v5.7

[SR-Users] Re: Releasing v5.7.7

2025-05-20 Thread Daniel-Constantin Mierla via sr-users
Hello, short reminder that v5.7.7 is going to be released today. Until the announcement is out, any commits to branch 5.7 have to be announced to sr-dev mailing list and wait for the ack before pushing. Cheers, Daniel On 16.05.25 11:31, Daniel-Constantin Mierla wrote: > Hello, > > I am consideri

[SR-Users] Releasing v5.7.7

2025-05-16 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v5.7.7 (out of branch 5.7) on Wednesday, May 21, 2025, as the last one from the 5.7.x series, to mark the end of support for it. Currently 5.8.x and 6.0.x are the latest two maintained branches. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com

[SR-Users] Re: Authentication qop auth-int

2025-04-28 Thread Daniel-Constantin Mierla via sr-users
You seem to use the ims authentication module, this one does not implement the www-digest authentication, but the AKA variant, which I don't think freeswitch implement. You would need an IMS phone for AKA authentication. Cheers, Daniel On 27.04.25 12:43, 13715209697--- via sr-users wrote: > I agr

[SR-Users] Re: 404 sent from Kamailio NOT from the script

2025-04-22 Thread Daniel-Constantin Mierla via sr-users
Hello, it should be no internal 404 response from tm, maybe from other modules that you use. You can load the debugger module and enable cfgtrace to see what actions from kamailio.cfg are executed and try to figure out which one is generating the 404. Cheers, Daniel On 22.04.25 17:00, Richard Ro

[SR-Users] Info: Donating To Kamailio Project

2025-04-07 Thread Daniel-Constantin Mierla via sr-users
Hello! Over the years, there have been discussions about what options could be made available to donate to Kamailio project in order to support its required infrastructure, administrative or development of complex components. Creating a foundation or using a crowdfunding platform have been explore

[SR-Users] Releasing v5.8.6

2025-03-28 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v5.8.6 (out of branch 5.8) on Thursday, March 20, 2025. If anyone is aware of issues not yet on the bug tracker, report them there asap in order to have a better chance to be fixed. The most of the commits are backported, should any be found missing, rep

[SR-Users] Re: Intermediate CDRs

2025-03-26 Thread Daniel-Constantin Mierla via sr-users
Hello, On 26.03.25 17:21, Sergio Charrua via sr-users wrote: > Hi all! > > I have  been googling, and reading documentation, but I could not find > any solution. > How can I implement intermediate CDRs with Kamailio ACC module (or any > other module) ? > For example, on long duration calls, I 'm r

[SR-Users] Kamailio v5.8.6 Released

2025-03-20 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v5.8.6 stable release is out. This is a maintenance release of the latest stable branch, 5.8, that includes fixes since the release of v5.8.5. There is no change to database schema or configuration language structure that you have to do on previous installations of v5.8

[SR-Users] Re: Releasing v5.8.6

2025-03-19 Thread Daniel-Constantin Mierla via sr-users
Hello, short reminder that the release of Kamailio v5.8.6 is planned for today. As usual, till the release announcement is out, any commits to branch 5.8 have to be announced to sr-dev mailing list and wait for the ack before pushing them to the git repo. Cheers, Daniel On 18.03.25 09:29, Daniel

[SR-Users] Re: add_contact_alias modifies only one Contact address

2025-03-13 Thread Daniel-Constantin Mierla via sr-users
Hello, there is also a function in the path module that adds the "received" details, which reflect the (nat) address of the UA. Cheers, Daniel On 13.03.25 14:05, James Browne wrote: > Thanks, Daniel > I looked at the source code and I don't have the skill to modify it. > Regardless, I understand

[SR-Users] Re: add_contact_alias modifies only one Contact address

2025-03-13 Thread Daniel-Constantin Mierla via sr-users
On 13.03.25 11:16, James Browne via sr-users wrote: > - > https://kamailio.org/docs/modules/5.8.x/modules/nathelper.html#nathelper.f.add_contact_alias > This add_contact_alias() function changes only the first Contact > address in a REGISTER request, even though it's normal (RFC3261, 10.2) > for a

[SR-Users] Re: Releasing v6.0.1

2025-03-10 Thread Daniel-Constantin Mierla via sr-users
Hello, short reminder that the release of Kamailio v6.0.1 is planned for today. As usual, till the release announcement is out, any commits to branch 6.0 have to be announced to sr-dev mailing list and wait for the ack before pushing them to the git repo. Cheers, Daniel On 05.03.25 08:09, Daniel

[SR-Users] Kamailio v6.0.1 Released

2025-03-10 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v6.0.1 stable release is out. This is a maintenance release of the latest stable branch, 6.0, that includes fixes since the release of v6.0.1. There is no change to database schema or configuration language structure that you have to do on previous installations of v6.0

[SR-Users] Releasing v6.0.1

2025-03-04 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v6.0.1 (out of branch 60) on Monday, March 10, 2025. If anyone is aware of issues not yet on the bug tracker, report them there asap in order to have a better chance to be fixed. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/mi

[SR-Users] Re: SHA-256 HASH

2025-03-04 Thread Daniel-Constantin Mierla via sr-users
Try: MD5=sha256sum kamctl add ... Cheers, Daniel On 04.03.25 15:31, Social Boh wrote: > > Thank you for your reply, maybe I don't express correctly the concept. > > when I create a user with kamctl, the subscriber table: > > |ha1| |string||128| '' no > >

[SR-Users] Re: SHA-256 HASH

2025-03-04 Thread Daniel-Constantin Mierla via sr-users
Hello, On 04.03.25 15:08, Social Boh via sr-users wrote: > Hello list, > > is it possible create a user using sha-256 hash? > > My goal is Asterisk PBX Register - sha-256 digest authentication > -> Kamailio yes, you can specify the auth algorithm per user with the function:   - https://www.k

[SR-Users] Re: tm stats on prometheus

2025-02-25 Thread Daniel-Constantin Mierla via sr-users
Oh, right, the transaction management stats are exported by the tmx module. Anyhow, as I said, it is different that what the rpc command returns, which are not the Kamailio's internal stats, but something computed in a rpc callback. If you want exactly those values, you have to fetch them via the

[SR-Users] Re: tm stats on prometheus

2025-02-25 Thread Daniel-Constantin Mierla via sr-users
Hello, On 25.02.25 12:54, Alexis Fidalgo via sr-users wrote: > Hello all, i found that tm stats (kamcmd tm.stats) are not present in the > response of xhttp_prom (prometheus), so in new configurations that we > applied, we have no information/stats on reply codes. Is there a way to add > this i

[SR-Users] Re: Info: maintenance work for kamailio.org server on Tuesday, Feb 18, 2025

2025-02-18 Thread Daniel-Constantin Mierla via sr-users
Hello, the most of the maintenance work is finished, if anyone discovers any service that has issues (e.g., project web portals, mailing lists, ...), report them via mailing lists, of if the mailing lists are the problem, use github.com/kamailio/kamailio tracker. Cheers, Daniel On 18.02.25 09:01

[SR-Users] Re: Info: maintenance work for kamailio.org server on Tuesday, Feb 18, 2025

2025-02-18 Thread Daniel-Constantin Mierla via sr-users
Hello, quick reminder that the planned maintenance work on kamailio.org server infrastructure is going to start soon. Expect some intervals of unavailability along this day. Cheers, Daniel On 12.02.25 17:35, Daniel-Constantin Mierla wrote: > Hello, > > there is a planned mainenance work on the i

[SR-Users] Re: Prioritize specific codecs

2025-02-14 Thread Daniel-Constantin Mierla via sr-users
Hello, On 14.02.25 19:13, Temilolu Fayomi via sr-users wrote: > Hello, > > I am working with inbound calls on kamailio (specifically fax), and was > wondering if there was a way to re-prioritize the codecs found in the sdp of > an invite. I've looked at using the sdpops module, but haven't been

[SR-Users] Info: maintenance work for kamailio.org server on Tuesday, Feb 18, 2025

2025-02-12 Thread Daniel-Constantin Mierla via sr-users
Hello, there is a planned mainenance work on the infrastructure for the server hosting kamailio.org services (among them: the main website, wiki, mailing lists) on next week, Tuesday, February 18, 2025, to start about 10:00am Berlin time (CET). Expect some intervals of unavailability, we hope they

[SR-Users] Info: sipexer v1.2.0 released

2025-02-11 Thread Daniel-Constantin Mierla via sr-users
Hello, a short note to announce that that sipexer v1.2.0 was released:   - https://github.com/miconda/sipexer/releases/tag/v1.2.0 It is a modern and flexible SIP testing cli tool that can be used to send SIP signalling messages over UDP/TCP/TLS/WebSocket. Cheers, Daniel -- Daniel-Constantin M

[SR-Users] Re: Strange memory stats

2025-01-30 Thread Daniel-Constantin Mierla via sr-users
On 30.01.25 10:44, Barry Flanagan wrote: >> On 30 Jan 2025, at 09:41, Daniel-Constantin Mierla >> wrote: >> >> >> On 29.01.25 23:20, Barry Flanagan wrote: >>> 29 Jan 2025 20:11:32 Daniel-Constantin Mierla : >>> >>> > Hello, >>> > >>> > mi_fifo has nothing to do with rpc, and actually that module

[SR-Users] Re: Strange memory stats

2025-01-30 Thread Daniel-Constantin Mierla via sr-users
On 29.01.25 23:20, Barry Flanagan wrote: > 29 Jan 2025 20:11:32 Daniel-Constantin Mierla : > > > Hello, > > > > mi_fifo has nothing to do with rpc, and actually that module is not > part of any 5.x releases, being removed before 5.0 was released. > > > > That's around the last time I used kamctl a

[SR-Users] Re: Constant crashes across versions

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
A cause for the crash is revealed by the backtrace: #0 0x7fbd7e07b8eb in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x7fbd7e066535 in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x55fff797d98f in qm_debug_che

[SR-Users] Re: Strange memory stats

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
Hello, mi_fifo has nothing to do with rpc, and actually that module is not part of any 5.x releases, being removed before 5.0 was released. Cheers, Daniel On 29.01.25 19:02, Barry Flanagan wrote: >> On 29 Jan 2025, at 15:11, Daniel-Constantin Mierla >> wrote: >> >> Hello, >> >> is "kamctl rpc s

[SR-Users] Re: Strange memory stats

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
Hello, is "kamctl rpc shm.stats" giving the same numbers? Cheers, Daniel On 29.01.25 15:18, Barry Flanagan via sr-users wrote: > Hi, > > I have a 5.8.4 runing on Bookworm that after a while reports very > strange memory stats like this: > >   shmem.fragments: '729' >   shmem.free_size: '18446744

[SR-Users] Re: Kamailio v6.0.0 Released - new major version is out

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
wrote: > Great news!!! > > One question. Using cmake how can I add or remove modules from > compilation? > > Thank you > > Regards > > El 29/01/2025 a las 7:10 a. m., Daniel-Constantin Mierla via sr-users > escribió: >> Kamailio v6.0.0 is out – it comes with 5

[SR-Users] Kamailio v6.0.0 Released - new major version is out

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
Kamailio v6.0.0 is out – it comes with 5 new modules and important updates to the core components and existing modules. The increment of the first version number reflects several important updates, among them: multi-threaded option for UDP receiving, option for specifying a range of ports to liste

[SR-Users] Releasing v6.0.0

2025-01-29 Thread Daniel-Constantin Mierla via sr-users
Hello, short note that Kamailio v6.0.0 is going to be released today, therefore any commit to branch 6.0 after 11:00am UTC+1 (Berlin timezone) has to be announced on sr-dev mailing list and wait for the ack before pushing it in order to avoid conflicts with release building processes. Once the rel

[SR-Users] Re: Constant crashes across versions

2025-01-28 Thread Daniel-Constantin Mierla via sr-users
Hello, is the attached backtrace from 5.8.4? If you get many core dump files at the same time, attach the full backtrace for each of them, because usually one is revealing the reason of crash and the others are just side effects, but all need to be investigated in order to see which one is import

[SR-Users] Re: [sr-dev] Re: Branching 6.0 series

2025-01-27 Thread Daniel-Constantin Mierla via sr-users
Hello, On 20.01.25 08:25, Daniel-Constantin Mierla via sr-dev wrote: > Hello, > > I think we should branch it on Wednesday, Jan 22, 2025, no matter on > what stage we are with cmake support. The old-Makefiles should be kept > anyhow (as they are or in a special folder with an easy way to recover >

[SR-Users] Re: defining configuration variables

2025-01-27 Thread Daniel-Constantin Mierla via sr-users
Hello, On 27.01.25 12:07, Sergio Charrua via sr-users wrote: > Hello, > > just wondering if there is any way to define 2 constants as : > > # sets quarantine period the URL is set, in secs, after number of > HTTP_RETRIES retries > #!define SOME_VAR_1 60 > > # sets the configuration values for HTab

[SR-Users] Re: How to access registration contact user agent string in branch route after location lookup?

2025-01-23 Thread Daniel-Constantin Mierla via sr-users
On 23.01.25 13:06, Benoit Panizzon wrote: > Hi Daniel > >> after lookup location call, the UA from register is made available in >> the $location_ua for the contact set in r-uri and >> $(branch(location_ua)[INDEX]) that gives it for additional branches. >> Maybe you can get it in branch route as

[SR-Users] Kamailio v5.8.5 Released

2025-01-23 Thread Daniel-Constantin Mierla via sr-users
Hello, Kamailio SIP Server v5.8.5 stable release is out. This is a maintenance release of the latest stable branch, 5.8, that includes fixes since the release of v5.8.4. There is no change to database schema or configuration language structure that you have to do on previous installations of v5.8

[SR-Users] Re: How to access registration contact user agent string in branch route after location lookup?

2025-01-23 Thread Daniel-Constantin Mierla via sr-users
Hello, On 20.01.25 13:40, Benoit Panizzon via sr-users wrote: > Hi List > > I have some CPE which require special handling like removing 100rel and > update from the supported methods because they misbehave. > > Previously, I was using reg_fetch_contacts and then appending the > branches manually

[SR-Users] Re: Releasing v5.8.5

2025-01-22 Thread Daniel-Constantin Mierla via sr-users
be pushed to branch 5.8 as usual. Cheers, Daniel On 20.01.25 13:06, Daniel-Constantin Mierla via sr-users wrote: > Hello, > > I am considering to release Kamailio v5.8.5 (out of branch 5.8) on > Thursday, Jan 23, 2025. If anyone is aware of issues not yet on the bug > tracker, re

[SR-Users] Development is open for future release of v6.1.x series

2025-01-22 Thread Daniel-Constantin Mierla via sr-users
Hello, the branch 6.0 was created, therefore the master branch is open for adding new features, to be part of future release series v6.1.x. Any bug fix committed to master that applies to 6.0.x or older stable branches should be backported as usual with "git cherry-pick -x ..." to appropriate bra

[SR-Users] Branch 6.0 has been created

2025-01-22 Thread Daniel-Constantin Mierla via sr-users
Hello, the branch 6.0 has been created, to be used for releasing v6.0.x series. To check out this branch, the following commands can be used:    git clone https://github.com/kamailio/kamailio kamailio-6.0    cd kamailio-6.0    git checkout -b 6.0 origin/6.0 Pushing commits in this branch:   gi

[SR-Users] Re: [sr-dev] Re: Branching 6.0 series

2025-01-22 Thread Daniel-Constantin Mierla via sr-users
Hello, later today, in a few hours, I am going to create the branch 6.0. More details will be provided once it has been created. Cheers, Daniel On 20.01.25 08:25, Daniel-Constantin Mierla via sr-dev wrote: > Hello, > > I think we should branch it on Wednesday, Jan 22, 2025, no matter on > what s

[SR-Users] Re: Multi-line Via: rport added incorrectly

2025-01-21 Thread Daniel-Constantin Mierla via sr-users
Can you fetch the latest git and try again? First time I haven't noticed where received was added. Cheers, Daniel On 21.01.25 21:03, James Browne wrote: > Thanks, Daniel. > I've not fully tested yet (multiple combinations of transport > protocols, rport in the request, etc), but testing with *exa

[SR-Users] Re: Multi-line Via: rport added incorrectly

2025-01-21 Thread Daniel-Constantin Mierla via sr-users
Hello, can you try with latest git master branch? I have just pushed a commit for it. As per code, it happened for generated replies when no rport was in incoming request first via and there were many via bodies in the same header. Cheers, Daniel On 21.01.25 17:36, James Browne via sr-users wro

[SR-Users] Re: Getting headers from xhttp/websocket

2025-01-21 Thread Daniel-Constantin Mierla via sr-users
Hello, can you print $mb and see if the headers are there? Any errors in the syslog? Cheers, Daniel On 20.01.25 22:26, Barry Flanagan via sr-users wrote: > Hi, > > I need to be able to pull in a header provided by a webrtc endpoint so > I can use it in my request_route. I understand that I will

[SR-Users] Releasing v5.8.5

2025-01-20 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v5.8.5 (out of branch 5.8) on Thursday, Jan 23, 2025. If anyone is aware of issues not yet on the bug tracker, report them there asap in order to have a better chance to be fixed. Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/m

[SR-Users] Re: Issue with ACK on INVITE

2025-01-16 Thread Daniel-Constantin Mierla via sr-users
Hello, there is another proxy in the path of SIP signalling in the provider side because it adds Record-Route: Record-Route: Having the ftag parameter, likely to be another Kamailio or one of its forks. But that proxy does wrongly nat traversal processing, replacing the contact address with the

[SR-Users] Re: Performance issues with KEMI

2025-01-14 Thread Daniel-Constantin Mierla via sr-users
You can do pull requests with what you think it worth adding to the kemi tutorial:   - https://github.com/kamailio/kamailio-docs/tree/master/kamailio-kemi-framework Or the docs of the kemi modules. Cheers, Daniel On 14.01.25 13:49, Alex Balashov via sr-users wrote: > Daniel-Constantin’s point t

[SR-Users] Re: Branching 6.0 series

2025-01-14 Thread Daniel-Constantin Mierla via sr-users
Hello, creating git branch 6.0 was planned for today and I wonder if it shall be done latter during the evening or it would be preferred to be postponed for two days or so, till end of the week/Friday, as I noticed yesterday some new work being done to cmake files for FreeBSD and maybe new commits

[SR-Users] Re: Performance issues with KEMI

2025-01-12 Thread Daniel-Constantin Mierla via sr-users
Hello, the performance of KEMI was compared when using Kamailio exported functions, in the way that a function implemented inside Kamailio has pretty much same performance when using it inside a kemi script or inside native config file. For example, if one uses KSR.auth.pv_auth_check(...) inside

[SR-Users] Branching 6.0 series

2025-01-06 Thread Daniel-Constantin Mierla via sr-users
Hello, I am trying to figure out what would be the best date to branch 6.0 in the git repo. To allow a bit of time after returning from the winter holidays to tune more the cmake and packaging, I would think that January 15, 2025 could be a good choice. If nobody comes with other opinions/sugges

[SR-Users] Re: how to call loose_route() after adding route header without using msg_apply_changes?

2024-12-30 Thread Daniel-Constantin Mierla via sr-users
Hello, On 30.12.24 08:39, Benoît Panizzon via sr-users wrote: > [...] > > So the call flow is: > > Alice => Registrar => Core => Registrar => Bob > > The same call passes the registrar twice. This, as I observe (it's > still possible I did something wrong), breaks topos and header get > replaced t

[SR-Users] Re: [print_dset(): no r-uri or branches] when working with async worker

2024-12-17 Thread Daniel-Constantin Mierla via sr-users
Hello, the generation of a redirect reply (3xx) was designed to use the destination set of the corresponding request -- practically is about setting a new R-URI or appending branches, then sending the reply. Like: $ru = "sip:+1234;myparam=test@$si:$sp"; send_reply("302", "Moved Temporarily"); ex

[SR-Users] Re: Multiple Branches and 3xx Status Codes

2024-12-17 Thread Daniel-Constantin Mierla via sr-users
Hello, the tmx module has a function that can be used to cancel active branches. For locally generated replies, headers can be added with append_to_reply(...). Cheers, Daniel On 16.12.24 14:38, Christian Berger via sr-users wrote: > Hi, > > we have the following situation: > Multiple UAs are su

[SR-Users] Development for v6.0.x is frozen

2024-12-16 Thread Daniel-Constantin Mierla via sr-users
Hello, the formal notification that the development for the next major version 6.0.0 is now frozen. The focus has to be on testing the master branch. Also, the master branch should not get commits with new features till the branch 6.0 is created, expected to happen in 2-4 weeks, a matter of how t

[SR-Users] Re: Freezing development for 6.0.x series

2024-12-16 Thread Daniel-Constantin Mierla via sr-users
Hello, short notification that the freezing of development for v6.0.x series is planned for the end of the day today -- to be marked on the git tomorrow morning UTC, just in case someone in US/Americas still want to push some code. The existing pull requests can still be merged till the branch 6.

[SR-Users] Re: How to inspect/dump a stacked xavp? / How to stack two xavp on each other?

2024-12-10 Thread Daniel-Constantin Mierla via sr-users
Hello, maybe printing all xavps and analyzing the output is a simpler way to try:   - https://www.kamailio.org/docs/modules/stable/modules/pv.html#pv.f.pv_xavp_print Cheers, Daniel On 10.12.24 11:47, Benoit Panizzon via sr-users wrote: > Hi List > > I'm trying to inspect the content of the $xav

[SR-Users] Re: Online devel meeting on matrix - 15:00 UTC, Dec 9, 2024

2024-12-09 Thread Daniel-Constantin Mierla via sr-users
Hello, to sync on the time across the globe, the online Kamailio devel meeting is starting in about 3min from now. Cheers, Daniel On 09.12.24 10:53, Daniel-Constantin Mierla wrote: > Hello, > > short reminder for those that want to participate, later today at > 15:00UTC (16:00 Berlin/Paris/Madri

  1   2   3   >