From: Russell Bryant Date: Mon, 28 Mar 2005 05:54:19 +0000 (+0000) Subject: update for reload commands (bug #3697) X-Git-Tag: 1.0.11.1~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61538bec926a9cfbadac414338adc277ff765321;p=thirdparty%2Fasterisk.git update for reload commands (bug #3697) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5286 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configs/enum.conf.sample b/configs/enum.conf.sample index 905f10fe11..1e0c1e1be2 100755 --- a/configs/enum.conf.sample +++ b/configs/enum.conf.sample @@ -2,6 +2,7 @@ ; ENUM Configuration for resolving phone numbers over DNS ; ; Sample config for Asterisk +; This file is reloaded at "reload" in the CLI ; [general] ; diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample index 624aff8aaa..91721caf4a 100755 --- a/configs/extensions.conf.sample +++ b/configs/extensions.conf.sample @@ -3,6 +3,9 @@ ; the pbx_config module. This is where you configure all your ; inbound and outbound calls in Asterisk. ; +; This configuration file is reloaded +; - With the "extensions reload" command in the CLI +; - With the "reload" command (that reloads everything) in the CLI ; ; The "General" category is for certain variables. diff --git a/configs/iax.conf.sample b/configs/iax.conf.sample index 98ffd3d9ca..d34d9bc87c 100755 --- a/configs/iax.conf.sample +++ b/configs/iax.conf.sample @@ -1,6 +1,9 @@ ; Inter-Asterisk eXchange driver definition ; +; This configuration is re-read at reload +; or with the CLI command +; reload chan_iax2.so ; ; General settings, like port number to bind to, and ; an option address (the default is to bind to all diff --git a/configs/logger.conf.sample b/configs/logger.conf.sample index bf28f2f408..b1c65738df 100755 --- a/configs/logger.conf.sample +++ b/configs/logger.conf.sample @@ -3,6 +3,9 @@ ; ; In this file, you configure logging to files or to ; the syslog system. +; +; "logger reload" at the CLI will reload configuration +; of the logging system. [general] ; Customize the display of debug message time stamps diff --git a/configs/manager.conf.sample b/configs/manager.conf.sample index 4560904e25..479c919383 100755 --- a/configs/manager.conf.sample +++ b/configs/manager.conf.sample @@ -1,5 +1,23 @@ ; -; Asterisk Call Management support +; AMI - The Asterisk Manager Interface +; +; Third party application call management support +; and PBX event supervision +; +; This configuration file is read every time someone +; logs in +; +; Use the "show manager commands" at the CLI to list +; availabale manager commands and their authorization +; levels. +; +; "show manager command " will show a help text. +; +; ------------------- SECURITY NOTE ----------------- +; Note that you should not enable the AMI on a public +; IP address. If needed, block this TCP port with +; iptables (or another FW software) and reach it +; with IPsec, SSH or SSL vpn tunnel ; [general] enabled = no @@ -10,5 +28,7 @@ bindaddr = 0.0.0.0 ;secret = mysecret ;deny=0.0.0.0/0.0.0.0 ;permit=209.16.236.73/255.255.255.0 +; +; Authorization for various classes ;read = system,call,log,verbose,command,agent,user ;write = system,call,log,verbose,command,agent,user diff --git a/configs/meetme.conf.sample b/configs/meetme.conf.sample index c78cc21ac0..417ce862ee 100755 --- a/configs/meetme.conf.sample +++ b/configs/meetme.conf.sample @@ -2,6 +2,8 @@ ; Configuration file for MeetMe simple conference rooms ; for Asterisk of course. ; +; This configuration file is read every time you call app meetme() +; [rooms] ; ; Usage is conf => confno[,pin] diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index f3fc875803..5b9053de57 100755 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -19,6 +19,9 @@ ; ; sip debug Show all SIP messages ; +; reload chan_sip.so Reload configuration file +; Active SIP peers will not be reconfigured +; [general] context=default ; Default context for incoming calls