| Configure Asterisk using VarPhonex Backup Set File
This configuration file will allow you to configure your Trixbox server in minutes.
Refer to the diagram in this section to understand the configuration and the features you will be able to use once your server is configured.
WARNING: This configuration file will erase any existing configuration in your server.

click to enlarge
Make sure the following modules are installed:
Basic
Inbound Call Control
- Announcements
- IVR
- Misc Destinations
- Queues
- Ring Groups
Internal Options & Configuration
- Conference
- Music On Hold
- Recordings
Remote Access
System Administration
You can install these modules following these steps:
- Open your web browser and type HTTP://YourAsteriskIPaddressHere
- Switch to Admin Mode. (click on the switch link in the upper right corner)
- Click on the Asterisk Menu
- Select Free PBX
- Click on Tools
- Click on Module Admin
- Click on “check for updates online”
- Select and install the modules mentioned above.
Create a Backup Schedule
When you create a backup schedule FreePBX creates a folder in the following path:
/var/lib/asterisk/backups
We will place the configuration file subfolder named “conf” and then restore the configuration using the downloaded file.
Follow these steps:
You can install these modules following these steps:
- Open your web browser and type HTTP://YourAsteriskIPaddressHere
- Switch to Admin Mode. (click on the switch link in the upper right corner)
- Click on the Asterisk Menu
- Select Free PBX
- Click on Tools
- Select Backup and Restore
- Select Add Backup Schedule
- In the schedule name field enter: Conf
- In the Run Backup drop-down menu select Now
- Click Submit Changes


Configuration File Download
1. In CentOS (Linux) enter the following path and press enter.
cd /var/lib/asterisk/backups/conf

2. Enter the download path and press enter.
wget http://www.varphonex.com/download/20071002.21.34.41.tar.gz

Apply Configuration File
To apply the configuration file follow these steps:
- Open your web browser and type HTTP://YourAsteriskIPaddressHere
- Switch to Admin Mode. (click on the switch link in the upper right corner)
- Click on the Asterisk Menu
- Select Free PBX
- Select Tools
- Select Backup and Restore
- Select Restore from Backup
- Click on the “Conf link”

- Click on 20071003.21.50.11.tar.gz

- Click on Restore Entire Backup Set

- Click on Apply Configuration

Edit Configuration Files
Now that we loaded (restored from backup) the configuration from the backup set, you will need to edit some configuration files with you virtual number, sip password and DID information.
Updating Trunk Configuration:
In FreePBX do the following:
- Select Setup
- Select Trunks
- Click on Trunk SIP/VarPhonex
- Replace XXXXXXX with your own virtual number
- Replace my-password with your sip password

- Click on Submit Changes.
Updating Inbound Routes Configuration:
- Open your web browser and type HTTP://YourAsteriskIPaddressHere
- Switch to Admin Mode. (click on the switch link in the upper right corner)
- Click on the Asterisk Menu
- Select Config Edit
- Select sip_nat.conf
- Replace XXXXXXX with your own virtual number
- Replace my-password with your sip password
- Click Update
- Click on Re-Read Configs
Test Your Asterisk Configuration
- Place a call to your virtual number or DID
- Test the different options of your IVR.
- The DISA PIN is 123
- The conference room does not have any user or admin PIN but you can change this if required.
|