Trixbox
Trixbox 2.8 does not use zaptel. The replacement for zaptel is dahdi.
(DAHDI is the new name for 'Zaptel')[ Asterisk => 1.6]
Check Version
cat /etc/trixbox/trixbox-version
2.8.0.4
OS: CentOS 5.5
Web Pannel
LANG: PHP
Apache 設定: /etc/trixbox/httpdconf/trixbox.conf <-- /var/www/html/maint, /var/www/html/admin
HTML位置: /var/www/html/
cat /etc/trixbox/trixbox.conf
AuditTool = yes
Trixbox lets every call ring 2 times before picking it up.
If you're using an analog trunk I think the delay is because of CID.
(caller ID is delivered between the first and second ring)
Tools -> Print Extensions
Dial Patterns:
X: 0-9
Z: 1-9
N: 2-9
[127-9]
.
|
Dial Rules:
add / remove prefix
first will
+ <-- add prefix
softkey.xml
Blacklist a number *30 Blacklist the last caller *32 Remove a number from the blacklist *31 Call Forward All Activate *72 Call Forward All Deactivate *73 Call Forward All Prompting Deactivate *74 Call Forward Busy Activate *90 Call Forward Busy Deactivate *91 Call Forward Busy Prompting Deactivate *92 Call Forward No Answer/Unavailable Activate *52 Call Forward No Answer/Unavailable Deactivate *53 Call Waiting - Activate *70 Call Waiting - Deactivate *71 Asterisk General Call Pickup *8 ChanSpy 555 Dial System FAX 666 Directed Call Pickup ** In-Call Asterisk Attended Transfer *2 In-Call Asterisk Blind Transfer ## In-Call Asterisk Disconnect Code ** In-Call Asterisk Toggle Call Recording *1 Simulate Incoming Call 7777 User Logoff *12 User Logon *11 ZapBarge 888 DND Activate *78 DND Deactivate *79 DND Toggle *76 Findme Follow Toggle *21 Call Trace *69 Directory # Echo Test *43 Speak Your Exten Number *65 Speaking Clock *60 Phonebook dial-by-name directory 411 Check Recording *99 Save Recording *77 Set user speed dial *75 Speeddial prefix *0 Dial Voicemail *98 My Voicemail *97
Start / Stop
safe_asterisk
/usr/sbin/safe_asterisk <--- script
/etc/init.d/arterisk restart
PBXtra Core already running.
amportal <--- FreePBX Control Script
start: Starts Asterisk and Flash Operator Panel server if enabled
stop: Gracefully stops Asterisk and the FOP server
restart: Stop and Starts
start_fop: Starts FOP server and Asterisk if not running
stop_fop: Stops FOP serverg
restart_fop: Stops FOP server and Starts it and Asterisk if not running
kill: Kills Asterisk and the FOP server
chown: Sets appropriate permissions on files
Example:
amportal start
SETTING FILE PERMISSIONS Permissions OK STARTING ASTERISK Asterisk Started STARTING FOP SERVER FOP Server Started
/etc/asterisk/dahdi-channels.conf <--- groups, signaling, and channel-specific settings
用圖:
FXS:(Foreign Exchange Station)
; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) ;;; line="1 WCTDM/0/0 FXSKS (In use)" signalling=fxs_ls callerid=asreceived group=0 context=from-pstn channel => 1
FXO:(Foreign Exchange Office)
;;; line="3 WCTDM/0/2 FXOKS (In use)" signalling=fxo_ks callerid="Channel 3" <4003> mailbox=4003 group=5 context=from-internal channel => 3 callerid= mailbox= group= context=default
/etc/asterisk/chan_dahdi.conf
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=30%
group=0
callgroup=1
pickupgroup=1
immediate=no
/etc/asterisk/extensions.conf
/etc/asterisk/extensions_additional.conf