Hi Benoit,

> On Dec 9, 2024, at 8:35 am, Benoit Panizzon <[email protected]> wrote:
> 
> Would this work smoothly with t_load_contacts?
> 
> Assuming alice has two contacts and bob one in the location database.
> 
> modparam("tm|usrloc", "xavp_contact", "ulattrs")
> 
> lookup("location", "sip:[email protected]");
> t_load_contacts(1);
> lookup("location", "sip:[email protected]");
> t_load_contacts(1);
> 
> Will this result in all 3 contacts being present in the XAVP so I could
> fail to the next one for serial balanced forking (mode 1) and alert all
> three of them if using t_load_contacts(0) and all having the same q
> value?

I think the proper thing to do is:

- Decide if you want to use serial or fan-out ringing mode;

- If serial, t_load_contacts(1), and then associated failover failure_route.

- If parallel, t_load_contacts(0).

Ensure that q-values are equal in both cases.

-- Alex

-- 
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to