Trixbox
Trixbox is a complete PBX appliance distribution based on CentOs and Asterisk. It comes with a web based configuration system that aims to reduce the difficulty of configuring the system.
Trunk Configuration
In order to use numbergroup for either inbound or outbound calls, you will first need to configure a trunk. Log into the trixbox administration panel, and select PBX -> PBX settings from the menu bar.

Then select Trunks from the menu on the left.

Click Add Sip Trunk
There are only 3 required fields, Outbound Caller ID which you should set as a default caller id number. Each extension can have it’s own outbound caller id that can override this setting.
in Trunk Name, enter ‘numbergroup’, and fill out the PEER Details as shown below:

If you are behind NAT or for any other reason you want to register the trunk for inbound calls, fill in the Register String setting with <username>:<password>@sip.numbergroup-services.com (Please note that calls directed to a Trunk rather than a SIP Address in numbergroup control panel can only be handled by a ‘Catch All’ inbound route, explained later).
Once you are happy with the settings, click the Submit Changes button. Click the bright orange Apply Configuration Changes button to apply the new trunk settings.
Outbound Calls
Click Outbound Routes from the menu on the left hand side

A route requires a name, a dial pattern and a trunk to route the call to. Set them up similar to the following:

Once you’ve completed this form, click Submit Changes. This route will match all UK numbers dialed with the area code, making a total of 11 digits. You can add other patterns as necessary.
If you already have phones set up, you should now be able to make a test call using your numbergroup trunk. Don’t forget to apply changes to make these settings take effect.
Inbound Calls
To create inbound routes, Click Inbound Routes on the menu on the left

The only fields you need to fill out are the Description and the Destination. If you leave DID Number blank, it will match all unmatched calls. It is required to leave this blank if you are using the SIP Trunk translation option in the numbergroup control panel.
If you are entering a DID number for the inbound route, remember to set the translation in the numbergroup control panel the the sip address <DID>@<yourdomain.com>
Select where the call should route to, for example an extension:

Once complete, click Submit to save the changes. Don’t forget to apply changes to make these settings take effect.
