Trixbox - VoIP.ms Wiki

Trixbox

From VoIP.ms Wiki

(Difference between revisions)
Jump to: navigation, search
[draft revision][draft revision]
(Trunk)
(First Steps)
Line 24: Line 24:
{|
{|
-
|style="width:500px" | Once we're there, we will log by clik in '''"Switch"'''  
+
|style="width:500px" | Once we're there, we will log by clicking '''"Switch"'''  
|style="width:500px" | Please log in, by default the user/password are:''' maint/password.'''  
|style="width:500px" | Please log in, by default the user/password are:''' maint/password.'''  
|-
|-

Revision as of 14:54, 30 June 2011

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.


Contents

First Steps

Trixbox.jpg

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

Basic

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.

Rules:

   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

   canreinvite=nonat
   ; nat=yes ; uncomment if behind nat
   context=from-trunk
   host=atlanta.voip.ms
   secret=johnspassword ;your password
   type=friend
   username=100000 ;your account
   disallow=all
   allow=ulaw
   ; allow=g729 ; uncomment if you purchased g.729 from Digium
   fromuser=100000 ;your account
   trustrpid=yes
   sendrpid=yes
   insecure=port,invite
   qualify=yes

Register String.jpg

      your account:password@server.voip.ms:5060 
   You can select one of our different servers: 
   Atlanta, GA: atlanta.voip.ms        (174.34.146.162)
   Chicago, IL: chicago.voip.ms        (64.120.22.242)
   Dallas, TX: dallas.voip.ms          (74.54.54.178)
   Houston, TX: houston.voip.ms        (209.62.1.2)
   Los Angeles, CA: losangeles.voip.ms (67.215.241.250)
   New York, NY: newyork.voip.ms       (74.63.41.218)
   Seattle, WA: seattle.voip.ms        (69.147.236.82)
   Tampa, FL: tampa.voip.ms            (68.233.226.97)
   Montreal 2,QC: montreal2.voip.ms    (174.142.75.171)
   Toronto 2, ON: toronto2.voip.ms     (174.137.63.206)
   Montreal,QC: montreal.voip.ms       (67.205.74.164)
   Toronto, ON: toronto.voip.ms        (174.137.63.206)
   London, UK: london.voip.ms          (78.129.153.20)

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

Extensions

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.

Extension1.jpg

So then we gonna start to configure our first extension.

Ext2.jpg

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

   review=yes|maxmessages=60

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
              1888NXXXXXX
              1877NXXXXXX
              1866NXXXXXX
   Long Distance: 1NXXNXXXXXX
   International: 011
   Information: 411
                311
   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

Logout

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 .

Logout.jpg

Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
VoIP.ms Blog
Configuration
Guides (English)
Guides (Français)
Guías (Español)
Toolbox