Trixbox - Wiki


From Wiki

Revision as of 14:54, 30 June 2011 by Patrick (Talk | contribs)
Jump to: navigation, search

Trixbox is an operating system distribution that has the distinction of being a telephone exchange (PBX) software based on open source Asterisk PBX. Like any PBX, to interconnect a company's internal phone and connect the telephone network.


First Steps


On console, login into you new trixbox with the username: root and the password you selected during installation.

Trixbox log.jpg IP Browse.jpg

When you log in the system will tell you what IP address it received from your DHCP server. You can give the system a permanent address now by typing system-config-network or setting the IP address from the GUI. If you reconfigured the IP address, restart the network device by running service network restart. To continue configuration connect to your system with a web browser using the assigned IP you specified in the previous step.

Once we're there, we will log by clicking "Switch" Please log in, by default the user/password are: maint/password.
Switch 2.jpg Switch.jpg


Trunk Configuration

Now, we finally should see the Trixbox GUI Web interface, to start the Tribox configuration, look for PBX section >> PBX Settings, in the left menu.

Trixbox inter.jpg

Once there, click on Trunks option and select the trunk of your preference, SIP or IAX2 protocol based.

Trunks 1.jpg

[For this example, we will add a SIP trunk]

Now we are in the SIP Trunk Section.

SIP trunk 1.jpg

Only the first matched rule will be excuted and the remaining rules will not be acted on.


   X mathes any digit from 0-9
   Z matches any digit from 1-9
   N matches any digit from 2-9

A few samples :

   A local 7 digts number: NXXXXX 
   Toll-Free numbers : 1800NXXXXX
   There are a few samples , you can set all your rules in the outbound routes section. 

Trunk Out.jpg

   ; nat=yes ; uncomment if behind nat
   secret=johnspassword ;your password
   username=100000 ;your account
   ; allow=g729 ; uncomment if you purchased g.729 from Digium
   fromuser=100000 ;your account

Register String.jpg

   You can select one of our different servers: 
   Atlanta, GA:        (
   Chicago, IL:        (
   Dallas, TX:          (
   Houston, TX:        (
   Los Angeles, CA: (
   New York, NY:       (
   Seattle, WA:        (
   Tampa, FL:            (
   Montreal 2,QC:    (
   Toronto 2, ON:     (
   Montreal,QC:       (
   Toronto, ON:        (
   London, UK:          (

Then please submit these changes.

Don't forget to apply all these changes click on "Apply Configuration Change" and restart Asterisk on every change.

Config change.jpg


Now let's create an extension,these are very important, as they are an important peace to make and receive calls.

Just on the left we have all these options, please go to Basic >> Extensions and once we are there goes to "Add Extension". And then you can select your device type.


So then we gonna start to configure our first extension.


Extension Options

   10 seconds are 2 rings 
   15 seconds are 3 rings
   20 seconds are 4 rings 
   25 seconds are 5 rings 

Assigned DID/CID

Device Options

Exten 3.jpg

Recording Option

Voicemail & Directory


Save those changes.

Outbound Routes

Outgoing calls are sent over trunks as determined by the configuration of the Outbound Routing page. Please go after all make sure to save your changes by clicking on the "Apply Configuration Changes" link, so then go to the Outbound Routes section >> add route.

Out Route.jpg

   Local 7 digits: NXXXXXX
   Local 10 digits: NXXNXXXXXX
   Toll Free: 1800NXXXXXX
   Long Distance: 1NXXNXXXXXX
   International: 011
   Information: 411
   Emergency: 911 

Now save those changes.

Using the system

Now we have done all the configuration to start to make calls, we can setup our extensions with a Softphone and devices.

In this case we gonna make some changes about the configuration:

Trixbox log.jpg

So then we have a few information to setup our service:

If you need some help configuring your device, you can visit our wiki articles Softphones and Devices


To shut down or Trixbox, you can close your browser, and then to stop the server we go to the Trixbox CE and we put the command: logout .


Personal tools
Actions Wiki Blog
Guides (English)
Guides (Français)
Guías (Español)