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
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@openser.org http://openser.org/cgi-bin/mailman/listinfo/users