[SR-Users] dialog timeout reinvite

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 7 22:32:50 CET 2015


On 07/01/15 12:24, Kelvin Chua wrote:
> thanks for the tip, i'm using 4.1
> what i did was to catch the reinvite and compute the remaining timeout
> and set it again using dlg_set_timeout
> tedious but does the job well.
>
> i am struggling with another dialog timeout related issue though.
> when i set dlg_manage(), t_relay, then the call fails, i retry using
> another route.
> rates are not the same so i need to update the timeout.
> but this time, i am not able to update the timeout using the avp,
> dialog module ignores the new timeout
> and uses the old timeout. I tried using is_known_dialog and
> dlg_set_timeout but it complains of bogus dialog.
> any ideas?

Can you try with the next patch and dlg_set_timeout()?

https://github.com/kamailio/kamailio/commit/a41eab6bedf670f9f34f069b82a85c3a49c5e1bd

It proves to work fine, it will be backported.

Cheers,
Daniel

> Kelvin Chua
>
>
> On Fri, Jan 2, 2015 at 1:35 AM, Federico Cabiddu
> <federico.cabiddu at gmail.com> wrote:
>> Hi,
>> You can use the timeout_noreset parameter of the dialog module:
>> http://www.kamailio.org/docs/modules/devel/modules/dialog.html#idp16963672.
>>
>> Regards,
>>
>> Federico
>>
>> On 1 Jan 2015 17:27, "Kelvin Chua" <kelchy at gmail.com> wrote:
>>> Happy new year everyone! :)
>>>
>>> I have stumbled into a case where a switch would send a reinvite to my
>>> kamailio server every 15 minutes.
>>>
>>> I am setting dialog timeout using avp for prepaid purposes. now i think it
>>> resets the timer upon processing of the reinvite. what is the best way to
>>> work around this?
>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> 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://www.linkedin.com/in/miconda




More information about the sr-users mailing list