[asterisk-commits] tzafrir: branch tzafrir/minconf r191027 - in /team/tzafrir/minconf: ./ config...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 29 08:21:04 CDT 2009


Author: tzafrir
Date: Wed Apr 29 08:20:49 2009
New Revision: 191027

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191027
Log:
More work on reducing number messages at startup.

Added features.conf, jabber.conf and res_odbc.conf . See the TODO file for
rationale.

Added:
    team/tzafrir/minconf/TODO   (with props)
    team/tzafrir/minconf/configs/minimal/features.conf   (with props)
    team/tzafrir/minconf/configs/minimal/jabber.conf   (with props)
    team/tzafrir/minconf/configs/minimal/res_odbc.conf   (with props)

Added: team/tzafrir/minconf/TODO
URL: http://svn.digium.com/svn-view/asterisk/team/tzafrir/minconf/TODO?view=auto&rev=191027
==============================================================================
--- team/tzafrir/minconf/TODO (added)
+++ team/tzafrir/minconf/TODO Wed Apr 29 08:20:49 2009
@@ -1,0 +1,113 @@
+Non-default configuration values:
+
+cli_permissions.conf::
+  * Removing it or leaving it empty resorts to default behaviour.
+  * Non-comment parts of the file are only really required if other
+    sections there are used.
+  * Error message slightly confusing: what happens if cli_permissions 
+    are not applied.
+
+features.conf::
+  * If does not exist: sane built-in defaults are used.
+  * The values enabled by default in the sample config file slightly
+    differ from those defaults (number of parking lots).
+  
+
+indications.conf::
+  * If does not exist: asterisk fails to start.
+  * If empty: Asterisk complains about not being able to load indications.
+
+jabber.conf::
+  * If non-existing: res_jabber complains at startup and does not load
+  * If empty: all is silent. res_jabber loads.
+
+res_odbc.conf::
+  * Sample file has a number of un-remmed-out values.
+  * Removing the file disables res_odbc functionality.
+  * No need for any of the default content in the sample res_odbc.conf
+
+smdi.conf::
+  * If non-existant, empty or otherwise no interfacess: we get a notice
+    that there are no interfaces.
+  * no reason to include it, then.
+    
+
+egrep -cv '^([[:space:]]*(;|//|--)|$)' configs/*.sample  | sort -t: -nr -k2
+
+configs/indications.conf.sample:492
+configs/extensions.ael.sample:165
+configs/extensions.conf.sample:150
+configs/cli_aliases.conf.sample:112
+configs/res_ldap.conf.sample:110
+configs/say.conf.sample:102
+configs/extensions_minivm.conf.sample:92
+configs/extensions.lua.sample:80
+configs/phoneprov.conf.sample:72
+configs/misdn.conf.sample:61
+configs/muted.conf.sample:39
+configs/oss.conf.sample:34
+configs/sip_notify.conf.sample:30
+configs/sip.conf.sample:30
+configs/dbsep.conf.sample:30
+configs/minivm.conf.sample:26
+configs/iax.conf.sample:25
+configs/followme.conf.sample:22
+configs/res_odbc.conf.sample:21
+configs/vpb.conf.sample:20
+configs/voicemail.conf.sample:20
+configs/codecs.conf.sample:19
+configs/users.conf.sample:17
+configs/chan_dahdi.conf.sample:16
+configs/func_odbc.conf.sample:12
+configs/console.conf.sample:12
+configs/amd.conf.sample:9
+configs/alarmreceiver.conf.sample:8
+configs/udptl.conf.sample:7
+configs/skinny.conf.sample:7
+configs/res_pgsql.conf.sample:7
+configs/queues.conf.sample:6
+configs/features.conf.sample:6
+configs/modules.conf.sample:5
+configs/cdr.conf.sample:5
+configs/adsi.conf.sample:5
+configs/phone.conf.sample:4
+configs/musiconhold.conf.sample:4
+configs/manager.conf.sample:4
+configs/logger.conf.sample:4
+configs/dundi.conf.sample:4
+configs/cdr_sqlite3_custom.conf.sample:4
+configs/alsa.conf.sample:4
+configs/rtp.conf.sample:3
+configs/iaxprov.conf.sample:3
+configs/enum.conf.sample:3
+configs/agents.conf.sample:3
+configs/adtranvofr.conf.sample:3
+configs/unistim.conf.sample:2
+configs/smdi.conf.sample:2
+configs/sla.conf.sample:2
+configs/meetme.conf.sample:2
+configs/http.conf.sample:2
+configs/h323.conf.sample:2
+configs/cli_permissions.conf.sample:2
+configs/cdr_manager.conf.sample:2
+configs/usbradio.conf.sample:1
+configs/res_snmp.conf.sample:1
+configs/osp.conf.sample:1
+configs/mgcp.conf.sample:1
+configs/jabber.conf.sample:1
+configs/festival.conf.sample:1
+configs/extconfig.conf.sample:1
+configs/dsp.conf.sample:1
+configs/dnsmgr.conf.sample:1
+configs/cli.conf.sample:1
+configs/cdr_pgsql.conf.sample:1
+configs/rpt.conf.sample:0
+configs/queuerules.conf.sample:0
+configs/jingle.conf.sample:0
+configs/gtalk.conf.sample:0
+configs/cdr_tds.conf.sample:0
+configs/cdr_odbc.conf.sample:0
+configs/cdr_custom.conf.sample:0
+configs/cdr_adaptive_odbc.conf.sample:0
+configs/ais.conf.sample:0
+

Propchange: team/tzafrir/minconf/TODO
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/tzafrir/minconf/TODO
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/tzafrir/minconf/TODO
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/tzafrir/minconf/configs/minimal/features.conf
URL: http://svn.digium.com/svn-view/asterisk/team/tzafrir/minconf/configs/minimal/features.conf?view=auto&rev=191027
==============================================================================
--- team/tzafrir/minconf/configs/minimal/features.conf (added)
+++ team/tzafrir/minconf/configs/minimal/features.conf Wed Apr 29 08:20:49 2009
@@ -1,0 +1,2 @@
+; Add this file to stop Asterisk from complaining at startup. Sane 
+; defaults will be used nevertheless.

Propchange: team/tzafrir/minconf/configs/minimal/features.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/tzafrir/minconf/configs/minimal/features.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/tzafrir/minconf/configs/minimal/features.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/tzafrir/minconf/configs/minimal/jabber.conf
URL: http://svn.digium.com/svn-view/asterisk/team/tzafrir/minconf/configs/minimal/jabber.conf?view=auto&rev=191027
==============================================================================
--- team/tzafrir/minconf/configs/minimal/jabber.conf (added)
+++ team/tzafrir/minconf/configs/minimal/jabber.conf Wed Apr 29 08:20:49 2009
@@ -1,0 +1,1 @@
+; Add this file to stop res_jabber from complaining at startup

Propchange: team/tzafrir/minconf/configs/minimal/jabber.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/tzafrir/minconf/configs/minimal/jabber.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/tzafrir/minconf/configs/minimal/jabber.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/tzafrir/minconf/configs/minimal/res_odbc.conf
URL: http://svn.digium.com/svn-view/asterisk/team/tzafrir/minconf/configs/minimal/res_odbc.conf?view=auto&rev=191027
==============================================================================
--- team/tzafrir/minconf/configs/minimal/res_odbc.conf (added)
+++ team/tzafrir/minconf/configs/minimal/res_odbc.conf Wed Apr 29 08:20:49 2009
@@ -1,0 +1,2 @@
+; Adding this file removes an annoying message at startup.
+; OTOH, it loads res_odbc. See the sample res_odbc.conf

Propchange: team/tzafrir/minconf/configs/minimal/res_odbc.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/tzafrir/minconf/configs/minimal/res_odbc.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/tzafrir/minconf/configs/minimal/res_odbc.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list