[SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1
Daniel-Constantin Mierla
miconda at gmail.com
Thu Mar 24 14:26:11 CET 2011
Hello,
On 3/21/11 4:13 PM, Min Wang wrote:
> Hi
>
> I am trying to use fr_inv_timer_avp like the following in Kamailio 3.1:
>
>
> #!KAMAILIO
> ...
> modparam("tm", "fr_inv_timer_avp", "$avp(i:2)")
> modparam("tm", "fr_inv_timer", 180000)
>
> ..
> $avp(i:2)=10
> ...
> # t_set_fr(10000);
> ...
> t_on_failure("failroute");
>
>
> It seems it is not working. the invite will timeout in 3 min, not 10
> seconds.
>
> If t_set_fr is used, it is working ( 10 seconds timeout). the
> t_set_fr issue is it can only accept the constant, not avp.
t_set_fr() accepts any pseudo-varaibles as parameters, how did you use it?
>
> I saw there was a discussion in the april 2010,
>
> http://lists.sip-router.org/pipermail/sr-users/2010-April/027101.html
>
> Not sure fr_inv_timer_avp has been tested or not in Kamailio 3.0/3.1?
It was an issue related to time unit reported in that message, but it
got fixed and should work now -- since I did the fix I tested it,
hopefully there was no commit later to cause the regression. Can you do
avp_print() before t_relay() and check if the avp with the timeout
really exists? You have to run in debug mode.
Cheers,
Daniel
>
>
> A bug or my misuage the fr_inv_timer_avp?
>
>
>
> thanks
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the sr-users
mailing list