[Users] writing URI lists from headers into AVPs
Daniel-Constantin Mierla
daniel at voice-system.ro
Fri Nov 25 21:25:30 CET 2005
Hello,
you can do it with pseudo-variables and avp_printf():
avp_printf("i:10", "$hdr(Route[*])");
As result, the avp with the integer id 10 will contain a comma separated
list of all Route headers.
See:
http://openser.org/docs/pseudo-variables-1.1.x.html#pv_hdr
Cheers,
Daniel
On 11/25/05 22:06, JF wrote:
> Hi,
>
> Is there a way (from the script) to write a URI list from a SIP header
> (like the ones in Route or Record-Route headers) into one or more
> AVPs?
>
> Thanks in advance!
>
> JF
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list