Trixbox 2.2.4 fresh install
Posted on Wednesday, September 12 @ 23:24:22 CDT by jz
Installing Trixbox 2.2.4 with a Digium TDM400P card.
After installing Tribox 2.2.4 from the ISO cd, we need to set a static IP address (if you didn't during setup).
# netconfig
Next, we need to do the yum updates to get the system up to date:
# yum update -y
Next, install the hudlight server and admin
#yum install hudlite-server tbm-hudadmin -y (Only needed if you plan on installing Hud Lite on a workstation)
Let's reboot and make sure kudzu is happy with our hardware. I have found that every time the system boots, it finds the TDM400P. Just to be safe, I turn kudzu off.
#chkconfig isdn off
#chkconfig pcmcia off
#chkconfig kudzu off
#chkconfig iptables off
#chkconfig cups off
NOTE: This is for a PBX that has no external inbound access. iptables is the firewall. Since we use hardware firewalls, this is just a wasted resource on the server.
Now, let's get the latest digium drivers and isntall the kernel headers:
#yum install kernel-devel (or kernel-smp-devel)
# cd /usr/src
#wget http://downloads.asterisk.org/pub/telephony/zaptel/zaptel-1.4-current.tar.gz
This allows you to connect to the PBX with a laptop and null modem cable if you have it installed without a keyboard/monitor.
At this point, you should see lights on the back of the Digium card to let you know that it is working.
Log into the web interface and create a ZAP trunk for each module that is in the card. I prefer to rename the "g0" that is ther e by default and create my own as just "0" through "3".
Then, create an extension and setup your phone to log into it.
Now, create an outbout route that uses the ZAP trunks you just created and see if you can make a call.
Once that is complete, just create an inbound route and have it ring the extension you added above.
Call your number with a cell phone or have someone call your number for you, and see if it rings your extension. At this point, you can research how you want Trixbox to represent your business. Using an IVR or just ring groups!
Setting FXO Gains:
# vi /etc/asterisk/zapata.conf
Edit the rxgain= and txgain= and if you need to edit them per channel.. as if channel 3 is loader than the rest after setting the main gains, use zapata-auto.conf and put rxgain= and txgain= in front of the channel=> line for each channel.
Reloading FOP config
/usr/src/something/something :(
Internal Distinctive Ring
# cd /etc/asterisk
# vi extensions_custom.conf
Add this to the bottom for each extension:
exten => 101,1,Macro(user-callerid)
exten => 101,n,SIPAddHeader(Alert-Info:;info=ring3)
exten => 101,n,Goto(ext-local,101,1)
And then setup the GXP-2000 to use the names 'ring1', 'ring2', 'ring3'.