Hi,

Thanks, this is very cool.

Is there a way to split one avp without perl in a handfull of differnt
avps or is better to work with different header files?

Maybe some more background to that question. My pstn gw should send some
information for later usage in routing etc.pp. (main number and ddi
number,  in which place should the number with ddi be sent to the UA).
So I was wondering if I use one header and split the variables on the
opensips or let the pstn gw insert more than one header field (if
needed). ATM I would prefer to work with different headers.

BR

Uwe


Jeff Pyle schrieb:
> 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" <ki...@kiste.org> wrote:
> 
>> Hi,
>>
>> How can I put the value of a header field in one AVP?
>>
>> BR
>>
>> Uwe
> 
> 


-- 

kiste lat: 54.322684, lon: 10.13586

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to