[Serusers] Is manipulating the content of an AVP possible?

Marian Dumitru marian.dumitru at voice-sistem.ro
Fri Jun 10 12:19:09 CEST 2005


Hi Kanakatti,

some of the features you mention are on the way in the avpops module. 
Not sure when they will be released, but they will.

regards,
Marian

PS: indeed, it's a really ugly hack

Kanakatti Mahesh Subramanya wrote:
> to be precise
> 
> a) how do I go about combining two AVPs ?
> b) how can I change the value (string manip, to be precise) the value of 
> an AVP?
> c) how can I do (b), based on the content of a different AVP?
> 
> Ideally, the answer isn't "write the code to do this"
> 
> The <hack>method</hack> that I came up with was
> a) write the AVPs I care about to a custom header
> b) resend the request to myself, and then use 'subst' (or equivalent 
> textops command)
> 
> needless to say, urghk.
> 
> anybody?
> 
> cheers


-- 
Voice System
http://www.voice-system.ro




More information about the sr-users mailing list