You are on page 1of 19

Trixbox V0.

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

PIII800, 256M , 10G ATX


( 3.3 ) ()

E1 4E1 Digium , PCI

Trixbox ( www.trixbox.org
)

Winscp()x-lite()

PSTN PSTN


Trixbox


E1
2005-2006

3 19

Trixbox V0.5

keyboard( ) (time zone) root


password(Root ) root

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

E1 ISDN (pri_cpe pri_net)


( 4E1 E1 )

/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

01: Clear channel (Default) (Slaves: 01)


02: Clear channel (Default) (Slaves: 02)
30: Clear channel (Default) (Slaves: 30)
31: Clear channel (Default) (Slaves: 31)

31 channels configured.
Changing
Changing

Changing
Changing

signalling on channel 1 from Unused to Clear channel


signalling on channel 2 from Unused to Clear channel
signalling on channel 30 from Unused to Clear channel
signalling on channel 31 from Unused to Clear channel

2005-2006

5 19

Trixbox V0.5

Trixbox

()
passwd-maint
passwd-amp
passwd-meetme

trixbox system administratior


trixbox, FreePBX FreePBX

tools->Module AdminEnabled
Selectedsubmint freepbx setup

2005-2006

6 19

Trixbox V0.5

trixbox

SIP

201 /202 SIP

Extensions->Add SIP Extensions 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

system recordings wav (8


)
SIP
extensions 201go 201SIP *77
*99 *77
name this Recording welcome.wav save

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

Inbound Routes DIDCaller ID Number(),


zaptel channel()
()
Set Destinationmyivr

PSTN

PSTN SIP 7777

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

, :

New save OK session


name winscp root@192.168.0.32

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

TrixBox1.2.3 shutdown reboot kenel


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

You might also like