Elastix is a popular Asterisk-based distribution which by default contains a streamlined version of FreePBX. Our SIPTRUNK.com FreePBX Module has been tested to work with Elastix systems. Follow the steps below to get the module installed on Elastix:
STEP ONE - You must make sure JSON is installed as part of your PHP installation. THE MODULE WILL NOT WORK WITHOUT THIS.
Do this by opening an SSH session into the Elastix server and logging in as root. Enter the following commands:
[root@demopbx ~]# yum install php-pecl-json
Setting up Install Process
--> Running transaction check
---> Package php-pecl-json.i386 0:1.2.1-4.el5 set to be updated
--> Finished Dependency Resolution
Package Arch Version Repository Size
php-pecl-json i386 1.2.1-4.el5 epel 15 k
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 15 k
Is this ok [y/N]: y
php-pecl-json-1.2.1-4.el5.i386.rpm | 15 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey | 1.7 kB 00:00
Importing GPG key 0x217521F6 "Fedora EPEL <firstname.lastname@example.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Is this ok [y/N]: y
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Installing : php-pecl-json 1/1
[root@demopbx ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
(YOU MUST RESTART HTTPD IN ORDER FOR THIS MODULE TO WORK PROPERLY!)
Go to the Elastix GUI in your Web Browser and login. Then click on the PBX tab at the top.
You will see the 'Unembedded freePBX' link in the lower left. Click on that.
If you see the following Security Warning, follow the instructions below --
Follow the instructions and click on the dropdown arrow next to the Reports tab, then click on Security
Click on Advanced Settings on the left, then TURN ON Enable direct access to FreePBX and be sure to set the FreePBX Web admin password:
You can now go back to the PBX tab and click on the 'Unembedded freePBX' link. The standard FreePBX will open up with all options.
Click on the 'Module Admin' link on the setup tab, then click on Upload module
Next, select the SIPTRUNK.com FreePBX module .tgz file that you downloaded from the SIPTRUNK.com website. If you need to download again, click here:
SHA256 Checksum: bd8121c44774f9ca8e33aaf00496d172a280171494fc29437dee56b49406b09b
Next, click on the 'Manage Local Modules' link.
Scroll down to the Connectivity section of the page, click on the SIPTRUNK.com link then select 'Install'. Scroll back to the top and hit PROCESS.
Hit the Confirm button and then Apply Configuration Changes.
You will now see the SIPTRUNK.com module underneath 'Connectivity Options' on the Left Navigation Bar:
Click on SIPTRUNK.com and you will see the module home page the menu on the far-right of the screen will look like this:
Click on 'Add SIPTRUNK.com Account' on the right side and PASTE your secret key from the SIPTRUNK.com website:
Once the key is added, it will securely communicate with the SIPTRUNK.com servers and pull all of your Trunk and DID information into FreePBX.
Make sure to follow the on-screen instructions, and then hit the SAVE button, followed by APPLY CONFIGURATION changes.
You should now see your trunks registered and outbound route properly configured in FreePBX!
NOTE: MAKE SURE TO MOVE THE SIPUS OUTBOUND ROUTE TO THE TOP OF THE OUTBOUND ROUTES LIST IN OUTBOUND ROUTES SECTION!
To manage your DIDs and associated Inbound Routes, simply click on the Trunk underneath 'Trunks and Telephone Numbers' in the upper right corner of the module. From there, you can set the inbound routes, save, apply and they will be pushed into the Inbound Routes section of FreePBX. In addition, if you make any modifications within the Inbound Routes section of FreePBX, they will also sync back to the SIPTRUNK.com module.
*** REMEMBER - to get into the SIPTRUNK.com Module in FreePBX, you will need to always click on Unembedded FreePBX on Elastix. Quick TIP: Bookmark the URL directly to the unembedded FreePBX for easier access:
If you have any questions on how to use the module, please open a Support Ticket for further assistance.