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 <[email protected]> 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 <[email protected] <mailto:
>> [email protected]>> 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 <[email protected]
>> <mailto:[email protected]>>
>>
>> *To:* OpenSIPS users mailling list <[email protected]
>> <mailto:[email protected]>>
>>
>> *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: [email protected] <mailto:[email protected]>
>> Messenger: [email protected] <mailto:[email protected]>
>>
>> Mobile: +55 11 9989-5348
>> Website: http://volcov.blogspot.com
>>
>>
>>
>>
>> --
>> Wesley Volcov
>> Email: [email protected] <mailto:[email protected]>
>> Messenger: [email protected] <mailto:[email protected]>
>>
>> Mobile: +55 11 9989-5348
>> Website: http://volcov.blogspot.com
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> 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: [email protected]
Messenger: [email protected]
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users