-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I updated today to openser 1.3 (HEAD) and got a problem with radius_extra parameter of acc module.
openser config line is: modparam("acc", "radius_extra", "Sip-Src-IP=$si; Sip-Src-Port=$sp; Sip-User-ID=$fU; Sip-User-Realm=$fd; Sip-Req-URI=$ru")
console log delivered: Oct 25 13:49:11 [23936] ERROR:acc:parse_acc_extra: parse failed in <Sip-Src-IP=$si; Sip-Src-Port=$sp; Sip-User-ID=$fU; Sip-User-Realm=$fd; Sip-Req-URI=$ru> around position 88
any ideas what the reason could be? openser 1.2 works fine with same config.
regards helmut
Hi Kelmut,
It looks like the problem is in the pv_parse_spec() function..I will follow up the issue and fix it.. For the moment, as a dirty trick, just put a dummy space at the end of the string - like:
modparam("acc", "radius_extra", "Sip-Src-IP=$si; Sip-Src-Port=$sp; Sip-User-ID=$fU; Sip-User-Realm=$fd; Sip-Req-URI=$ru ")
Regards, Bogdan
Helmut Kuper wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I updated today to openser 1.3 (HEAD) and got a problem with radius_extra parameter of acc module.
openser config line is: modparam("acc", "radius_extra", "Sip-Src-IP=$si; Sip-Src-Port=$sp; Sip-User-ID=$fU; Sip-User-Realm=$fd; Sip-Req-URI=$ru")
console log delivered: Oct 25 13:49:11 [23936] ERROR:acc:parse_acc_extra: parse failed in <Sip-Src-IP=$si; Sip-Src-Port=$sp; Sip-User-ID=$fU; Sip-User-Realm=$fd; Sip-Req-URI=$ru> around position 88
any ideas what the reason could be? openser 1.2 works fine with same config.
regards helmut -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHIIUc4tZeNddg3dwRAj4RAJ98aOYYDsWA5pFPfc7yhoQ/Gswt/gCeI2ZG 317jg0jKh0cUWvfc5F0VVkU= =SG4V -----END PGP SIGNATURE-----
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users