[OpenSIPS-Users] Route timeout

Wesley Volcov wesleyvolcov at gmail.com
Fri Aug 27 15:33:13 CEST 2010


Hey Bogdan,

Thank you for replying!!

I've been configured:
modparam("tm", "restart_fr_on_each_reply", 1)
modparam("tm", "fr_timer", 2)
modparam("tm", "fr_inv_timer", 5)

Follow my tests:
The INVITE was sent by opensiups  to route at 09:03:42
The 100 TRY  came from route to opensips at 09:03:42
The 183 came from route to opensips at 09:03:43
But, at 09:03:47 the was sent to Failure Route by Opensips.

The call is going to Failure Route 5 seconds after 100 TRY and not after
183/180.

Am I missing anything?

Regards,

On 27 August 2010 05:27, Bogdan-Andrei Iancu <bogdan at voice-system.ro> wrote:

> Hi Wesley,
>
> you can use the restart_fr_on_each_reply param (
> http://www.opensips.org/html/docs/modules/1.6.x/tm.html#id271074)  and set
> the fr_inv_timer to 2 secs.
>
> Regards,
> bogdan
>
> Wesley Volcov wrote:
>
>> Hello All,
>>
>> I've configured the params as fallow:
>> modparam("tm", "fr_timer", 2)
>> modparam("tm", "fr_inv_timer", 10)
>>
>> But, after some tests I'm seeing that, when the destination gateway reply
>> a 100 TRYING, the first timeout(fr_timer) is 'disabled', and the call will
>> enter in failure route just if there is no 200 OK in the time configured in
>> fr_inv_time.
>> What I need, is if the time between de 100 TRYING and 180 RING is more
>> than 2 seconds, the call will enter in failure route.
>>
>> How can I do that?
>>
>> Regards,
>>
>>
>> On 12 August 2010 23:33, Pasan Meemaduma <pasandev at ymail.com <mailto:
>> pasandev at ymail.com>> wrote:
>>
>>    Hi Wesley,
>>
>>    Hope this is what you seeking.
>>
>>    modparam("tm", "fr_inv_timer_avp", "$avp(s:timeout)")
>>
>>    and you can load different timeout to avp using like below, this
>>    is per username
>>
>>    avp_db_load("$ru/username","$avp(s:timeout)");
>>
>>    and you can trigger failure route as follow,
>>
>>     t_on_failure("1");
>>
>>    you can use this in your route to trigger next failure route.
>>
>>
>>    failure_route[1]
>>    {
>>    #####alternate route
>>    }
>>
>>
>>  ------------------------------------------------------------------------
>>    *From:* Wesley Volcov <wesleyvolcov at gmail.com
>>    <mailto:wesleyvolcov at gmail.com>>
>>
>>    *To:* OpenSIPS users mailling list <users at lists.opensips.org
>>    <mailto:users at lists.opensips.org>>
>>
>>    *Sent:* Friday, August 13, 2010 1:17:43
>>    *Subject:* [OpenSIPS-Users] Route timeout
>>
>>    Hello All,
>>
>>    Is there any way to configure a timeout per route?
>>    What I mean is: If my first route doesn't send a reply(100 Trying
>>    or any other) in some seconds, the opensips sends the the call to
>>    failure route, and then I use failure route to try another route.
>>    How can I do that?
>>
>>    Regards,
>>
>>    --     Wesley Volcov
>>    Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
>>    Messenger: volcov at live.com <mailto:volcov at live.com>
>>
>>    Mobile: +55 11 9989-5348
>>    Website: http://volcov.blogspot.com
>>
>>
>>
>>
>> --
>> Wesley Volcov
>> Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
>> Messenger: volcov at live.com <mailto:volcov at live.com>
>>
>> Mobile: +55 11 9989-5348
>> Website: http://volcov.blogspot.com
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> Bogdan-Andrei Iancu
> OpenSIPS Bootcamp
> 20 - 24 September 2010, Frankfurt, Germany
> www.voice-system.ro
>
>


-- 
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100827/aaa3d91c/attachment.htm 


More information about the Users mailing list