Would `xavp_params_implode()` work for you?  https://kamailio.org/docs/modules/5.6.x/modules/pv.html#pv.f.xavp_params_implode

Regards,
Kaufman


From: Benoit Panizzon via sr-users <sr-users@lists.kamailio.org>
Sent: Tuesday, December 10, 2024 8:23 AM
To: Alex Balashov via sr-users <sr-users@lists.kamailio.org>
Cc: Benoit Panizzon <benoit.panizzon@imp.ch>
Subject: [SR-Users] Re: How to inspect/dump a stacked xavp? / How to stack two xavp on each other?
 
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi

> But I wonder, can you not just combine these operations into one loop?

My issue is not the loop, that works fine.

My issue is accessing / dumping the content of the xavp element 'k' in
this loop.

And then the next challenge is, how to concatenate two xavp stacks.

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 :-) )

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  https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.imp.ch%2F&data=05%7C02%7Cbkaufman%40bcmone.com%7Cceb739df4c164f71b25208dd1926ca08%7Cafc1818e7b6848568913201b9396c4fc%7C1%7C0%7C638694376641165399%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=fNqwHWmICEsox77TsPpmytrLGhiaLUczjn%2B5k6SU3I0%3D&reserved=0
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!