Provider Skyetel (USA)
Skyetel.com
Inbound calling
Skyetel does not use SIP Registration. You will need to add their IPs to your ACL in order to receive inbound calls.
Modify 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 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>
Place this outbound gateway in conf/sip_profiles/external/skyetel.xml:
<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>
OR
Use this as the outbound gateway to make use of Tenants, place into conf/sip_profiles/external/skyetel.xml:
<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>