Hi Lenir,

I added this feature on the devel branch - if a fixup function (from any module) fails, the cfg line number will be reported.

Regards,
Bogdan

Lenir wrote:

Hey guys,

I would like to request a modification of the parser for AVPOPS. When the parser finds a misconfiguration, it prints out something like this:

0(0) INFO:textops:hname_fixup: using hdr type name <Alert-Info>

 0(0) ERROR:avops:fixup_pushto_avp: bad param 1; expected : $ru $du ...

ERROR: error -1 while trying to fix configuration

It would be nice if it printed the line where the error was found, maybe something like:

0(0) INFO:textops:hname_fixup: using hdr type name <Alert-Info>

0(0) ERROR:avops:fixup_pushto_avp: bad param 1; expected : $ru $du ...on line: 300

ERROR: error -1 while trying to fix configuration

This would save a lot of time troubleshooting, specially those of us who are migrating to the latest CVS versions of openser.

Thanks

Lenir

------------------------------------------------------------------------

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to