[SR-Users] Re: sips to sip

2023-11-21 Thread David Villasmil via sr-users
thanks all, i figured it out with help from Alfonso who found https://github.com/fredposner/scripts/blob/master/kamailio/kamailio-tls_srtp-bridge.cfg Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Nov 21, 2023 at 2:34 PM Henning Westerholt wrote: > H

[SR-Users] Crash on core/mem/q_malloc.c

2023-11-21 Thread Igor Potjevlesch via sr-users
Hello! I'm facing an issue 2/3 times a day with the following errors in the logs: Nov 22 00:09:02 /usr/local/sbin/kamailio[3720]: CRITICAL: [core/mem/q_malloc.c:150]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(c0c0c000, abcdefed)[0x7f9600b754f8:0x7f9600b75530]! Memory alloca

[SR-Users] Re: kamailio t_on_failure tcp timeout

2023-11-21 Thread Julien Chavanton via sr-users
Sorry for the incomplete email. My problem is that the failure route does not trigger on TCP timeout. ... t_on_reply("ON_REPLY_MESSAGE"); t_on_failure("FAILURE_MESSAGE"); if (!t_relay()) sl_reply_error(); I did play with some settings like tcp_send_timeout=3 t_set_max_lifet

[SR-Users] kamailio t_on_failure tcp timeout

2023-11-21 Thread Julien Chavanton via sr-users
Hi, I would like to catch TCP timeouts when I use a socket that was not closed. In this example I am sending SIP MESSAGE ... t_on_reply("ON_REPLY_MESSAGE"); t_on_failure("FAILURE_MESSAGE"); if (!t_relay()) sl_reply_error(); __ Ka

[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 [1431:511]

[SR-Users] Re: sips to sip

2023-11-21 Thread David Villasmil via sr-users
thanks Henning, Already tried that with: if (is_method("INVITE")) { $var(fline) = $msg(fline); $var(hdrs) = $msg(hdrs); $var(body) = $msg(body); $var(fline) = $(var(fline){s.replace,sips,sip}); #{s.replace,;transport=TLS,}{s.replace,;transport=tls,});

[SR-Users] Re: Dialog + DMQ: dlg_ontimeout() triggered on wrong node!

2023-11-21 Thread Benoît Panizzon via sr-users
Hi Some more testing... It looks like, in REPLY_ROUTE if (is_known_dlg()) { dlg_set_timeout("3"); xlog("L_INFO", "$cfg(route): DEBUG DLG Lifetime $dlg(lifetime)\n"); } indeed does set the lifetime to 3 seconds. Unfortunately this is replicated o

[SR-Users] Releasing v5.6.5

2023-11-21 Thread Daniel-Constantin Mierla via sr-users
Hello, I am considering to release Kamailio v5.6.5 (out of branch 5.6) later this week (likely on Thursday or Friday, Nov 23/24, 2023). 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-Constant

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