[SR-Users] Dialog update timeout
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 7 22:34:51 CET 2015
Can you try the variant with dlg_set_timeout() after applying the next
patch?
https://github.com/kamailio/kamailio/commit/a41eab6bedf670f9f34f069b82a85c3a49c5e1bd
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 at gmail.com
>> <mailto:pars3c at 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 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','miconda at 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 at 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 at 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 at 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 at 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
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150107/21329ad8/attachment.html>
More information about the sr-users
mailing list