add a new cli/manager.conf option "debug" to enable/disable
authorLuigi Rizzo <rizzo@icir.org>
Fri, 3 Nov 2006 18:53:26 +0000 (18:53 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Fri, 3 Nov 2006 18:53:26 +0000 (18:53 +0000)
commit0bf4235ff19000fc6d8b17059187c94088dda9c6
tree04ed5d0fa33ec0abc3bb77ba77e1c4ceb7b74233
parent4a545a76626d6aedc0b2d742afae0210dc15e0d2
add a new cli/manager.conf option "debug" to enable/disable
debugging code in the manager.
At the moment the debugging code is very lightweight, if the option
is enabled manager messages also carry a sequence number and
the info where they have been generated e.g.

SequenceNumber: 10
File: chan_sip.c
Line: 11927
Func: handle_response_register

It is not worthwhile having this as a compile time option
right now, because the extra work involved at runtime is
just checking one variable.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/manager.h
main/manager.c