[Users] Combining AVPs

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Aug 31 11:31:57 CEST 2005


Hi Martin,

you should consider using avp_printf() - you may print in an AVP any 
kind of combination between pseudo-variables and fix strings. See:
    http://www.openser.org/docs/modules/0.10.x/avpops.html#AEN387

regards,
bogdan

Martin Kjeldsen wrote:

> Hi
>
> Can anyone offer some helps on how to combine multiple AVPs.
>
> What I would like to do is to create an uri (eg. sip:bob at biloxi.com), 
> where the "bob" part have been taken from e.g. the username column in 
> the alias table and the rest either prefixed/appended from some static 
> data or grabbed from another tuple!
>
> Can anyone offer some insight as to how this may best be accomplished.
>





More information about the Users mailing list