[Pkg-voip-commits] r3433 - freepbx/trunk/debian/astetc

Diego Iastrubni elcuco-guest at alioth.debian.org
Wed Apr 18 13:58:42 UTC 2007


Author: elcuco-guest
Date: 2007-04-18 13:58:42 +0000 (Wed, 18 Apr 2007)
New Revision: 3433

Modified:
   freepbx/trunk/debian/astetc/logger.conf
   freepbx/trunk/debian/astetc/zapata.conf
Log:
better default configuration:
 * logger.conf only prints errors to the console now
 * logger.conf contains pointers to online documentation 
 * zapata.conf contains sane defaults for FXS/FXO channels
 * zapata.conf contains pointers to online documentation




Modified: freepbx/trunk/debian/astetc/logger.conf
===================================================================
--- freepbx/trunk/debian/astetc/logger.conf	2007-04-18 13:44:49 UTC (rev 3432)
+++ freepbx/trunk/debian/astetc/logger.conf	2007-04-18 13:58:42 UTC (rev 3433)
@@ -4,6 +4,9 @@
 ; In this file, you configure logging to files or to
 ; the syslog system.
 ;
+; see: http://www.voip-info.org/wiki/view/Asterisk+debugging
+; see: http://www.voip-info.org/wiki/index.php?page=Asterisk+config+logger.conf
+;
 ; For each file, specify what to log.
 ;
 ; For console logging, you set options at start of

Modified: freepbx/trunk/debian/astetc/zapata.conf
===================================================================
--- freepbx/trunk/debian/astetc/zapata.conf	2007-04-18 13:44:49 UTC (rev 3432)
+++ freepbx/trunk/debian/astetc/zapata.conf	2007-04-18 13:58:42 UTC (rev 3433)
@@ -15,16 +15,53 @@
 [channels]
 language=en
 
+;# global configuration
 
-; include hw detected by genzaptelconf
-; this includes also FXS+FXO channels, while zapata_additional.conf
-; contains only FXS channels
+;# echo canceller:
+;# this configuration will be valid for all channels FXO/FXS
+;# see: http://www.voip-info.org/wiki/view/Asterisk+echo+cancellation
+threewaycalling=yes
+transfer=yes
+usecallerid=yes
+echocancel=yes
+echocancelwhenbridged=yes
+;echotraining=800
+
+;# hangup detection on FXO channels:
+;# read more about this here:
+;# http://www.asteriskguru.com/tutorials/resolving_hangup_detection_problems_fxo_tdm_voicemail.html
+;#
+;# while not all countries use this, it's relatively safe to assume hangup
+;# when this happens
+hanguponpolarityswitch=yes
+
+;# fax detection:
+;# valid values are incomming,outgoing,both,none
+;# see: http://www.voip-info.org/wiki-Asterisk+fax
+faxdetect=incoming 
+
+
+;# include hw detected by genzaptelconf 
+;# this file includes only FXO channels, while 
+;# zapata_additional.conf contains only FXS channels
+;# FXO channels are stored at group 0
 #include "zapata-channels.conf"
 
-; include zap extensions defined in AMP
-#include zapata_additional.conf
+;# include zap extensions defined in AMP, FXS channels
+;# FXO channels are stored at group 5
+#include "zapata_additional.conf"
 
 
+;# user defined zapata hardware configuration:
+;# note that you also need to modify zaptel.conf manually.
+;# note that if you are using genzaptelconf (or zaptel autoconfiguration
+;# from AMP), you  need to be sure the same device is not defined twise.
+;#
+;# as a rule: try to use genzaptelconf when possible, and if you are not satisfied, edit manually.
+;# but be warned that the changes will be lost on the next HW configuration.
+;#
+;# see: http://www.voip-info.org/wiki-Asterisk+config+zapata.conf
+
 ; XTDM20B Port #1,2 plugged into PSTN
 ;AMPLABEL:Channel %c - Button %n
 ;context=from-pstn
@@ -36,6 +73,3 @@
 ;echotraining=800
 ;group=0
 ;channel=1-2
-
-
-




More information about the Pkg-voip-commits mailing list