Professional Documents
Culture Documents
1.2.3
http://www.dingming.com
2005-2006
1 19
Trixbox V0.5
.....................................................................................................................................3
.........................................................................................................................3
.........................................................................................................3
.............................................................................................................5
Trixbox ...........................................................................................................6
...........................................................................................................................6
...................................................................................................................................6
SIP .............................................................................................................7
.............................................................................................................9
...................................................................................................................10
...................................................................................................................10
...........................................................................................................11
.......................................................................................................12
...................................................................................................................................13
Winscp ..................................................................................................13
x-Lite ....................................................................................................16
Kernal panic .....................................................................................................17
CentOS .............................................................................................17
2005-2006
2 19
Trixbox V0.5
Asterisk , . Trixbox .
Trixbox asterisk ,
web asterisk .
asterisk
Trixbox1.2.3 1.x
Trixbox ( www.trixbox.org
)
Winscp()x-lite()
PSTN PSTN
Trixbox
E1
2005-2006
3 19
Trixbox V0.5
Trixbox , tab
Asterisk1 login:
root,
[root@asterisk1 ~]#
netconfig Yes OK
service network restart
IP: 192.168.0.32
Netmask: 255.255.255.0
Gateway: 192.168.0.1
Primary nameserver: 202.96.134.133
IP 192.168.0.32
Trixbox
2005-2006
4 19
Trixbox V0.5
/etc/zaptel.conf
/etc/asterisk/zapata.conf
/etc/zaptel.conf
span=1,0,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31
/etc/asterisk/zapata.conf
switchtype = euroisdn
signalling = pri_cpe
group = 0
channel => 1-15,17-31
ztcfg vvv
Zaptel Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel
Channel
Channel
Channel
31 channels configured.
Changing
Changing
Changing
Changing
2005-2006
5 19
Trixbox V0.5
Trixbox
()
passwd-maint
passwd-amp
passwd-meetme
tools->Module AdminEnabled
Selectedsubmint freepbx setup
2005-2006
6 19
Trixbox V0.5
trixbox
SIP
201
Extension Number: 201
2005-2006
7 19
Trixbox V0.5
Display Name:
Secret
202
Extension Number:
Display Name:
Secret
201
201
202
202
202
SIP x-Lite
SIP
2005-2006
8 19
Trixbox V0.5
(Outbound Routers)
9_outside 9
9160 160
9 7 E1
Outbound Routes -> 9_outside Insert Local 7
digit Dial Pattens
PSTN (
) SIP
2005-2006
9 19
Trixbox V0.5
Route
E1
9 7 ZAP/g0
zapapta.conf group = 0 group = 1)9
9-11 ZAP/g1
SIP/IAX
ZAP()
0 ( 201 )
Welcome.wav xx 1 2
2005-2006
10 19
Trixbox V0.5
Digital Receptionistadd ivr
5 201 6 202 0
(201 ) IVR
Change Name:
Timeout:
Enable Directory:
Directory Content
Enable Direct Dial
Announcement
myivr
10
()
default
()
none
5
core
201
6
core
202
0
core
201
2005-2006
11 19
Trixbox V0.5
PSTN
2005-2006
12 19
Trixbox V0.5
Winscp
http://dl.pconline.com.cn/html_2/1/86/id=7244&pn=0&linkPage=1.html winscp
, :
2005-2006
13 19
Trixbox V0.5
root@192.168.0.32,
Yes winscp
2005-2006
14 19
Trixbox V0.5
Winscp windows
-> edit
2005-2006
15 19
Trixbox V0.5
x-Lite
x-lite SIP
x-Lite account()
Account 6
SIP
Display Name: 201
User name 201
Pasword
201
Authorization user name 201 User name
Domain
192.168.0.32
x-lite
Trixbox
5060 /
2005-2006
16 19
Trixbox V0.5
Kernal panic
/etc/rc6.d/K92zaptel
115 123 #
#
#
#
#
#
#
#
#
Unload drivers
echo Unloading zaptel hardware drivers:
for x in $RMODULES; do
action Unloading ${x}: rmmod ${x}
done
action Removing zaptel module: rmmod zaptel
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/zaptel
reboot
CentOS
/etc/yum.repos.d CentOS-Base.repo
2005-2006
17 19
Trixbox V0.5
4.4 4.4
[base]
name=CentOS-4.2 - Base
baseurl=http://mirror.be10.com/centos/4.2/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#released updates
[update]
name=CentOS-4.2 - Updates
baseurl=http://mirror.be10.com/centos/4.2/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#packages used/produced in the build but not released
[addons]
name=CentOS-4.2 - Addons
baseurl=http://mirror.be10.com/centos/4.2/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#additional packages that may be useful
[extras]
name=CentOS-4.2 - Extras
baseurl=http://mirror.be10.com/centos/4.2/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-4.2 - Plus
baseurl=http://mirror.be10.com/centos/4.2/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#contrib - packages by Centos Users
[contrib]
name=CentOS-4.2 - Contrib
baseurl=http://mirror.be10.com/centos/4.2/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
2005-2006
18 19
Trixbox V0.5
#packages in testing
[testing]
name=CentOS-4.2 - Testing
baseurl=http://mirror.be10.com/centos/4.2/testing/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
2005-2006
19 19