Disable debugging by default

and reformat .config file.

Review: https://reviewboard.asterisk.org/r/929/ 


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@289703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Paul Belanger 16 years ago
parent 11e86ae8f0
commit b7fdc4a81e

@ -1,18 +1,16 @@
[general]
;debug=yes ;;Turn on debugging by default.
;autoprune=yes ;;Auto remove users from buddy list.
;autoregister=yes ;;Auto register users from buddy list.
;debug=yes ; Enable debugging (disabled by default).
;autoprune=yes ; Auto remove users from buddy list.
;autoregister=yes ; Auto register users from buddy list.
;[asterisk] ;;label
;type=client ;;Client or Component connection
;serverhost=astjab.org ;;Route to server for example,
;; talk.google.com
;username=asterisk@astjab.org/asterisk ;;Username with optional roster.
;secret=blah ;;Password
;port=5222 ;;Port to use defaults to 5222
;usetls=yes ;;Use tls or not
;usesasl=yes ;;Use sasl or not
;buddy=mogorman@astjab.org ;;Manual addition of buddy to list.
;statusmessage="I am available" ;;Have custom status message for
;;Asterisk.
;timeout=100 ;;Timeout on the message stack.
;[asterisk]
;type=client ; Client or Component connection
;serverhost=astjab.org ; Route to server for example, talk.google.com
;username=asterisk@astjab.org/asterisk ; Username with optional roster.
;secret=blah ; Password
;port=5222 ; Port to use defaults to 5222
;usetls=yes ; Use tls or not
;usesasl=yes ; Use sasl or not
;buddy=mogorman@astjab.org ; Manual addition of buddy to list.
;statusmessage="I am available" ; Have custom status message for Asterisk
;timeout=100 ; Timeout on the message stack.

@ -2324,7 +2324,7 @@ static int aji_create_buddy(char *label, struct aji_client *client)
static int aji_load_config(void)
{
char *cat = NULL;
int debug = 1;
int debug = 0;
struct ast_config *cfg = NULL;
struct ast_variable *var = NULL;

Loading…
Cancel
Save