Auto Configure Trunk Group Inbound and Outbound Parameters

Status
Not open for further replies.

mkudlacek

Joined
May 11, 2016
Messages
4
Reaction score
0
I'm working on automatically configuring 3CX using the setupconfig.xml file and instructions from the following blog post : https://www.3cx.com/docs/configure-pbx-automatically/

Is it possible to add Inbound and Outbound Parameters to the config? I pulled one of my back up files for a different installation and inserted the following lines in my setupconfig.xml under the siptrunk tag:

<ArrayOfInboundParam>
<InboundParam ParamName="FromUserPart" ValueName="$CallerNum" />
<InboundParam ParamName="ToUserPart" ValueName="$CalledNum" />
<InboundParam ParamName="FromUserPart" ValueName="$CallerName" />
</ArrayOfInboundParam>
<ArrayOfOutboundParam>
<OutboundParam ParamName="RequestLineURIUser" ValueName="$CalledNum" />
<OutboundParam ParamName="RequestLineURIHost" ValueName="$GWHostPort" />
<OutboundParam ParamName="ContactUser" ValueName="$CallerNum" />
<OutboundParam ParamName="ContactHost" ValueName="$ContactUri" />
<OutboundParam ParamName="ToDisplayName" ValueName="$CalledName" />
<OutboundParam ParamName="ToUserPart" ValueName="$CalledNum" />
<OutboundParam ParamName="ToHostPart" ValueName="$GWHostPort" />
<OutboundParam ParamName="FromDisplayName" ValueName="$OutboundCallerId" />
<OutboundParam ParamName="FromUserPart" ValueName="$OutboundCallerId" />
<OutboundParam ParamName="FromHostPart" ValueName="$GWHostPort" />
<OutboundParam ParamName="RemotePartyIDCallingPartyDisplayName" ValueName="$OutboundCallerId" />
<OutboundParam ParamName="RemotePartyIDCallingPartyUserPart" ValueName="$OutboundCallerId" />
<OutboundParam ParamName="RemotePartyIDCallingPartyHostPart" ValueName="$GWHostPort" />
</ArrayOfOutboundParam>
<ArrayOfSourceIdentification>
<SourceIdentification ParamName="ContactHost" ValueName="$GWHostPort" />
</ArrayOfSourceIdentification>
<SIPFieldWithDID Name="ToUserPart" />

However, after 3CX was installed, I logged in to check the sip trunk and the Inbound and Outbound parameters were set to the default values.
 
Status
Not open for further replies.

Forum statistics

Threads
112,298
Messages
591,768
Members
165,438
Latest member
cur_cb