FreePBX with ClearIP In-Line Proxy for routing and STIR/SHAKEN
1. Introduction
This documentation explains how to configure FreePBX® to use the ClearIP in-line proxy for routing and STIR/SHAKEN services. These instructions are based on FreePBX version 16 but will likely work with older versions.
2. Setup in-line proxy
Here are the instructions for setting up the ClearIP in-line proxy.
3. Configure FreePBX
ClearIP returns target destination(s) based on the routing policies configured in ClearIP. The in-line proxy sends the calls to the target destination(s).

Figure 1: Network Diagram
3.1. Setup the trunk
An example trunk configuration is shown below.

Figure 2: General Settings

Figure 3: PJSIP Settings
3.2. Configure the trunk as the first route
An example routing configuration is shown below.

Figure 4: Route Settings
FreePBX is a registered trademark of Sangoma Technologies Corporation.
