Vanilla Freeswitch

Overview

Vanilla Freeswitch is the foundation of many very powerful, very well know phone systems and phone platforms across the world. Everyone from SIgnalwire, FusionPBX, 2600hz to Netflix, etc all use Freeswitch for their PBXs/Apps/Platforms. 

Please follow these instructions to configure Freeswitch to work with Skyetel

Inbound Calling

Skyetel does not use SIP Registration. You will need to add our IPs to your ACL in order to receive inbound calls. 

Modify ${FS Install DIR}/conf/autoload_configs/acl.conf.xml to include our IPs:

<list name="domains" default="deny">
<node type="allow" domain="$${domain}"/>
<node type="allow" domain="52.41.52.34/32"/>
<node type="allow" domain="52.8.201.128/32"/>
<node type="allow" domain="52.60.138.31/32"/>
<node type="allow" domain="50.17.48.216/32"/>
</list>

Outbound Calling

Add a Gateway profile to ${FS Install DIR}/conf/sip_profiles/external/skyetel.xml

<gateway name="Skyetel">
<param name="username" value="skyetel"/>
<param name="password" value="skyetel"/>
<param name="proxy" value="na.skyetel.com"/>
<param name="expire-seconds" value="800"/>
<param name="register" value="false"/>
<param name="retry-seconds" value="30"/>
<param name="context" value="public"/>
<param name="caller-id-in-from" value="true"/>
<param name="sip_cid_type" value="pid"/>
<param name="extension-in-contact" value="false"/>
<param name="supress-cng" value="true"/>
<param name="ping" value="90" />
</gateway>

You can use this for your outbound gateway

<extension name="Skyetel" >
<condition field="destination_number" expression="^\+?1?(\d{10})$" >
<action application="set" data="sip_h_X-Tag=" />
<action application="set" data="call_direction=outbound" />
<action application="set" data="hangup_after_bridge=true" />
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}" />
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}" />
<action application="set" data="inherit_codec=true" />
<action application="bridge" data="sofia/gateway/Skyetel/1$1" />
</condition>
</extension>

Use this in your Outbound Gateway if you want to make use of Tenants:

<extension name="Skyetel" >
<condition field="destination_number" expression="^\+?1?(\d{10})$" >
<action application="set" data="sip_h_X-Tag=" />
<action application="set" data="call_direction=outbound" />
<action application="set" data="hangup_after_bridge=true" />
<action application="set" data="sip_h_X-Tenant=${domain_name}"
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}" />
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}" />
<action application="set" data="inherit_codec=true" />
<action application="bridge" data="sofia/gateway/Skyetel/1$1" />
</condition>
</extension>
Was this article helpful?
0 out of 0 found this helpful
Return to top