Hi, I wish to update dialog timeout when i receive the 200ok in the on_reply route I try to make it with the dlg_set_timeout but it give an error "bogus dialog..."
How can i make it?
Thanks
I tried to set this avp but it's not working.
Il lunedì 15 dicembre 2014, Kalala Alexander klistrod@yandex.ru ha scritto:
Maybe modparam("dialog", "timeout_avp", "$avp(time)")
15.12.2014, 23:44, "Pars3c" <pars3c@gmail.com javascript:_e(%7B%7D,'cvml','pars3c@gmail.com');>:
Hi, I wish to update dialog timeout when i receive the 200ok in the on_reply route I try to make it with the dlg_set_timeout but it give an error "bogus dialog..."
How can i make it?
Thanks ,
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org javascript:_e(%7B%7D,'cvml','sr-users@lists.sip-router.org'); http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
*-- С уважением* *Инженер по телекоммуникациям * *Калала Александр * *vel: 375291146285* *life: 375256819996*
*skype: klistrod*
*VoIP Network EngineerdCAP, CCNAVoiceKalala Alexander* http://callcenters.by/ http://skytel.by/ http://voiplab.by/ http://asterisk-pbx.by/
Are you properly tracking the dialog? i.e. you're sure you've called dlg_manage() or set the dialog tracking flag when processing the initial INVITE?
Yes, i track the dialog setting the flag on the initial invite
Il lunedì 15 dicembre 2014, Alex Balashov abalashov@evaristesys.com ha scritto:
Are you properly tracking the dialog? i.e. you're sure you've called dlg_manage() or set the dialog tracking flag when processing the initial INVITE?
-- 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
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?
I should try it. I update you Thanks
Il lunedì 15 dicembre 2014, Alex Balashov 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
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 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?
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
Hi , i try it with onreply_route[abc] but i have the same results ".. Bogus dialog..."
Il martedì 16 dicembre 2014, Daniel-Constantin Mierla miconda@gmail.com ha scritto:
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 javascript:_e(%7B%7D,'cvml','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 javascript:_e(%7B%7D,'cvml','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 javascript:_e(%7B%7D,'cvml','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 listsr-users@lists.sip-router.org javascript:_e(%7B%7D,'cvml','sr-users@lists.sip-router.org');http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Any ideas for this error?
Thanks
Il martedì 16 dicembre 2014, Pars3c pars3c@gmail.com ha scritto:
Hi , i try it with onreply_route[abc] but i have the same results ".. Bogus dialog..."
Il martedì 16 dicembre 2014, Daniel-Constantin Mierla <miconda@gmail.com javascript:_e(%7B%7D,'cvml','miconda@gmail.com');> ha scritto:
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 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 listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Have you set the timeout avp in the onreply_route[abc]?
Cheers, Daniel
On 20/12/14 09:36, Pars3c wrote:
Any ideas for this error?
Thanks
Il martedì 16 dicembre 2014, Pars3c <pars3c@gmail.com mailto:pars3c@gmail.com> ha scritto:
Hi , i try it with onreply_route[abc] but i have the same results ".. Bogus dialog..." Il martedì 16 dicembre 2014, Daniel-Constantin Mierla <miconda@gmail.com <javascript:_e(%7B%7D,'cvml','miconda@gmail.com');>> ha scritto: 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> 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
Can you try the variant with dlg_set_timeout() after applying the next patch?
https://github.com/kamailio/kamailio/commit/a41eab6bedf670f9f34f069b82a85c3a...
Report back if it works ok in order to decide to backport it.
Cheers, Daniel
On 22/12/14 12:25, Daniel-Constantin Mierla wrote:
Have you set the timeout avp in the onreply_route[abc]?
Cheers, Daniel
On 20/12/14 09:36, Pars3c wrote:
Any ideas for this error?
Thanks
Il martedì 16 dicembre 2014, Pars3c <pars3c@gmail.com mailto:pars3c@gmail.com> ha scritto:
Hi , i try it with onreply_route[abc] but i have the same results ".. Bogus dialog..." Il martedì 16 dicembre 2014, Daniel-Constantin Mierla <miconda@gmail.com <javascript:_e(%7B%7D,'cvml','miconda@gmail.com');>> ha scritto: 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> 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
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda