[asterisk-dev] debug option inconsistencies

Dmitry Andrianov dimas at dataart.com
Wed Nov 28 13:25:12 CST 2007


Got no response, raising my question again...

From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Dmitry Andrianov
Sent: Tuesday, November 13, 2007 4:36 PM
To: Asterisk Developers Mailing List
Subject: [asterisk-dev] debug option inconsistencies

It looks like in the current trunk different modules use different convention how to turn debug on/off

>core set debug 100
>sip set debug on
>rtp debug
>udptl debug

That is not very good really - you never remember if given module wants "set" or not, whether it wants "on" or not.
Obviously I could create a patch to fix everything, but are there any guidelines how all new modules should work?

Regards,
Dmitry Andrianov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20071128/f231175e/attachment.htm 


More information about the asterisk-dev mailing list