Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Auto Configure Trunk Group Inbound and Outbound Parameters

Discussion in 'Ideas' started by mkudlacek, Feb 15, 2018.

  1. mkudlacek

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

    We would like the ability to define the inbound and outbound parameters for the sip trunk in the setupconfig.xml. Example (from one of our back up files):


    <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" />