Hi, thanks @ all. I will try out the AVP method.
Best regards, Bernhard -----Ursprüngliche Nachricht----- Von: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Gesendet: Dienstag, 2. November 2010 17:16 An: Alex Balashov Cc: Bernhard Suttner; sr-users@lists.sip-router.org Betreff: Re: [SR-Users] loop through variables On 11/2/10 5:13 PM, Alex Balashov wrote: > On 11/02/2010 12:01 PM, Daniel-Constantin Mierla wrote: > >> What Alex provided for assignment is not working exactly that way, >> because an assignment to an AVP always adds at the first position like a >> stack (the index is not relevant for avp in the left side of assignment >> unless it is '*' and assigned value is null - meaning delete all avps >> with that name). > > That is true. I forgot about that. That still means he could insert > the IPs in backward order, though, doesn't it? yes, it inserts them in backward order. Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users