[Users] Combining AVPs
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Aug 31 14:17:57 CEST 2005
Hi,
indeed, the function is available just in 0.10.x. For 0.9.5 I do not
know any way of doing AVP concat.
regards,
bogdan
Martin Kjeldsen wrote:
> Hi
>
> 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?
>
>
> Regards
> Martin
>
>
> 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:
>> 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