[Devel] AVP pushto header bug?
Günther Starnberger
gst at sysfrog.org
Tue Jul 5 23:31:55 CEST 2005
hello,
the docs to the avp module (function pushto) describe the following
format for the destination:
destination = ruri_dst | hdr_dst
ruri_dst = '$ruri'['/'('username'|'domain')]
hdr_dst = 'hdr_name'['/'('request'|'reply')]
there are also the following examples:
avp_pushto("Email/reply","s:email");
avp_pushto("Foo","$bar/g");
the problem is that i just get the following error message if i specify
a header in the described format:
ERROR:avops:fixup_pushto_avp: bad param 1; expected : $[ruri|hdr_name|..]
but when i prefix the header name with '$' it works fine (openser
inserts the header without the prefix).
i am using version 0.9.4 - so sorry if this bug is already fixed (but i
haven't found any infos on this problem in the 0.9.5 changelog).
the exact commands which are causing the error are:
avp_write("$ruri","s:ruri");
avp_pushto("X-ruri","s:ruri");
cu
/gst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://openser.org/pipermail/devel/attachments/20050705/69d74740/attachment.pgp
More information about the Devel
mailing list