Add Trunk Profile

Prev Next

This article offers guidance to the Enterprise Admin for filling out the form to add a trunk profile - whether Direct  Routing Trunk, Provider Trunk (for Operator Connect) or External Trunk.

From the Enterprise Admin Menu, under the Trunks subgroup, click on the Profiles menu item. This will load the Trunk Profiles page which gives you buttons to add the different types of SIP Trunk connections.

Direct Routing Trunk : To create Direct Routing trunks that will connect Teams users using the SIP Trunk Connector.

Provider Trunk : To create trunks that will connect PSTN services to Operator Connect Express or other external systems via a Consumer Trunk.

Consumer Trunk : To create trunks that will connect an external system to the PSTN via a Provider Trunk.

Adding Direct Routing Trunk

This form allows you to create a Direct Routing trunk that connects Teams users using the ConnecttoTeams SIP Trunk Connector.

  1. From the Trunk Profiles page, click on Add DR Trunk button.  

  2. Supply values to the fields in the Add DR Trunk form.

     
    The fields are:

    Available Voice Routes: Select one of your already-configured voice routes from the dropdown menu.

    Trunk Type: Select the type of Authentication that your Trunk supports - SIP Registration, Peering or “Peering with Credentials”.

    Description: Enter a helpful description for this profile. For example, it could be used to refer to a unit of your business like “Customer Service Trunk,” or “Downtown Office.”

    Outbound Transport type: Select one from UDP, TCP, UDP/TCP, or TLS.

    DNS Lookup type: Select either Host or SRV. “Host” sets the FQDN and Port explicitly. “SRV” uses DSN SRV records to lookup by priority/weight.
    Note that DNS/SRV is not compatible with proxy addresses that include ports. If your proxy address requires a port, you must use HOST.


    Outbound Proxy and Port: Enter the SIP server’s IP Address and port number.
    Note that the port number entry is not needed (and not available) if SRV is selected for DNS Lookup type.


    Emergency Outbound Proxy and Port: Enter if configured on the trunk side. This is optional.


    Codecs: Select your codecs in order of preference; codecs will be attempted in the order you arrange.


    Topology Hiding: Check if you want to enable Topology Hiding.


    The following fields are required if Trunk Type is either “SIP Registration” or “Peering with Credentials”.

    Domain: Enter the SIP Domain. Refer to the client’s account.

    Starting with ConnecttoTeams Service Portal 2.14.0 update, a domain can be shared by multiple trunk profiles. A Trunk User, though, can only be configured in a single trunk profile.


    SIP User ID: This may be the same as the “Auth User” above, but some providers differentiate between SIP user names and SIP user IDs. This field will automatically populate to be "(Auth User)@(Domain)" as you fill in the rest of the form. Review for accuracy before submitting.

    Auth User: SIP User name


    Auth Password: SIP Password



    For the next few fields, refer to the article Introducing Caller ID, Caller Name and PAI Controls for more detailed explanation on the options available for the fields.


    Caller Name Policy: The caller’s display name for a SIP call on a normal outbound call.

    Caller Name on Forwarded Calls: The caller’s display name for a SIP call on a forwarded call.


    Caller ID Policy: The caller’s phone number on a normal outbound call.

    Caller ID on Forwarded Calls: The caller’s phone number on a forwarded call.


    P-Asserted-Identity(PAI): The P-Asserted-Identity to be used on a normal outbound call. It is the identity verified by the ConnecttoTeams network.


    PAI on Forwarded Calls: The P-Asserted-Identity to be used on a forwarded call. It is the identity verified by the ConnecttoTeams network.



    Escape Request URI ? :

    Certain characters have special meanings in URIs and SIP headers. For example:
    : separates the scheme from the rest of the URI.

    @ separates the user info from the host.


    If these characters are part of the actual data, they need to be escaped to avoid being misinterpreted as delimiters or control characters. Enabling this option will accomplish this.


    Convert History Info to Diversion? :

    Microsoft Teams utilizes the SIP History-Info header to convey information related to the sequence of a call. This is useful in call transfer and forwarding scenarios. Some upstream systems do not support the History-Info header and instead utilize the SIP Diversion header for this purpose. When this option is enabled, the ConnecttoTeams B2BUA will convert the History-Info header to the Diversion header.

    Old Style Hold : Check if using “old style hold”. The “old style hold” refers to a legacy method of placing a call on hold where the device sends a media stream with a zero port number in the SDP (Session Description Protocol), effectively telling the other side to stop sending media. This contrasts with the more modern approach, which uses the “sendonly” attribute in SDP to indicate that the party on hold will only send (not receive) media, such as music on hold.

  3. When the form is completed, click on Add DR Trunk button.

Monitor the registration status in the SIP Trunk Profiles table.

Adding Provider Trunk

This form allows you to create a Provider Trunk which is used to connect PSTN services to Operator Connect Express or other external systems via a Consumer Trunk.

  1. From the Trunk Profiles page, click on Add Provider Trunk button.  

  2. Supply values to the fields in the Add Provider Trunk form.
    The form is similar to the Add DR Trunk form except there is need to link to a voice route.
    Fill the fields are you would in the Adding Direct Routing Trunk section above.

  3. When the form is completed, click on Add Provider Trunk button.

Monitor the registration status in the SIP Trunk Profiles table.

Adding Consumer Trunk

This form allows you to create a create trunk that will connect an external system to the PSTN via a Provider Trunk.


  1. From the Trunk Profiles page, click on Add Consumer Trunk button.  

  2. Supply values to the fields in the form.


    The fields are:

    Description: Enter a helpful description for this profile. For example, it could be used to refer to a unit of your business like “Customer Service Trunk,” or “Downtown Office.”

    Outbound Transport type: Select one from UDP, TCP, UDP/TCP, or TLS.    


    Primary Host and Port: Enter the primary SIP server’s IP Address and port number.

    Secondary Host and Port: Enter the backup SIP server’s IP Address and port number.


    Media IPs: Enter the IP addresses used for handling the actual audio and video streams. Enter one IPv4 address per line.

  3. When the form is completed, click on Save Trunk Profile button.

Monitor the registration status in the SIP Trunk Profiles table.

Suggested Further Reading