Try: $hdr(X-RTP-Stat), not $hdr (X-RTP-Stat) - the difference is significant.
Masoom Alam wrote:
Hi i am configuring RADIUS accounting with openser and i facing the problem with radius_extra module in acc all other parameters are ok but when i add $hdr something i got the following error.
parameters with avp are fine but problem is with $hdr.
modparam("acc", "radius_extra", ......; X-RTP-Stat=$hdr (X-RTP-Stat; ......)
Nov 24 13:30:50 kamailio /sbin/openser[3760]: xl_fill_extra_spec: extra item [hdr] not found Nov 24 13:30:50 kamailio /sbin/openser[3760]: xl_lookup_spec_name: not found PV [hdr] Nov 24 13:30:50 kamailio /sbin/openser[3760]: ERROR:xl_parse_spec: error searching pvar "hdr"
Regards, MM Alam SERG Pakistan http://serg.imsciences.edu.pk http://www.imsciences.edu.pk/profiles/masoom_alam.html
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users