[OpenSIPS-Users] put value of header field into AVP

Jeff Pyle jpyle at fidelityvoice.com
Fri Jun 12 15:57:56 CEST 2009


Generically, avp(s:oneavp) = $hdr(SIP-Header)

String translations also work here, such as:
 $avp(s:oneavp) = $(hdr(P-Charge-Info){uri.user})



- Jeff



On 6/12/09 9:49 AM, "Uwe Kastens" <kiste at kiste.org> wrote:

> Hi,
> 
> How can I put the value of a header field in one AVP?
> 
> BR
> 
> Uwe




More information about the Users mailing list