Hi Alex

> 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.

This is, why I first try to get parallel forking to work, but somehow I
don't.

Again what I want to do in this, I assume, simple and common scenario:

I have AoR alice registered with 4 contacts all with q=0.5
I have AoR bob registered with 1 contact with q=0.5

I try to get those total of 5 contacts in my destination set and
parallel fork a call to those 5 contacts.

I got this working the 'very hard' way by making use of
reg_fetch_contacts and append_branch and setting 'most' branch values from the 
$ulc()
variables, but this need manual tweaking each time I add some
functionality like NAT or PATH support.

=> There must be an easier way, right?

What am I missing with the lookup() function to make this work
'out-of-the-box'?

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