Hi Benoit,
On Dec 9, 2024, at 8:35 am, Benoit Panizzon
<benoit.panizzon(a)imp.ch> 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:alice@example.com");
t_load_contacts(1);
lookup("location", "sip:bob@example.com");
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