Trix Box - VoIPtalk IAX Trunk Setup Guide

- For Outgoing calls:
Go to asterisk -> FreePBX, then click Setup, and click Trunks. Click add IAX trunks, and in General Settings enter your PSTN incoming number received from voiptalk.org in Outbound Caller ID field. - Check the Never Override CallerID check box, and set Maximum Channels to 20 or any limit you require (There may be channel limit on your voiptalk account depending on your voiptalk account tariff)

- Leave Outbound Dial Prefix and the Outgoing dialing rule field blank.
In Outgoing settings set trunk name to VoIPtalk_SIP, and PEER details ashost=iax5.voiptalk.org secret=your voiptalk iax account password type=peer username=your voiptalk iax account

- Leave Incoming Setting fields blank, and press Submit changes then select the red bar at the top of the screen to reload the Configuration files.
- Outbound Dialing Route:
Set the IAX2/you_iax_account as a dialing out trunk, click on Outbound Routes and select the default 0 9_outside route. Then select IAX2/your_iax_account in the Trunk Sequence drop down list 0 and press Add, after that press Submit button to save the changes.
Select the red bar at the top of the screen to reload the Configuration files.
Note. By default this outbound rule is using prefix 9. You can change this in Dial Patterns as per your requirements.
You should be able to dial out on VoIPtalk trunk. - Incoming calls
Go to asterisk -> FreePBX click Setup then click Trunks, and select your VoIPtalk trunk you created for out going calls. In Ingoing Settings set the USER context as your voiptalk iax incoming number and set USER Details ascontext=from-pstn type=friend username=your voiptalk iax incoming number

- Set inbound dialing route:
On left hands side menu click on Inbound Routes and set your PSTN number as DID number, leave the caller id and the Zap channel field blank. This is not required with VoIPtalk trunk.
- Select option Signal RINGING and leave Alert info field as blank. In Set Destination select from the menu of Core the extensions of you phone. Press Submit changes and select the red bar at the top of the screen to reload the Configuration files.

- Set your Dialling plan for your VoIPtalk incoming number:
You need to set the routes for your incoming numbers on voiptalk.org to get incoming calls working. To do this go to [url]www.voiptalk.org[url] and click on my account tab page. Enter your email address and your voiptalk user password. (This is not the SIP account password). Then you will see the list of your voiptalk IDs and associated incoming numbers, click on the incoming number you want to use with VoIPtalk-SIP trunk on your trix box. This will present you the manage incoming number. Select the Select a Configuration Option to Route to a PBX.
- Select from Choose VoIP Protocol: Asterisk PBX (IAX)

- Entert the IP address of your trixbox machine and click on route button:

- Dial your incoming number and this should ring the selected extension on Trixbox.




