Trixbox - VoIP.ms Wiki

Trixbox

From VoIP.ms Wiki

(Difference between revisions)
Jump to: navigation, search
[draft revision][draft revision]
(Security Measures)
(Security Measures)
Line 211: Line 211:
-
'''We strongly recommend you to change the password in your account, PBX system and extensions on it, periodically.
 
-
As a preventive measure you also can disable International calls on your account.
+
== '''We strongly recommend you to change the password in your account, PBX system and extensions on it, periodically''' ==
 +
 
 +
 
 +
== '''As a preventive measure you also can disable International calls on your account.
From the customer portal >> Main Menu >> Account Settings >> Account Restrictions.  
From the customer portal >> Main Menu >> Account Settings >> Account Restrictions.  
-
These settings define the restrictions the system will use when you place calls to either USA48, Canada or International Numbers.
+
These settings define the restrictions the system will use when you place calls to either USA48, Canada or International Numbers.''' ==
 +
 
 +
 
 +
 
 +
 
-
Additionally, you can use in your SIP.Conf alwaysauthreject = yes, what the alwaysauthreject parameter does when set to yes, is it will ALWAYS return an authentication error instead of a "404 - Not Found", even when the extension doesn't exist. This mess up scanners, because the program detect an "existing" extension even if it's not present on the server. Unfortunatly, it's way from being fool proof, but it's a nice security addition that you can set to your Asterisk based PBX.'''
+
== '''Additionally, you can use in your SIP.Conf alwaysauthreject = yes, what the alwaysauthreject parameter does when set to yes, is it will ALWAYS return an authentication error instead of a "404 - Not Found", even when the extension doesn't exist. This mess up scanners, because the program detect an "existing" extension even if it's not present on the server. Unfortunatly, it's way from being fool proof, but it's a nice security addition that you can set to your Asterisk based PBX.''' ==
==Logout==
==Logout==

Revision as of 15:16, 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,this is important, you may want to have at least one extension set, in order to route your incoming calls to it, and place outgoing calls.

Please go to Basic Menu >> Extensions option >> Once there go to "Add Extension".

Extension1.jpg

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 changes.

Outbound Routes

The outgoing calls are sent over trunks, and determined by the configuration of the Outbound Routing page.

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 the changes.

Security Measures

We strongly recommend you to change the password in your account, PBX system and extensions on it, periodically

== As a preventive measure you also can disable International calls on your account. From the customer portal >> Main Menu >> Account Settings >> Account Restrictions. These settings define the restrictions the system will use when you place calls to either USA48, Canada or International Numbers. ==



Additionally, you can use in your SIP.Conf alwaysauthreject = yes, what the alwaysauthreject parameter does when set to yes, is it will ALWAYS return an authentication error instead of a "404 - Not Found", even when the extension doesn't exist. This mess up scanners, because the program detect an "existing" extension even if it's not present on the server. Unfortunatly, it's way from being fool proof, but it's a nice security addition that you can set to your Asterisk based PBX.

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