El Tuesday 30 October 2007 10:28:36 Bogdan-Andrei Iancu escribió:
> But why do you need to keep the timeout in the location table? keep it
> in avp table or in the subscriber table.

I don't understand how can be useful a timeout value in subscriber table. If a 
subscriber calls it will hangup when he decides, why to force it?

I use LCR for call before users with greater "q".
And I insert entries in "location" table via web app to implement forwarding 
(depending on the "q" value it can be serial or parallel).
So I need a INVITE timeout for each forwarding but not for each subscriber 
user.

For example:

"location" table:
-----------------------------------------------------------------------------------------------------
username  domain         contact                               q      timeout

200       domain.org    sip:[EMAIL PROTECTED]:5060       0.50    null
200       domain.org    sip:[EMAIL PROTECTED]              0.40    20
200       domain.org    sip:[EMAIL PROTECTED]     0.30    60 
200       domain.org    sip:[EMAIL PROTECTED]     0.30    60 
-----------------------------------------------------------------------------------------------------

When [EMAIL PROTECTED] is called "next_contacts()" 
returns  "sip:[EMAIL PROTECTED]:5060" (the "real" registered user) so it's 
valid 
the parameter "fr_inv_timer_next" of "lcr" module.

If it doesn't answer, failure_route calls to sip:[EMAIL PROTECTED] The timeout 
would be "lcr" - "fr_inv_timer_next" by default, but I'd like this to be 
customizable per entry in "location" table:
During "lookup(location)" "timeout" field should be loaded 
as "fr_inv_timer_avp".

For this I'd need a way to load that value when doing "lookup()".


That is why it'd be cool this feature in my case.

Regards.



-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to