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

2023-11-23 Thread Benoit Panizzon via sr-users
Hi I'm opening an issue on github as I consider this a bug. This fixes the issue: route[DMQ_CAPTURE] { if(is_method("KDMQ")) { if(has_body("application/json") && $fU == 'dialog') { if (jansson_get("lifetime", $rb, "$var(life

[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] Re: Dialog + DMQ: dlg_ontimeout() triggered on wrong node!

2023-11-20 Thread Benoît Panizzon via sr-users
Hi > Shall I try by setting the default_timeout and then use a timeout_avp > to set that timeout slightly lower AFTER the dialog has started? Or > would this be synced to the other node too? No, this does not work. Tested on our dev platform (Kamailio 5.6) by setting default_timeout to 5 seconds