[Users] Assigning multi-valued AVP to $ru
Daniel-Constantin Mierla
daniel at voice-system.ro
Wed May 16 10:07:16 CEST 2007
Hello,
On 05/16/07 03:53, Christian Schlatter wrote:
> Openser 1.2 question:
>
> Having a multi-valued AVP $avp(s:uri), does
>
> $ru = $avp(s:uri);
>
> achieve the same as
>
> avp_pushto("$ru", "$avp(s:uri)/g"); ?
>
>
> Or is there something like
>
> $ru = $avp(s:uri)/g; ?
no, for such case you still have to use avp_pushto("$ru",
"$avp(s:uri)/g"). It is the reason why avp_pushto() stilll exists. On
the todo list is kind of "foreach" addition to overcome this.
Cheers,
Daniel
>
>
> thanks,
> Christian
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list