updated docs and example conf files

git-svn-id: svn://192.168.202.10@950 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-09-10 06:20:02 +00:00
parent d707c2d366
commit 8505c2901e
17 changed files with 6091 additions and 6070 deletions
@@ -31,17 +31,17 @@ PHASE 1: INSTALLING ASTERISK
1. follow these command line steps:
mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.27.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.25.tar.gz
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.30.2.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.27.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.7.tar.gz
gunzip asterisk-1.2.27.tar.gz
tar xvf asterisk-1.2.27.tar
gunzip zaptel-1.2.25.tar.gz
tar xvf zaptel-1.2.25.tar
gunzip asterisk-1.2.30.2.tar.gz
tar xvf asterisk-1.2.30.2.tar
gunzip zaptel-1.2.27.tar.gz
tar xvf zaptel-1.2.27.tar
gunzip libpri-1.2.7.tar.gz
tar xvf libpri-1.2.7.tar
cd ./zaptel-1.2.25
wget http://www.freedomphones.net/files/newt-0.51.6.tar.gz
cd ./zaptel-1.2.27
wget http://downloads.vicidial.com/packages/newt-0.51.6.tar.gz
gunzip newt-0.51.6.tar.gz
tar xvf newt-0.51.6.tar
cd newt-0.51.6
@@ -58,7 +58,7 @@ cd ../libpri-1.2.7
make clean
make
make install
cd ../asterisk-1.2.27
cd ../asterisk-1.2.30.2
(1.2 tree) If you want to include Answering Machine Detection ability
you will need to download app_amd.c and amd.conf and alter the
apps/Makefile to compile it properly
@@ -73,11 +73,11 @@ cd ../asterisk-1.2.27
wget http://www.eflo.net/files/amd2.conf
mkdir /etc/asterisk
mv amd2.conf /etc/asterisk/amd.conf
*OPTIONAL*(1.2.23 thru 1.2.27) apply the meetme DTMF passthru patch
*OPTIONAL*(1.2.23 thru 1.2.30.2) apply the meetme DTMF passthru patch
wget http://www.eflo.net/files/meetme_DTMF_passthru-1.2.23.patch
patch -p1 < ./meetme_DTMF_passthru-1.2.23.patch
- File to patch: app_meetme.c
*OPTIONAL*(1.2.12.1 thru 1.2.27) apply the meetme volume control patch
*OPTIONAL*(1.2.12.1 thru 1.2.30.2) apply the meetme volume control patch
*Different patches available for 1.2.7.1 through 1.2.14
wget http://www.eflo.net/files/meetme_volume_control_1.2.16.patch
patch -p1 < ./meetme_volume_control_1.2.16.patch
@@ -89,7 +89,7 @@ cd ../asterisk-1.2.27
patch -p1 < ./cli_chan_concise_delimiter.patch
- File to patch: cli.c
*OPTIONAL*(1.2.14 thru 1.2.27) rewrite of waitforsilence
*OPTIONAL*(1.2.14 thru 1.2.30.2) rewrite of waitforsilence
wget http://www.eflo.net/files/app_waitforsilence.c
mv -f app_waitforsilence.c apps/app_waitforsilence.c
@@ -136,7 +136,7 @@ them:
configure it.
NOTES: If you want to install zttool diagnostics you may need the newt package installed:
http://www.freedomphones.net/files/newt-0.51.6.tar.gz
http://downloads.vicidial.com/packages/newt-0.51.6.tar.gz
ln -s /usr/lib/libnewt.so.0.51.6 /usr/lib/libnewt.so.0.51
then go to your zaptel folder and do 'make zttool'
@@ -211,7 +211,7 @@ package(as of this writing it is 2.0.4.1)
package, it's the conf.gsm file(this is the half-hour music file that we use
to put people on hold). I have a free classical music file that is available
free for download at the following two sites:
http://www.freedomphones.net/conf.gsm
http://downloads.vicidial.com/sounds/conf.gsm
http://astguiclient.sf.net/conf.gsm
Once you have downloaded it, you will need to copy it to this folder:
/var/lib/asterisk/sounds/
@@ -219,7 +219,7 @@ free for download at the following two sites:
'cp /var/lib/asterisk/sounds/conf.gsm /var/lib/asterisk/sounds/park.gsm'
Here are the steps spelled out:
cd /var/lib/asterisk/sounds
wget http://www.freedomphones.net/conf.gsm
wget http://downloads.vicidial.com/sounds/conf.gsm
cp conf.gsm park.gsm
- you are done
@@ -270,11 +270,16 @@ to use our new mysql script file to add the tables to the database:
(make sure you put your IP address in place of "10.10.10.15" in the queries below)
######------ BEGIN Mysql data entry(you can copy and paste this into terminal) #
create database asterisk;
CREATE DATABASE `asterisk` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@'%' IDENTIFIED BY '1234';
GRANT SELECT,INSERT,UPDATE,DELETE,LOCK TABLES on asterisk.* TO cron@localhost IDENTIFIED BY '1234';
GRANT RELOAD ON *.* TO cron@'%';
GRANT RELOAD ON *.* TO cron@localhost;
flush privileges;
use asterisk;
\. /usr/src/astguiclient/trunk/extras/MySQL_AST_CREATE_tables.sql
@@ -467,7 +472,7 @@ PHASE 6: ADDING CRONTAB ENTRIES FOR ASTGUICLIENT/VICIDIAL SCRIPTS
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
### remove old recordings more than 7 days old
24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
### remove old vicidial logs and asterisk logs more than 2 days old
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
@@ -656,6 +661,8 @@ You may want to reduce the exposure of some of the elements of VICIDIAL. Here ar
- Change the WWW writable in the admin.php server settings to "0"
- Change the default admin user "6666" or it's password from the default
- Change the Default secret(password) for the default SIP and IAX accounts that are set up with astGUIclient
- Change the default password for the Asterisk manager connection in manager.conf then change it in the server modification screen
- Change the default password for the mysql cron user in mysql and change it to match in /etc/astguiclient.conf on each server
- Possibly use static IP addresses for the IAX/SIP conf account entries
- Change the default port for Apache in httpd.conf from 80 to something else
- Change the default port for IAX in iax.conf from 4569 to something else
@@ -148,10 +148,10 @@ cd zlib-1.2.3
make
make install
cd /usr/local
wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-4.7p1.tar.gz
gunzip openssh-4.7p1.tar.gz
tar xvf openssh-4.7p1.tar
cd openssh-4.7p1
wget http://ftp.openssh.zone-h.org/pub/OpenBSD/OpenSSH/portable/openssh-5.0p1.tar.gz
gunzip openssh-5.0p1.tar.gz
tar xvf openssh-5.0p1.tar
cd openssh-5.0p1
./configure
make
make install
@@ -188,13 +188,14 @@ make install
cd /usr/local
wget http://mirror.candidhosting.com/pub/apache/httpd/httpd-2.0.61.tar.gz
gunzip httpd-2.0.61.tar.gz
tar xvf httpd-2.0.61.tar
wget http://us2.php.net/distributions/php-4.4.8.tar.gz
gunzip php-4.4.8.tar.gz
tar xvf php-4.4.8.tar
cd httpd-2.0.61
wget http://mirror.candidhosting.com/pub/apache/httpd/httpd-2.2.8.tar.gz
gunzip httpd-2.2.8.tar.gz
tar xvf httpd-2.2.8.tar
wget http://us2.php.net/distributions/php-5.2.6.tar.gz
gunzip php-5.2.6.tar.gz
tar xvf php-5.2.6.tar
cd httpd-2.2.8
make clean
./configure --prefix=/usr/local/apache2 --enable-ssl --enable-setenvif --enable-so --with-apxs2 --enable-dav --enable-maintainer-mode
make
make install
@@ -207,8 +208,9 @@ openssl req -new -x509 -days 1200 -keyout /usr/local/apache2/conf/ssl.key/server
openssl rsa -in /usr/local/apache2/conf/ssl.key/server.key.cpy -out /usr/local/apache2/conf/ssl.key/server.key
cd ../php-4.4.8
./configure --with-mysql=/usr/local/mysql --enable-inline-optimization --enable-memory-limit --enable-track-vars --enable-libgcc --with-xml --enable-versioning --enable-sysvsem --with-openssl --disable-debug --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
cd ../php-5.2.6
make clean
./configure --with-mysql=/usr/local/mysql --enable-inline-optimization --enable-memory-limit --enable-track-vars --enable-libgcc --enable-sysvsem --with-openssl --with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
make
make install
cp php.ini-dist /usr/local/lib/php.ini
@@ -217,9 +219,9 @@ vi /usr/local/apache2/conf/httpd.conf
add the following lines:
"AddType application/x-httpd-php .php .phtml"
"LoadModule php4_module libexec/libphp4.so"
"LoadModule php5_module modules/libphp5.so"
or
"LoadModule php4_module module/libphp4.so"
"LoadModule php5_module modules/libphp5.so"
modify the index.html line and add index.php to the list
to disable logging, change:
@@ -250,10 +252,8 @@ vi /usr/local/apache2/conf/httpd.conf
vi /usr/local/lib/php.ini
modify the following line:
"memory_limit = 8M"
and change it to:
"memory_limit = 48M"
Make sure short tags are enabled:
"short_open_tag = On"
some other fields to change if using web-based lead loader:
max_execution_time = 330
@@ -277,7 +277,7 @@ vi /usr/local/lib/php.ini
Add the following lines to the dynamic extensions section of php.ini:
(you may need to change the extension location depending on your install of php)
extension="../../../usr/local/eaccelerator-0.9.5/modules/eaccelerator.so"
zend_extension="../../../usr/local/eaccelerator-0.9.5/modules/eaccelerator.so"
eaccelerator.shm_size="48"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
@@ -292,9 +292,9 @@ eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
ls -l /tmp/eaccelerator
php -v
/usr/local/apache2/bin/apachectl startssl
@@ -335,17 +335,17 @@ make install
mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.27.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.24.tar.gz
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.30.2.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.27.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.7.tar.gz
gunzip asterisk-1.2.27.tar.gz
tar xvf asterisk-1.2.27.tar
gunzip zaptel-1.2.24.tar.gz
tar xvf zaptel-1.2.24.tar
gunzip asterisk-1.2.30.2.tar.gz
tar xvf asterisk-1.2.30.2.tar
gunzip zaptel-1.2.27.tar.gz
tar xvf zaptel-1.2.27.tar
gunzip libpri-1.2.7.tar.gz
tar xvf libpri-1.2.7.tar
cd ./zaptel-1.2.24
wget http://www.freedomphones.net/files/newt-0.51.6.tar.gz
cd ./zaptel-1.2.27
wget http://downloads.vicidial.com/packages/newt-0.51.6.tar.gz
gunzip newt-0.51.6.tar.gz
tar xvf newt-0.51.6.tar
cd newt-0.51.6
@@ -362,7 +362,7 @@ cd ../libpri-1.2.7
make clean
make
make install
cd ../asterisk-1.2.27
cd ../asterisk-1.2.30.2
cd apps
wget http://www.eflo.net/files/app_amd2.c
mv app_amd2.c app_amd.c
@@ -504,24 +504,24 @@ rm -f /usr/lib/asterisk/modules/res_speech.so
mkdir /usr/src/asterisk-1.4
cd /usr/src/asterisk-1.4
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.4.18.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.8.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.4.3.tar.gz
gunzip asterisk-1.4.18.tar.gz
tar xvf asterisk-1.4.18.tar
gunzip zaptel-1.4.8.tar.gz
tar xvf zaptel-1.4.8.tar
gunzip libpri-1.4.3.tar.gz
tar xvf libpri-1.4.3.tar
cd ./zaptel-1.4.8
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.4.21.1.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.4.11.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.4.4.tar.gz
gunzip asterisk-1.4.21.1.tar.gz
tar xvf asterisk-1.4.21.1.tar
gunzip zaptel-1.4.11.tar.gz
tar xvf zaptel-1.4.11.tar
gunzip libpri-1.4.4.tar.gz
tar xvf libpri-1.4.4.tar
cd ./zaptel-1.4.11
./configure
make
make install
cd ../libpri-1.4.3
cd ../libpri-1.4.4
make clean
make
make install
cd ../asterisk-1.4.18
cd ../asterisk-1.4.21.1
wget http://www.eflo.net/files/enter.h
wget http://www.eflo.net/files/leave.h
mv -f enter.h apps/enter.h
File diff suppressed because it is too large Load Diff
@@ -1,3 +1,3 @@
[general]
enable=yes ; enable creation of managed DNS lookups
refreshinterval=300 ; refresh managed DNS lookups every <n> seconds
[general]
enable=yes ; enable creation of managed DNS lookups
refreshinterval=300 ; refresh managed DNS lookups every <n> seconds
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,3 +1,3 @@
[logfiles]
console => notice,warning,error
messages => notice,warning,error,debug,verbose
[logfiles]
console => notice,warning,error
messages => notice,warning,error,debug,verbose
@@ -1,24 +1,24 @@
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[updatecron]
secret = 1234
read = command
write = command
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[updatecron]
secret = 1234
read = command
write = command
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user
@@ -1,215 +1,215 @@
[rooms]
conf => 8600
conf => 8601,1234
conf => 8600001
conf => 8600002
conf => 8600003
conf => 8600004
conf => 8600005
conf => 8600006
conf => 8600007
conf => 8600008
conf => 8600009
conf => 8600010
conf => 8600011
conf => 8600012
conf => 8600013
conf => 8600014
conf => 8600015
conf => 8600016
conf => 8600017
conf => 8600018
conf => 8600019
conf => 8600020
conf => 8600021
conf => 8600022
conf => 8600023
conf => 8600024
conf => 8600025
conf => 8600026
conf => 8600027
conf => 8600028
conf => 8600029
conf => 8600030
conf => 8600031
conf => 8600032
conf => 8600033
conf => 8600034
conf => 8600035
conf => 8600036
conf => 8600037
conf => 8600038
conf => 8600039
conf => 8600040
conf => 8600041
conf => 8600042
conf => 8600043
conf => 8600044
conf => 8600045
conf => 8600046
conf => 8600047
conf => 8600048
conf => 8600049
conf => 8600050
conf => 8600051
conf => 8600052
conf => 8600053
conf => 8600054
conf => 8600055
conf => 8600056
conf => 8600057
conf => 8600058
conf => 8600059
conf => 8600060
conf => 8600061
conf => 8600062
conf => 8600063
conf => 8600064
conf => 8600065
conf => 8600066
conf => 8600067
conf => 8600068
conf => 8600069
conf => 8600070
conf => 8600071
conf => 8600072
conf => 8600073
conf => 8600074
conf => 8600075
conf => 8600076
conf => 8600077
conf => 8600078
conf => 8600079
conf => 8600080
conf => 8600081
conf => 8600082
conf => 8600083
conf => 8600084
conf => 8600085
conf => 8600086
conf => 8600087
conf => 8600088
conf => 8600089
conf => 8600090
conf => 8600091
conf => 8600092
conf => 8600093
conf => 8600094
conf => 8600095
conf => 8600096
conf => 8600097
conf => 8600098
conf => 8600099
conf => 8600100
conf => 8600101
conf => 8600102
conf => 8600103
conf => 8600104
conf => 8600105
conf => 8600106
conf => 8600107
conf => 8600108
conf => 8600109
conf => 8600110
conf => 8600111
conf => 8600112
conf => 8600113
conf => 8600114
conf => 8600115
conf => 8600116
conf => 8600117
conf => 8600118
conf => 8600119
conf => 8600120
conf => 8600121
conf => 8600122
conf => 8600123
conf => 8600124
conf => 8600125
conf => 8600126
conf => 8600127
conf => 8600128
conf => 8600129
conf => 8600130
conf => 8600131
conf => 8600132
conf => 8600133
conf => 8600134
conf => 8600135
conf => 8600136
conf => 8600137
conf => 8600138
conf => 8600139
conf => 8600140
conf => 8600141
conf => 8600142
conf => 8600143
conf => 8600144
conf => 8600145
conf => 8600146
conf => 8600147
conf => 8600148
conf => 8600149
conf => 8600150
conf => 8600151
conf => 8600152
conf => 8600153
conf => 8600154
conf => 8600155
conf => 8600156
conf => 8600157
conf => 8600158
conf => 8600159
conf => 8600160
conf => 8600161
conf => 8600162
conf => 8600163
conf => 8600164
conf => 8600165
conf => 8600166
conf => 8600167
conf => 8600168
conf => 8600169
conf => 8600170
conf => 8600171
conf => 8600172
conf => 8600173
conf => 8600174
conf => 8600175
conf => 8600176
conf => 8600177
conf => 8600178
conf => 8600179
conf => 8600180
conf => 8600181
conf => 8600182
conf => 8600183
conf => 8600184
conf => 8600185
conf => 8600186
conf => 8600187
conf => 8600188
conf => 8600189
conf => 8600190
conf => 8600191
conf => 8600192
conf => 8600193
conf => 8600194
conf => 8600195
conf => 8600196
conf => 8600197
conf => 8600198
conf => 8600199
conf => 8600200
conf => 8600900
conf => 8600901
conf => 8600902
conf => 8600903
conf => 8600904
conf => 8600905
conf => 8600906
conf => 8600907
conf => 8600908
conf => 8600909
[rooms]
conf => 8600
conf => 8601,1234
conf => 8600001
conf => 8600002
conf => 8600003
conf => 8600004
conf => 8600005
conf => 8600006
conf => 8600007
conf => 8600008
conf => 8600009
conf => 8600010
conf => 8600011
conf => 8600012
conf => 8600013
conf => 8600014
conf => 8600015
conf => 8600016
conf => 8600017
conf => 8600018
conf => 8600019
conf => 8600020
conf => 8600021
conf => 8600022
conf => 8600023
conf => 8600024
conf => 8600025
conf => 8600026
conf => 8600027
conf => 8600028
conf => 8600029
conf => 8600030
conf => 8600031
conf => 8600032
conf => 8600033
conf => 8600034
conf => 8600035
conf => 8600036
conf => 8600037
conf => 8600038
conf => 8600039
conf => 8600040
conf => 8600041
conf => 8600042
conf => 8600043
conf => 8600044
conf => 8600045
conf => 8600046
conf => 8600047
conf => 8600048
conf => 8600049
conf => 8600050
conf => 8600051
conf => 8600052
conf => 8600053
conf => 8600054
conf => 8600055
conf => 8600056
conf => 8600057
conf => 8600058
conf => 8600059
conf => 8600060
conf => 8600061
conf => 8600062
conf => 8600063
conf => 8600064
conf => 8600065
conf => 8600066
conf => 8600067
conf => 8600068
conf => 8600069
conf => 8600070
conf => 8600071
conf => 8600072
conf => 8600073
conf => 8600074
conf => 8600075
conf => 8600076
conf => 8600077
conf => 8600078
conf => 8600079
conf => 8600080
conf => 8600081
conf => 8600082
conf => 8600083
conf => 8600084
conf => 8600085
conf => 8600086
conf => 8600087
conf => 8600088
conf => 8600089
conf => 8600090
conf => 8600091
conf => 8600092
conf => 8600093
conf => 8600094
conf => 8600095
conf => 8600096
conf => 8600097
conf => 8600098
conf => 8600099
conf => 8600100
conf => 8600101
conf => 8600102
conf => 8600103
conf => 8600104
conf => 8600105
conf => 8600106
conf => 8600107
conf => 8600108
conf => 8600109
conf => 8600110
conf => 8600111
conf => 8600112
conf => 8600113
conf => 8600114
conf => 8600115
conf => 8600116
conf => 8600117
conf => 8600118
conf => 8600119
conf => 8600120
conf => 8600121
conf => 8600122
conf => 8600123
conf => 8600124
conf => 8600125
conf => 8600126
conf => 8600127
conf => 8600128
conf => 8600129
conf => 8600130
conf => 8600131
conf => 8600132
conf => 8600133
conf => 8600134
conf => 8600135
conf => 8600136
conf => 8600137
conf => 8600138
conf => 8600139
conf => 8600140
conf => 8600141
conf => 8600142
conf => 8600143
conf => 8600144
conf => 8600145
conf => 8600146
conf => 8600147
conf => 8600148
conf => 8600149
conf => 8600150
conf => 8600151
conf => 8600152
conf => 8600153
conf => 8600154
conf => 8600155
conf => 8600156
conf => 8600157
conf => 8600158
conf => 8600159
conf => 8600160
conf => 8600161
conf => 8600162
conf => 8600163
conf => 8600164
conf => 8600165
conf => 8600166
conf => 8600167
conf => 8600168
conf => 8600169
conf => 8600170
conf => 8600171
conf => 8600172
conf => 8600173
conf => 8600174
conf => 8600175
conf => 8600176
conf => 8600177
conf => 8600178
conf => 8600179
conf => 8600180
conf => 8600181
conf => 8600182
conf => 8600183
conf => 8600184
conf => 8600185
conf => 8600186
conf => 8600187
conf => 8600188
conf => 8600189
conf => 8600190
conf => 8600191
conf => 8600192
conf => 8600193
conf => 8600194
conf => 8600195
conf => 8600196
conf => 8600197
conf => 8600198
conf => 8600199
conf => 8600200
conf => 8600900
conf => 8600901
conf => 8600902
conf => 8600903
conf => 8600904
conf => 8600905
conf => 8600906
conf => 8600907
conf => 8600908
conf => 8600909
@@ -1,16 +1,16 @@
;
; Music on Hold -- Sample Configuration
;
[default]
mode=files
directory=/var/lib/asterisk/mohmp3
; valid mode options:
; quietmp3 -- default
; mp3 -- loud
; mp3nb -- unbuffered
; quietmp3nb -- quiet unbuffered
; custom -- run a custom application
; files -- read files from a directory in any Asterisk supported format
;
; Music on Hold -- Sample Configuration
;
[default]
mode=files
directory=/var/lib/asterisk/mohmp3
; valid mode options:
; quietmp3 -- default
; mp3 -- loud
; mp3nb -- unbuffered
; quietmp3nb -- quiet unbuffered
; custom -- run a custom application
; files -- read files from a directory in any Asterisk supported format
File diff suppressed because it is too large Load Diff
@@ -1,19 +1,19 @@
[general]
format=wav49|gsm|wav
serveremail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
[default]
102 => 102,Grandstream Mailbox,root@localhost
2000 => 2000,Sipura Mailbox 1
2001 => 2001,Sipura Mailbox 2
3001 => 3001,Firefly Mailbox 1
[general]
format=wav49|gsm|wav
serveremail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
[default]
102 => 102,Grandstream Mailbox,root@localhost
2000 => 2000,Sipura Mailbox 1
2001 => 2001,Sipura Mailbox 2
3001 => 3001,Firefly Mailbox 1
@@ -1,46 +1,46 @@
# /etc/asterisk/zapata.conf:
# Digium/Clone T100P EXAMPLE:
# Here is an example of a configuration where an T100P single T1 card is used
# for connecting a single T1 PRI circuit with 23 voice channels
[channels]
group=1
language=en
signalling=pri_net
usecallerid=yes
callerid=asreceived
callprogress=no
busydetect=no
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel => 1-23
# FOR A RBS WinkStart T1 YOU WOULD USE SOMETHING LIKE THIS:
# group=1
# language=en
# signalling=em_w
# usecallerid=yes
# callerid=asreceived
# context=default
# echocancel=64
# echocancelwhenbridged=yes
# rxgain=1.0
# txgain=1.0
# channel => 1-24
#
# FOR AN ANALOG T1 ChannelBank YOU WOULD USE SOMETHING LIKE THIS:
# group=4
# language=en
# signalling=fxo_ks
# usecallerid=yes
# callerid=asreceived
# context=default
# echocancel=64
# echocancelwhenbridged=no
# rxgain=-1.0
# txgain=-1.0
# channel => 1-24
# /etc/asterisk/zapata.conf:
# Digium/Clone T100P EXAMPLE:
# Here is an example of a configuration where an T100P single T1 card is used
# for connecting a single T1 PRI circuit with 23 voice channels
[channels]
group=1
language=en
signalling=pri_net
usecallerid=yes
callerid=asreceived
callprogress=no
busydetect=no
context=default
echocancel=64
echocancelwhenbridged=yes
rxgain=1.0
txgain=1.0
channel => 1-23
# FOR A RBS WinkStart T1 YOU WOULD USE SOMETHING LIKE THIS:
# group=1
# language=en
# signalling=em_w
# usecallerid=yes
# callerid=asreceived
# context=default
# echocancel=64
# echocancelwhenbridged=yes
# rxgain=1.0
# txgain=1.0
# channel => 1-24
#
# FOR AN ANALOG T1 ChannelBank YOU WOULD USE SOMETHING LIKE THIS:
# group=4
# language=en
# signalling=fxo_ks
# usecallerid=yes
# callerid=asreceived
# context=default
# echocancel=64
# echocancelwhenbridged=no
# rxgain=-1.0
# txgain=-1.0
# channel => 1-24
@@ -1,13 +1,13 @@
# /etc/asterisk/zapata.conf:
# Digium/Clone X100P EXAMPLE:
# Here is an example of a configuration where an X100P single FXO card is used
# for zaptel timing and not used for calling:
#
# NOTE: you can get an X100P on ebay for $10-30 that will work with Asterisk
[trunkgroups]
[channels]
context=unused
signalling=fxs_ks
channel => 1
# /etc/asterisk/zapata.conf:
# Digium/Clone X100P EXAMPLE:
# Here is an example of a configuration where an X100P single FXO card is used
# for zaptel timing and not used for calling:
#
# NOTE: you can get an X100P on ebay for $10-30 that will work with Asterisk
[trunkgroups]
[channels]
context=unused
signalling=fxs_ks
channel => 1
@@ -1,23 +1,23 @@
# /etc/zaptel.conf:
# Digium/Clone T100P EXAMPLE:
# Here is an example of a configuration where an T100P single T1 card is used
# for connecting a single T1 PRI circuit with 23 voice channels
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us
# FOR A RBS WinkStart T1 YOU WOULD USE SOMETHING LIKE THIS:
# span=1,1,0,esf,b8zs
# e&m=1-24
# loadzone = us
# defaultzone=us
#
# FOR AN ANALOG T1 ChannelBank YOU WOULD USE SOMETHING LIKE THIS:
# span=1,1,0,esf,b8zs
# fxoks=1-24
# loadzone = us
# defaultzone=us
#
# /etc/zaptel.conf:
# Digium/Clone T100P EXAMPLE:
# Here is an example of a configuration where an T100P single T1 card is used
# for connecting a single T1 PRI circuit with 23 voice channels
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
loadzone = us
defaultzone=us
# FOR A RBS WinkStart T1 YOU WOULD USE SOMETHING LIKE THIS:
# span=1,1,0,esf,b8zs
# e&m=1-24
# loadzone = us
# defaultzone=us
#
# FOR AN ANALOG T1 ChannelBank YOU WOULD USE SOMETHING LIKE THIS:
# span=1,1,0,esf,b8zs
# fxoks=1-24
# loadzone = us
# defaultzone=us
#
@@ -1,10 +1,10 @@
# /etc/zaptel.conf:
# Digium/Clone X100P EXAMPLE:
# Here is an example of a configuration where an X100P single FXO card is used
# for zaptel timing and not used for calling:
#
# NOTE: you can get an X100P on ebay for $10-30 that will work with Asterisk
loadzone=us
defaultzone=us
fxsks=1
# /etc/zaptel.conf:
# Digium/Clone X100P EXAMPLE:
# Here is an example of a configuration where an X100P single FXO card is used
# for zaptel timing and not used for calling:
#
# NOTE: you can get an X100P on ebay for $10-30 that will work with Asterisk
loadzone=us
defaultzone=us
fxsks=1