Asl ulc pseudovariable is a stack you can just iterate via it in the request_route
see example here:
https://kamailio.org/docs/modules/5.6.x/modules/registrar.html#idm871

чт, 4 мая 2023 г. в 15:38, Benoit Panizzon <benoit.panizzon@imp.ch>:
Hi Yuriy

> You don't need to do so in branch route. You can do this within
> request_route.

Bug accessing:

> > $var(socket) = $(ulc(aor=>socket)[$T_branch_idx]);

Is only possible in the branch route as I need that index, right?

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
______________________________________________________