Skip to main content

Provider Level3 (USA)

Last update: 2 April 2013

Incoming and Outgoing works.

Add the Level3 Gateway IP into the domain section under autoload_configs/acl.conf.xml

<configuration name="acl.conf" description="Network Lists">
<list name="domains" default="deny">
<node type="allow" cidr="4.55.60.x/32"/>

Create Level3 sip profile under sip_profiles/external/

<gateway name="Level3">
<param name="auth-username" value="1-XXXXXX"/>
<param name="realm" value="Level3"/>
<param name="password" value="password"/>
<param name="extension" value="default"/>
<param name="proxy" value="4.55.60.x:5070"/>
<param name="sip-port" value="5060"/>
<param name="expire-seconds" value="600"/>
<param name="register" value="false" />
<!--/// Must be set with one of the TN from the Level3 SIP Trunk ///-->
<param name="from-user" value="1234567890"/>
<!--/// Must be set with one of the TN from the Level3 SIP Trunk ///-->
<param name="extension" value="1234567890"/>
<param name="extension-in-contact" value="true"/>
<param name="sip-trace" value="no"/>

Dialplan Settings - Level3 sends and receives in 10 digit format by default. Inbound dialplan settings (transfer to extension 102):

<extension name="Level3_inbound">
<condition field="context" data="public"/>
<!-- The following line detects incoming 10 digit calls to number 1234567890 -->
<!-- The line after transfers to extension 102 -->
<condition field="destination_number" expression="^1234567890$>
<action application="transfer" data="102 XML default"/>

Outbound dialplan settings (dial 9 then ten digits):

<extension name="Level3_outbound">
<!-- The following line detects outbound calls with a 9 as a dropped prefix -->
<!-- The line after sends the 10 digit number to the provider -->
<condition field="destination_number" expression="^9(\d{10})$">
<action application="bridge" data="sofia/gateway/Level3/$1"/>

In order to be able to send and receive fax, the following must be included in the dialplan

<action application="export" data="t38_passthru=true"/>