Great!!. Finally I´ve set the fr_inv_timer like this
modparam("tm", "fr_inv_timer", 40)
modparam("tm", "fr_inv_timer_avp", "$avp(s:callee_fr_inv_timer)")
And when an initial INVITE comes from Asterisk (Called LEG) the following
avp function is invoked
avp_printf("$avp(s:callee_fr_inv_timer)", "30");
That way the timer hits first in that LEG and the Voicemail App works
perfectly in the other (caller) LEG.
Thanks!!!
Ricardo
On Tue, Dec 30, 2008 at 6:16 PM, Iñaki Baz Castillo <[email protected]> wrote:
> El Martes, 30 de Diciembre de 2008, Ricardo Lopez Camino escribió:
> > I've found what the problem is. Using this Setup, the timer (most of the
> > times) expires simultaneously in both legs and that's the reason of why
> the
> > CANCEL and the 408 are sent to both legs as well.
>
> In tm module there is a paramater to set an AVP with the expire time for
> the
> branch.
> You can set that AVP to a different value depending on the branch.
>
> --
> Iñaki Baz Castillo
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users