Skip to main content
CallTower Solutions Center

3CXv15 Sip Trunk Template

Goal

In order for Appia to appear in the 3cx v15.5 sip trunk drop down menu. 

First Step

Please copy the two files 

Appia template

Appia png

to the following folder (on a windows deployment)

For Windows:   C:\ProgramData\3CX\Instance1\Data\Http\Templates\provider
For Linux::        /var/lib/3cxpbx/Data/Http/Templates/providers directory   (And in Linux, directory paths are case sensitive)
Page Title

 

Additional information

<?xml version="1.0"?>

<doc xmlns:tcx="http://www.3cx.com"><header><type>gateway-template</type><version>49169</version><time>2015-05-01 11:30:00</time><name>Appia</name><url>http://www.appiaservices.com/</url><image>appia.png</image><description>US</description></header><data><device><type>provider</type><manufacturer>Appia</manufacturer><model>Provider</model>

<!-- Friendly Name -->

<field name="Name">Appia</field>

<!-- Hostnames and Port Numbers -->

<field name="RegistrarHost" status="readonly">ipauth.appiaservices.com</field>

<!-- Registrar & Proxy IP / FQDN -->

<field name="RegistrarPort">5060</field>

<!-- Registrar & Proxy Port Number -->

<field name="ProxyHost"/>

<!-- Proxy IP / FQDN -->

<field name="ProxyPort"/>

<!-- Proxy Port Number -->

<field name="StunServerHost"/>

<!-- StunServer IP / FQDN -->

<field name="StunServerPort"/>

<!-- StunServer Port Number -->

<!-- Registration Settings -->

<field name="RegistrationExpiry">30</field>

<!-- Registration Expiry -->

<field name="RequireAuthFor">1</field>

<!-- No=1; In=2; Out=3; Both=4 -->

<field name="IpInContactReg">1</field>

<!-- Ext=1; Int=2; Both=3; Specified=4 -->

<field name="IpInContactRegList"/>

<!-- List of PBX IPs -->

<!-- Provider Capabilities -->

<field name="IsSupportReinvite">1</field>

<!-- Yes=1; No=0 -->

<field name="IsSupportReplaces">0</field>

<!-- Yes=1; No=0 -->

<!-- Location of Destination Number -->

<field name="DestNumberIn_TO">1</field>

<!-- Yes=1; No=0 -->

<field name="DestNumberIn_REQLINEURI">1</field>

<!-- Yes=1; No=0 -->

<field name="DestNumberIn_RPID_CALLED">0</field>

<!-- Yes=1; No=0 -->

<!-- Other Options -->

<field name="IsBindToMS">1</field>

<!-- Bound=1; NotBound=0 -->

<field name="UseIPInContact">0</field>

<!-- UseIP=1; DoNotUseIP=0 -->

<field name="CallerIDIn">1</field>

<!-- Fm=1; To=2; ReqURI=3; Con=4; RemPtyClg=6 -->

<field name="CalledNumberIn">2</field>

<!-- Fm=1; To=2; ReqURI=3; Con=4; RemPtyCld=5 -->

<codecs><codec rfcname="pcmu"/><codec rfcname="g729"/><codec rfcname="pcma"/></codecs>

<!--Source Identification - Use Default PBX Internal Source Identification-->

<!--<field name="MatchStrategy">1</field>-->

<!--<field name="Source" parameter="" custom=""></field>-->

<!--<field name="Source" parameter="" custom=""></field>-->

<!--<field name="Source" parameter="" custom=""></field>-->

<!-- Gateway / Provider Inbound Parameters -->

<!--<field name="ParameterIn" custom="" parameter="RequestLineURIUser"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RequestLineURIHost">$DevHostPort</field>-->

<!--<field name="ParameterIn" custom="" parameter="ContactUser"></field>-->

<field name="ParameterIn" parameter="ContactHost" custom="">$DevHostPort</field><field name="ParameterIn" parameter="ToDisplayName" custom="">$CalledName</field><field name="ParameterIn" parameter="ToUserPart" custom="">$CalledNum</field>

<!--<field name="ParameterIn" custom="" parameter="ToHostPart"></field>-->

<field name="ParameterIn" parameter="FromDisplayName" custom="">$CallerName</field><field name="ParameterIn" parameter="FromUserPart" custom="">$CallerNum</field>

<!--<field name="ParameterIn" custom="" parameter="FromHostPart"></field>-->

<!--<field name="ParameterIn" custom="" parameter="UserAgentTextString"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCalledPartyDisplayName"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCalledPartyUserPart"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCalledPartyHostPart"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCallingPartyDisplayName"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCallingPartyUserPart"></field>-->

<!--<field name="ParameterIn" custom="" parameter="RemotePartyIDCallingPartyHostPart"></field>-->

<!--<field name="ParameterIn" custom="" parameter="ProxyAuthID"></field>-->

<!--<field name="ParameterIn" custom="" parameter="ProxyAuthRealm"></field>-->

<!-- Gateway / Provider Outbound Parameters -->

<field name="ParameterOut" parameter="RequestLineURIUser" custom="">$CalledNum</field><field name="ParameterOut" parameter="RequestLineURIHost" custom="">$GWHostPort</field><field name="ParameterOut" parameter="ContactUser" custom="">$AuthID</field><field name="ParameterOut" parameter="ContactHost" custom="">$ContactURI</field><field name="ParameterOut" parameter="ToDisplayName" custom="">$CalledName</field><field name="ParameterOut" parameter="ToUserPart" custom="">$CalledNum</field><field name="ParameterOut" parameter="ToHostPart" custom="">$GWHostPort</field><field name="ParameterOut" parameter="FromDisplayName" custom="">$OutboundCallerId</field><field name="ParameterOut" parameter="FromUserPart" custom="">$OutboundCallerId</field><field name="ParameterOut" parameter="FromHostPart" custom="">$GWHostPort</field>

<!--<field name="ParameterOut" custom="" parameter="UserAgentTextString"></field>-->

<!--<field name="ParameterOut" custom="" parameter="RemotePartyIDCalledPartyDisplayName"></field>-->

<!--<field name="ParameterOut" custom="" parameter="RemotePartyIDCalledPartyUserPart"></field>-->

<!--<field name="ParameterOut" custom="" parameter="RemotePartyIDCalledPartyHostPart"></field>-->

<field name="ParameterOut" parameter="RemotePartyIDCallingPartyDisplayName" custom="">$OutboundCallerId</field><field name="ParameterOut" parameter="RemotePartyIDCallingPartyUserPart" custom="">$OutboundCallerId</field><field name="ParameterOut" parameter="RemotePartyIDCallingPartyHostPart" custom="">$GWHostPort</field>

<!--<field name="ParameterOut" custom="" parameter="ProxyAuthID"></field>-->

<!--<field name="ParameterOut" custom="" parameter="ProxyAuthRealm"></field>-->

</device></data></doc>

  • Was this article helpful?