Try using onreply_route[abc] set with t_on_reply("abc") and eventually with avp -- the onreply_route without a name is executed from core and the avps for transaction (used by tm and dialog) are not available yet.
Cheers, Daniel
On 16/12/14 08:48, pars3c wrote:
Also with dlg_manage() i’ve the same error :
“CRITICAL: dialog [dlg_timer.c:205]: update_dlg_timer(): Trying to update a bogus dlg tl=0xb5d8c8fc tl->next=(nil) tl->prev=(nil)
16(5114) ERROR: dialog [dlg_hash.c:1101]: update_dlg_timeout(): failed to update dialog lifetime”
My route is this:
onreply_route {
if (is_method("INVITE") && status == "200") { ################################ CONNECT
$dlg_var(shift_c)=(str)((int)$dlg_var(c_time)-(int)$dlg_var(invite_time));
dlg_set_timeout("1800"); xlog("L_INFO","200OK UPDATE TIMEOUT -
timeout:$dlg(lifetime)-- \n");
}
}
Any ideas ?
Thanks
*Da:*Pars3c [mailto:pars3c@gmail.com] *Inviato:* lunedì 15 dicembre 2014 22:04 *A:* Kamailio (SER) - Users Mailing List *Oggetto:* Re: Dialog update timeout
I should try it. I update you
Thanks
Il lunedì 15 dicembre 2014, Alex Balashov <abalashov@evaristesys.com mailto:abalashov@evaristesys.com> ha scritto:
On 12/15/2014 04:01 PM, Pars3c wrote:
Yes, i track the dialog setting the flag on the initial invite
Do you get any different results if you call dlg_manage() instead?
-- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 United States
Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users