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: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?
Mit freundlichen Grüssen
-Benoît Panizzon-