Asterisk with ClearIP In-Line Proxy for routing and STIR/SHAKEN

1. Introduction

This documentation explains how to configure Asterisk to work withto use the ClearIP in-line proxy for routing and STIR/SHAKEN services. These instructions are based on Asterisk version 18.11.2 but will likely work with older versions.

2. Configure Asterisk

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).

ClearIP with in-line proxy  for routing and SHAKEN

2.1. Configuration with pjsip

Add the following to pjsip.conf:

[clearipinlineproxy]
type=endpoint
aors=clearipinlineproxy
disallow=all
allow=ulaw

[clearipinlineproxy]
type=aor
contact=sip:ClearIP_inline_proxy_IP_address_here:5060
qualify_frequency=10
qualify_timeout=3.0

Then modify your extensions.conf to send the calls to the ClearIP in-line proxy instead of directly to your termination providers.

2.2. Configuration with chan_sip

Add the following to sip.conf:

[general]
qualifyfreq=10

[clearipinlineproxy]
type=peer
host=ClearIP_inline_proxy_IP_address_here
port=5060
disallow=all
allow=ulaw
qualify=yes

Then modify your extensions.conf to send the calls to the ClearIP in-line proxy instead of directly to your termination providers.

gears