diff options
author | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-01 17:09:03 +0000 |
---|---|---|
committer | pabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-10-01 17:09:03 +0000 |
commit | 045e4bf061183e40d4e39eb59f05913a726754c8 (patch) | |
tree | 2935e8d6f66142c8542afd0149e48d39f0d46c31 | |
parent | 3f8916db680d5c1aa3821e04a99c883ce25e9471 (diff) |
Merged revisions 289703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r289703 | pabelanger | 2010-10-01 13:03:11 -0400 (Fri, 01 Oct 2010) | 6 lines
Disable debugging by default
and reformat .config file.
Review: https://reviewboard.asterisk.org/r/929/
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@289704 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | configs/jabber.conf.sample | 38 | ||||
-rw-r--r-- | res/res_jabber.c | 2 |
2 files changed, 18 insertions, 22 deletions
diff --git a/configs/jabber.conf.sample b/configs/jabber.conf.sample index 6cfb755bd..4e815ef83 100644 --- a/configs/jabber.conf.sample +++ b/configs/jabber.conf.sample @@ -1,23 +1,19 @@ [general] -;debug=yes ;;Turn on debugging by default. -;autoprune=yes ;;Auto remove users from buddy list. Depending on your - ;;setup (ie, using your personal Gtalk account for a test) - ;;you might lose your contacts list. Default is 'no'. -;autoregister=yes ;;Auto register users from buddy list. +;debug=yes ; Enable debugging (disabled by default). +;autoprune=yes ; Auto remove users from buddy list. Depending on your + ; setup (ie, using your personal Gtalk account for a test) + ; you might lose your contacts list. Default is 'no'. +;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 resource. -;secret=blah ;;Password -;priority=1 ;;Resource priority -;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. -;status=available ;;One of: chat, available, away, - ;; xaway, or dnd -;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 resource. +;secret=blah ; Password +;priority=1 ; Resource priority +;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. diff --git a/res/res_jabber.c b/res/res_jabber.c index 7912f88ba..68758868a 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -2897,7 +2897,7 @@ static int aji_create_buddy(char *label, struct aji_client *client) static int aji_load_config(int reload) { char *cat = NULL; - int debug = 1; + int debug = 0; struct ast_config *cfg = NULL; struct ast_variable *var = NULL; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; |