On Dec 10, 2024, at 9:23 am, Benoit Panizzon benoit.panizzon@imp.ch wrote:
All with the goal to be able to parallel branch a call to multiple destinations gathered from locations contact of multiple AoR (in case I am trying to overcomplicate this, please tell me the obvious solution I'm missing :-) )
You might be overcomplicating this, as parallel forking is out-of-the-box behaviour for lookup(), provided that `append_branches` is set to 1:
https://kamailio.org/docs/modules/5.8.x/modules/registrar.html#idm175
It's the serial forking across contacts that takes extra work. With the parallel forking, you don't need to mess with t_load_contacts() / t_next_contacts() at all.
-- Alex