[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    [Users] Combining AVPs
From:       bogdan () voice-system ! ro (Bogdan-Andrei Iancu)
Date:       2005-08-31 14:14:33
Message-ID: 43159FF5.6060405 () voice-system ! ro
[Download RAW message or body]

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@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.
>>>
>>
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic