[Users] Combining AVPs
bogdan at voice-system.ro
Wed Aug 31 14:17:57 CEST 2005
indeed, the function is available just in 0.10.x. For 0.9.5 I do not
know any way of doing AVP concat.
Martin Kjeldsen wrote:
> Thanks for the quick reply.
> Well I'm using the OpenSER 0.9.5, will I still be able to use the
> printf function, or is it limited to the 0.10.x version?
> Bogdan-Andrei Iancu wrote:
>> 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:
>> Martin Kjeldsen wrote:
>>> 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 sr-users