[sr-dev] fr[_inv]_timer_avp & backward compatibility

Daniel-Constantin Mierla miconda at gmail.com
Sun Nov 9 09:34:48 CET 2014


On 09/11/14 09:03, Alex Balashov wrote:
> The documentation for the fr_timer_avp/fr_inv_timer_avp modparams of
> TM say:
>
>    This parameter is kept for backwards compatibility (hence its
>    value expressed in seconds instead of milliseconds and its
>    arcane way of specifying the avps). The recommended replacement
>    is using t_set_fr() on a per transaction basis.
>
> The problem is that, as far as I can see, t_set_fr() does not accept
> PV arguments, so it is not a replacement except in cases where these
> values are hard-coded.
>
The function takes variables as parameters.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com




More information about the sr-dev mailing list