Dynamic Routes Installation instructions

From voipsupport
Revision as of 09:40, 12 June 2016 by John (talk | contribs)
Jump to navigation Jump to search

Installation

Download from Web

The simplest way of installing Dynamic Routes is to go to the Module Admin menu under the Admin menu. There choose the option "Upload Modules". Copy and paste the link to the latest version (from this page) into the "Download Remote Module" field and click on "Download (From Web)"

Module admin freepbx12.png

Ater downloading click on "Local module administration"

Module admin freepbx12 page2.png

Manual upload

Download the latest source code file from this link. The souce code is signed with my gpg key (available here). Therefore you may optionally verify the file has not been altered since I signed it. After downloading the file signature (available here) at the command line:

gpg --import johnfawcett.gpg
gpg --verify dynroute-2.11.0.0.tgz.sig

The result should be something like this:

gpg: Good signature from "John Fawcett <[email protected]>"

In FreePBX GUI go to module administration (Menu Admin -> Module Admin) and upload the Dynamic Routes file (Upload local modules).

Click on "Check Update", under "Third Party Addons" you will see that Dynamic Routing is available locally but not installed/disabled awaiting update. Choose install or update as appropriate and click "Process" as you would for installing or updating ordinary FreePBX modules.

As normal in FreePBX, you will need to click the red reload configuration button which appears only when you navigate to some other screen.

After Installing

If using the database lookup method make sure you have a test database with some test data available and a user and password that you have already verified can access the relevant table(s). If using one of the other lookup methods you will need to make sure it is available (for example a web service or an agi script). If possible test your lookup before integrating with FreePBX.

Go to the Dynamic Route menu. In the latest versions it is under the "Applicaitons" menu, but in earlier versions it was under the "Other" menu (or it's own menu if it was the only "other" module installed).

Configure a new dynamic route (see the Reference section or configuration examples section).

After that the new route is available for use as a destination in FreePBX modules. Calls will not be passed through the dynamic route until you configure the dynamic route as a destination in your call flow. For example a dynamic route could be specified as a destination for an inbound route if you want your inbound calls to be processed by the dynamic route.

Test out the call flow using different data scenarios.

Upgrading

Dynamic Routes is not part of the FreePBX core modules and the latest versions are published in GitHub rather than in the FreePBX contributed modules repository (*). As such there is no automatic way to get news about updates. If you would like to be informed of when new updates are available, please email me with the subject line "Dynamic Routes updates". Please do not use the version in the FreePBX repository because it is out of date.

The upgrade process is the same as the installation process. Follow the steps above. The installation automatically detects the presence of a previous version and upgrades it. If you find any issues please let me know.

(*) To include the software in the FreePBX repository requires the execution of a contract with Sangoma called the Code Submission Agreement. Although this is the same or similar text used by Asterisk, as it is currently worded I am unable to sign it.