Hi Alex

> Yes, there is such a use-case, but it does not require `dispatcher`. You may 
> use the mode=1 argument to t_load_contacts() instead, provided the devices 
> are registered with equal q= values.
> 
> https://kamailio.org/docs/modules/5.8.x/modules/tm.html#idm1307

Thank you! t_load_contacts => mode 1 sounds like what I was looking
for. I guess I have some lab testing to do in the next couple of days ;)

Now I only miss the last piece: If I want to branch a call to different
contacts in different locations, how can I do this? At the moment I
painfully use reg_fetch_contacts and loop with append_branch setting all
kind of variables manually.

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?

Mit freundlichen Grüssen

-Benoît Panizzon-
-- 
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________
__________________________________________________________
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