Hi Yuriy

> Main request is the first branch.
> So consider changed $ru after lookup as the first (0) branch.
> Other branches will be appended as addition.

Not sure if I understood that correctly...

while in request route... the four URI of the branches are:

$branch(uri)
$(branch(uri)[0])
$(branch(uri)[1])
$(branch(uri)[2])

and $branch(count) is 3 because there are 3 'additional' branches?

How do I geht the sockets of those four branches?

$branch(uri)      => $(ulc(aor=>socket)[0])
$(branch(uri)[0]) => $(ulc(aor=>socket)[1])

and so on? Indexes offset by 1?

And, what happens if I set:

$branch(uri) = $null
will $(branch(uri)[0]) become $branch(uri) and eveything shift one
index down?

-- 
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
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to