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 '3CX Phone System - General' started by mkudlacek, Feb 12, 2018.

Thread Status:
Not open for further replies.
  1. mkudlacek

    Joined:
    May 11, 2016
    Messages:
    5
    Likes Received:
    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.
     
Thread Status:
Not open for further replies.