Hi Yuriy
Then for the first entry, you can set $ru and $du
variables and it
will become the main branch
For the other do append_branch and set parameters of the branch[-1]
accordingly.
So you can control branch creation instead of automatically doing it
by Kamailio and filter all needed.
Thank you, I think you pointed me in the right direction.
So going to replace:
if (lookup("location", "$var(lookupuri)")) {
by
if (reg_fetch_contacts("location", "$var(lookupuri)",
"aor")) {
Then iterate the contacts and only add the ones having a socket set.
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
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
______________________________________________________