Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated @ 2023-03-28T13:59:59.534863
HTML
headtrue
encodingUTF-8
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="copyright" content="(C) Copyright 20222023"><meta name="DC.rights.owner" content="(C) Copyright 20222023"><meta name="DC.type" content="concept"><meta name="description" content="In this scenario, the Sentinel is connected with its uplink port to the local network, along with other SIP clients. In this scenario, SIP Clients are registered to the Sentinel. This local network is behind a NAT firewall router. The ATA, the door panels, and the SIP phones are registered directly to the Sentinel . In order to reach them from MS Teams, it is necessary to dial a prefix. The SIP phone may have other lines registered with a different SIP provider, but it is outside the scope of this setup."><meta name="prodname" content="Sentinel series"><meta name="version" content="DGW 49.01.28092884"><meta name="platform" content="All"><meta name="DC.date.modified" content="20222023-1103-1028"><meta name="DC.date.issued" content="20222023-1103-1028"><meta name="DC.date.available" content="20222023-1103-1028"><meta name="ChapterNumbering" content="no"><meta name="DC.format" content="HTML5"><meta name="DC.identifier" content="concept_v3r_cvl_4mb"><link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"><link rel="stylesheet" type="text/css" href="https://documentation.media5corp.com/download/attachments/45481987/commonltr.css"><link rel="stylesheet" type="text/css" href="https://documentation.media5corp.com/download/attachments/45481987/custom.css"><title>Configuring the Sentinel for Microsoft Teams Direct Routing Integration with local users</title></head><body><header role="banner"><div class="topicmeta title">Configuring the Sentinel for Microsoft Teams Direct Routing Integration with local users</div><div class="topicmeta date">2022>2023-1103-10<28</div><div class="topicmeta product">Sentinel series</div><div class="topicmeta version">DGW 49.01.2809<2884</div><div class="topicmeta pdf"><a href="https://documentation.media5corp.com/download/attachments/45481987/Configuring%20the%20Sentinel%20for%20MS%20Teams%20Direct%20Routing%20Integration.pdf" rel="nofollow">Download PDF Document</a></div><hr><span style="float: inline-end;"></span></header><nav role="toc"><ul><li><a href="#concept_v3r_cvl_4mb">Microsoft Teams Direct Routing Integration</a></li><li><a href="#reference_kr5_vns_hlb">Requirements for MS Teams</a><ul><li><a href="#task_gjn_3ps_hlb">Connecting to MS Teams with PowerShell</a></li><li><a href="#task_zvp_lss_hlb">Configuring MS Teams Voice Routing </a></li></ul></li><li><a href="#reference_obt_35s_hlb">Requirements for the Sentinel</a><ul><li><a href="#task_a5v_y2q_bq">Importing Rulesets</a></li><li><a href="#task_pnm_lxs_hlb">Configuring the Signaling Interfaces</a></li><li><a href="#task_brr_bdt_hlb">Configuring the Media Interfaces</a></li><li><a href="#task_xws_2gt_hlb">Configuring the MS_Teams_Direct_Routing_ca Call Agent</a></li><li><a href="#task_ib2_5c5_mr">Configuring the local_users_ca Call Agent</a></li><li><a href="#task_zdg_vlx_bq">Associating Routing Rulesets to Your Configuration</a></li></ul></li><li><a href="#reference_j4g_nbv_gfb">Online Help</a></li><li><a href="#concept_v4k_q3h_1r">DGW Documentation</a></li><li><a href="#concept_fqm_rv4_k4">Copyright Notice</a></li></ul></nav><main role="main"><article role="article" aria-labelledby="ariaid-title1"><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="nested0" aria-labelledby="ariaid-title1" id="concept_v3r_cvl_4mb">
 <h1 class="title topictitle1" id="ariaid-title1">Microsoft Teams Direct Routing  Integration</h1>
 
 <div class="body conbody"><p class="shortdesc">In this scenario, the Sentinel is connected with its uplink port to the local network,
    along with other SIP clients. In this scenario, SIP Clients are registered to the Sentinel. This
    local network is behind a NAT firewall router. The ATA, the door panels, and the SIP phones are
    registered directly to the Sentinel . In order to reach them from MS Teams, it is necessary to
    dial a prefix. The SIP phone may have other lines registered with a different SIP provider, but
    it is outside the scope of this setup.</p>
  <div class="p">
   <br><img class="image" id="concept_v3r_cvl_4mb__image_hfl_hps_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/SentinelConfigurationforTeams.png" width="800"><br>
  </div>
  <div class="p">Logically the Sentinel is configured this way: <br><img class="image" id="concept_v3r_cvl_4mb__image_pzf_yys_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/SentinelInsideConfigurationforTeams.png" width="800"><br></div>
 </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic reference nested0" aria-labelledby="ariaid-title2" id="reference_kr5_vns_hlb">
  <h1 class="title topictitle1" id="ariaid-title2">Requirements for MS Teams</h1>
  <div class="body refbody">
    <section class="section">
      <ul class="ul" id="reference_kr5_vns_hlb__ul_m3p_b4s_hlb">
        <li class="li">Refer to the following link for MS Teams direct routing requirements: <a class="xref" href="https://docs.microsoft.com/en-us/microsoftteams/onboarding-checklist-enable-office-365" target="_blank">https://docs.microsoft.com/en-us/microsoftteams/onboarding-checklist-enable-office-365</a></li>
        <li class="li">A publicly resolvable FQDN for the Sentinel. The FQDN must be in one of the domains
          defined under your Microsoft Teams account. For example the SBC FQDN is set to
            <samp class="ph msgph">sbcteams.mediatrix.com</samp>, which is under the mediatrix.com domain.
          <br><img class="image" id="reference_kr5_vns_hlb__image_z53_m4s_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/TeamsDomains.png" width="800"><br></li>
        <li class="li">At least one Microsoft Teams user must be created under the same domain. In our example,
          we have created one such account: <samp class="ph msgph">media5user@mediatrix.com</samp></li>
        <li class="li">DID Phone Numbers to dial in, you can get DID phone numbers under Microsoft Teams admin
          Center/Users/Phone Numbers and assign it to a specific user (or auto-attendant, which is a pseudo-user).
          <br><img class="image" id="reference_kr5_vns_hlb__image_frx_1ps_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/TeamsPhoneNumbers.png" width="500"><br></li>
      </ul>
      
    </section>
  </div>
<hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title3" id="task_gjn_3ps_hlb">
    <h2 class="title topictitle2" id="ariaid-title3">Connecting to MS Teams with PowerShell</h2>
    <div class="body taskbody">
        <section class="section prereq"><div class="tasklabel"><strong class="sectiontitle tasklabel">Before you begin</strong></div>Microsoft Visual C++ 2017 x 64 Minimum Runtime - 14.10.25008 package must be
            installed. </section>
        <section id="task_gjn_3ps_hlb__steps_aqw_4ps_hlb"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_gjn_3ps_hlb__steps_aqw_4ps_hlb"><li class="li step">
                <span class="ph cmd">Download and install Power Shell: <a class="xref" href="https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell" target="_blank">https://docs.microsoft.com/en-us/SkypeForBusiness/set-up-your-computer-for-windows-powershell/set-up-your-computer-for-windows-powershell</a></span>
            </li><li class="li step">
                <span class="ph cmd">Open PowerShell from your PC. Run it as Administrator. </span>
            </li><li class="li step">
                <span class="ph cmd">Install Microsoft Teams module if needed:  <a class="xref" href="https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-install#install-the-teams-powershell-module" target="_blank">https://docs.microsoft.com/en-us/MicrosoftTeams/teams-powershell-install#install-the-teams-powershell-module</a></span>
            </li><li class="li step">
                <span class="ph cmd">Type <span class="keyword cmdname">Set-executionPolicy –ExecutionPolicy RemoteSigned</span></span>
            </li><li class="li step">
                <span class="ph cmd">Click  <span class="keyword wintitle">Yes</span> to all.</span>
            </li><li class="li step">
                <span class="ph cmd">Enter <span class="keyword cmdname">Import-Module MicrosoftTeams</span></span>
            </li><li class="li step">
                <span class="ph cmd">Enter <span class="keyword cmdname">Connect-MicrosoftTeams</span></span>
            </li><li class="li step">
                <span class="ph cmd">Enter your tenant admin user name and password.</span>
            </li></ol></section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title4" id="task_zvp_lss_hlb">
    <h2 class="title topictitle2" id="ariaid-title4">Configuring MS Teams Voice Routing </h2>
    <div class="body taskbody">
        <section class="section context"><div class="tasklabel"><strong class="sectiontitle tasklabel">Context</strong></div></section>
        <section id="task_zvp_lss_hlb__steps_wg3_rss_hlb"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_zvp_lss_hlb__steps_wg3_rss_hlb"><li class="li step stepexpand">
                <span class="ph cmd">In the MS Teams PowerShell, enter the command to create the Direct Routing SIP
                    trunk. </span>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> For example <span class="keyword cmdname">New-CsOnlinePSTNGateway –Fqdn sbcteams.mediatrix.com
                            -SipSignalingPort 5061 -MaxConcurrentSessions 5 -Enabled
                        $true</span></div>
                </div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Enter the command to create the actual voice route that will be used to route
                    calls to the SBC.</span>
                <div class="itemgroup info">For example
                    <pre class="pre codeblock"><code>Set-CsOnlinePstnUsage –Identity Global –Usage @{Add=”Montreal514Sherbrooke819”}</code></pre>
                    and
                    <pre class="pre codeblock"><code>New-CsOnlineVoiceRoute -Identity "Montreal Sherbrooke" -NumberPattern "^\+1(514|819)(\d{7})$" 
-OnlinePstnGatewayList sbcteams.mediatrix.com -Priority 1 -OnlinePstnUsages "Montreal514Sherbrooke819"</code></pre>
                    and
                    <pre class="pre codeblock"><code>New-CsOnlineVoiceRoutingPolicy "Montreal Sherbrooke" -OnlinePstnUsages "Montreal514Sherbrooke819"</code></pre></div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Enter the command to assign the routing policy to the users.</span>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> For example <span class="keyword cmdname">Grant-CsOnlineVoiceRoutingPolicy –Identity
                            "user1@mediatrix.com" –PolicyName "Montreal Sherbrooke"</span></div>
                </div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">In case you need to assign an OnPremise number to specific user, enter the command:</span>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> For example <span class="keyword cmdname">Set-CsUser -Identity "user1@mediatrix.com"
                            -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI
                            tel:42565</span></div>
                </div>
            </li></ol></section>
    </div>
</article></article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic reference nested0" aria-labelledby="ariaid-title5" id="reference_obt_35s_hlb">
  <h1 class="title topictitle1" id="ariaid-title5">Requirements for the Sentinel</h1>
  <div class="body refbody">
    <section class="section">
      <ul class="ul" id="reference_obt_35s_hlb__ul_pgx_p5s_hlb">
        <li class="li">DGW software version: MediatrixSentinel_Dgw_48.0.2430 or newer.</li>
        <li class="li">Rulesets created to use Teams with the Sentinel. Contact your sales representative. </li>
        <li class="li">A server certificate with the SBC FQDN in the Common Name or Subject Alternative Name
          signed by one of the approved public CA by Microsoft. In our test, the SBC host
          certificate was signed by Comodo (one-month Free Trial):
          <ul class="ul" id="reference_obt_35s_hlb__ul_jkk_r5s_hlb">
            <li class="li">Key length 2048 bits</li>
            <li class="li">Signature Hash algorithm: SHA 256</li>
            <li class="li">Extended Usage: ClientAuthentication and ServerAuthentication</li>
            <li class="li">Common Name: <samp class="ph msgph">sbcteams.mediatrix.com</samp></li>
            <li class="li">SAN may contain wild card FQDN, most root CA will charge extra for that; the Comodo
              free trial does not allow that so it was skipped</li>
            <li class="li"><br><img class="image" id="reference_obt_35s_hlb__image_fth_x5s_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/TeamsCertificate.png" width="500"><br></li>
          </ul></li>
        <li class="li">Generate the necessary CSR (Certificate Signing Request), and later combine the private
          key and the CA signed certificate to form a host certificate to upload to the Sentinel:
          Refer to <a class="xref" href="https://documentation.media5corp.com/display/DGWLATEST/Creating+a+Media5+Device+Host+Certificate+with+OpenSSL" target="_blank">https://documentation.media5corp.com/display/DGWLATEST/Creating+a+Media5+Device+Host+Certificate+with+OpenSSL</a></li>
        <li class="li">Install Baltimore Cybertrust Root CA certificate on the SBC (<a class="xref" href="https://www.digicert.com/digicert-root-certificates.htm" target="_blank">https://www.digicert.com/digicert-root-certificates.htm</a>); 
          this is to validate against MS Teams servers
            (<samp class="ph msgph">sip.pstnhub.microsoft.com</samp>, <samp class="ph msgph">sip2.pstnhub.microsoft.com</samp>,
            <samp class="ph msgph">sip3.pstnhub.microsoft.com</samp>)</li>
        <li class="li">Associate the host certificate to the SBC service. Make sure only 1 certificate is
          associated to it. Refer to <a class="xref" href="https://documentation.media5corp.com/display/DGWLATEST/Using+Trusted+CA+and+Host+Certificates" target="_blank">https://documentation.media5corp.com/display/DGWLATEST/Using+Trusted+CA+and+Host+Certificates</a> for more details. </li>
        <li class="li">To speed up incoming calls from Teams, as calls from Teams Direct Routing server may
          come from another IP (not the same as the ones resolved by DNS), set up the following
          static DNS entries
          <pre class="pre codeblock"><code>Hoc.StaticHosts.DeleteAllRows
Hoc.InsertStaticHost Name="sip.pstnhub.microsoft.com"
IpAddresses="52.114.132.46,52.114.148.0,52.114.132.46,52.114.75.24,
52.114.76.76,52.114.7.24,52.114.14.70"

#the sequence of IP addresses may vary from region to region, ping MS Teams FQDN 
to find out what it is resolved into for your region</code></pre></li>
      </ul>
      <div class="note note note_note"><span class="note__title">Note:</span> There are also different FQDNs for US government and Department of Defense,
        please follow the MS Teams Direct Routing planning document. You can find the IP addresses
        for these domains there.</div>
    </section>
  </div>
<hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title6" id="task_a5v_y2q_bq">
    <h2 class="title topictitle2" id="ariaid-title6">Importing Rulesets</h2>
    <div class="body taskbody">
        <section class="section prereq"><div class="tasklabel"><strong class="sectiontitle tasklabel">Before you begin</strong></div>Rulesets must first be imported. Contact your sales representative to obtain the
            required rulesets to use Teams with the Sentinel. </section>
        <section class="section context"><div class="tasklabel"><strong class="sectiontitle tasklabel">Context</strong></div>This procedure is valid for Call Agent and Routing Rulesets.</section>
        <section><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps"><li class="li step stepexpand">
                <span class="ph cmd">Go to <span class="keyword wintitle">Management</span>/<span class="keyword wintitle">File</span>.</span>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> Step 2 is only required when importing the first Ruleset and if you are
                        not using a secure connection to access the Management Interface
                        (http://).</div>
                </div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Click <span class="keyword wintitle">Activate unsecure
                file importation from the Web browser</span>.</span>
            </li><li class="li step stepexpand">
                <span class="ph cmd">From the <span class="keyword wintitle">Path</span> field,
                    select sbc/rulesets/.</span>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Click <span class="keyword wintitle">Browse</span>, and
                    navigate to the following Rulesets to import: </span>
                <ol type="a" class="ol substeps" id="task_a5v_y2q_bq__substeps_n2q_mqj_t2b">
                    <li class="li substep">
                        <span class="ph cmd">MS_Teams_local_users_routes.rrs</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd">force_media_plain_rtp_handle_replaces.crs</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd">MS_Teams_interop.crs</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd">MS_TEAMS_Interop_local_users_registrar_in.crs</span>
                    </li>
                </ol>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> Ruleset file extension must be *.crs for Call Agent Rulesets or *.rrs for
                        Routing Rulesets.</div>
                </div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Click <span class="keyword wintitle">Import</span>.</span>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div>The imported Rulesets will appear in the <span class="keyword wintitle">Internal files</span> table, with the
            selected path in front of the name. The Ruleset will be available in the tables of the
                <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Rulesets</span> page.<br><img class="image" id="task_a5v_y2q_bq__image_x2z_fxl_hs" src="https://documentation.media5corp.com/download/attachments/45481987/ImportFileThroughWebBrowser_ruleset.png" width="800"><br></section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title7" id="task_pnm_lxs_hlb">
    <h2 class="title topictitle2" id="ariaid-title7">Configuring the Signaling Interfaces</h2>
    <div class="body taskbody">
        <section id="task_pnm_lxs_hlb__steps_v4j_4ys_hlb"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_pnm_lxs_hlb__steps_v4j_4ys_hlb"><li class="li step">
                <span class="ph cmd">Go to <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Configuration</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Signaling Interface Configuration</span> cable, configure the Uplink_s as follows: </span>
                <ol type="a" class="ol substeps" id="task_pnm_lxs_hlb__substeps_wxr_yys_hlb">
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Name</span>:
                            uplink_s</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Network</span>:
                            Uplink</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Port</span>:
                            5062</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Secure Port</span> :
                            5063</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Allowed Transport</span>:
                            All</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">TLS Mode</span>:
                            Client</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Public Address</span>: leave empty</span>
                    </li>
                </ol>
            </li><li class="li step">
                <span class="ph cmd">Click <img class="image" id="task_pnm_lxs_hlb__image_r4f_3ct_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15"> and complete the fields as follows.</span>
                <ol type="a" class="ol substeps" id="task_pnm_lxs_hlb__substeps_s4f_3ct_hlb">
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Name</span>:
                            teams_s</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Network</span>:
                            Uplink</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Port</span>:
                            5060</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Secure Port</span> :
                            5061</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Allowed Transport</span>:
                            TlsOnly</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">TLS Mode</span>:
                            Both</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Public Address</span>: FQDN assigned to the SBC, for example sbcteams.mediatrix.com</span>
                    </li>
                </ol>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div>
            <br><img class="image" id="task_pnm_lxs_hlb__image_qql_qrr_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/SignalingInterfaceConfiguration_TeamsLocalSipClients.png" width="800"><br>
        </section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title8" id="task_brr_bdt_hlb">
    <h2 class="title topictitle2" id="ariaid-title8">Configuring the Media Interfaces</h2>
    <div class="body taskbody">
        <section class="section context"><div class="tasklabel"><strong class="sectiontitle tasklabel">Context</strong></div></section>
        <section id="task_brr_bdt_hlb__steps_hrr_fdt_hlb"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_brr_bdt_hlb__steps_hrr_fdt_hlb"><li class="li step stepexpand">
                <span class="ph cmd">Go to <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Configuration</span>.</span>
            </li><li class="li step stepexpand">
                <span class="ph cmd">in the <span class="keyword wintitle">Media Interface Configuration</span>
                    table, configure the uplink_m Media interface as follows:</span>
                <ol type="a" class="ol substeps" id="task_brr_bdt_hlb__substeps_eb5_kdt_hlb">
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Name</span>:
                            uplink_m</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Network</span>:
                            Uplink</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Port Range</span>:
                            20000-20999</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Public Address</span>: leave empty</span>
                    </li>
                </ol>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> This is the media interface used by the LAN IP PBX (no NAT)</div>
                </div>
            </li><li class="li step stepexpand">
                <span class="ph cmd">Click <img class="image" id="task_brr_bdt_hlb__image_hc4_tdt_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15"> and configure the fields as follows: </span>
                <ol type="a" class="ol substeps" id="task_brr_bdt_hlb__substeps_kfl_rdt_hlb">
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Name</span>:
                            teams_m</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Network</span>:
                            Uplink</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Port Range</span>:
                            21001-21010</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Public Address</span>: external public IP address </span>
                    </li>
                </ol>
                <div class="itemgroup info">
                    <div class="note note note_note"><span class="note__title">Note:</span> The public IP address of this interface is set to the public IP outside
                        the NAT firewall. This is required for SIP NAT Traversal)</div>
                </div>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div>
            <br><img class="image" id="task_brr_bdt_hlb__image_udj_tsr_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/MediaInterfaceConfiguration-TeamsLocalSipClients.png" width="800"><br>
        </section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title9" id="task_xws_2gt_hlb">
    <h2 class="title topictitle2" id="ariaid-title9">Configuring the MS_Teams_Direct_Routing_ca Call Agent</h2>
    <div class="body taskbody">
        <section id="task_xws_2gt_hlb__steps_hnw_hgt_hlb"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_xws_2gt_hlb__steps_hnw_hgt_hlb"><li class="li step">
                <span class="ph cmd">Go to <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Configuration</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Call Agent Configuration</span>
                    table, click <img class="image" id="task_xws_2gt_hlb__image_lwz_ygt_hlb" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15">.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Configure Call Agent</span> table,
                    complete the fields as follows: </span>
                <ol type="a" class="ol substeps" id="task_xws_2gt_hlb__substeps_ukj_dht_hlb">
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Name</span>: MS_Teams_Direct_Routing_ca</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Enable</span>: checked</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Signaling Interface</span>: teams_s</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Media Interface</span>: teams_m</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Peer Host</span>:
                                <samp class="ph msgph">sip.pstnhub.microsoft.com:5061</samp></span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Force Transport</span>: Tls</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Keep-Alive Interval</span>: 30</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Blacklisting Duration</span>: 60</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Blacklisting Delay</span>: 0</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd"><span class="keyword wintitle">Custom Header</span>: <samp class="ph msgph">X-MS-SBC: Mediatrix/%productseries%/%version%</samp></span>
                    </li>
                </ol>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Call Agent Rulesets</span> table,
                    from the <span class="keyword wintitle">Name</span> select MS_Teams_interop.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Parameters</span>
                    field, enter the CC=Country Code and the DIGITS=Number of digits of CC  + 1,
                    eg.<span class="keyword cmdname">CC=1 DIGITS=2</span>, or <span class="keyword cmdname">CC=34 DIGITS=3</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">Click <span class="keyword wintitle">Save</span>.</span>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div>
            <br><img class="image" id="task_xws_2gt_hlb__image_epw_tnb_jlb" src="https://documentation.media5corp.com/download/attachments/45481987/Configure_MS_Teams_Direct_RoutingCallAgent.png" width="800"><br>
        </section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title10" id="task_ib2_5c5_mr">
    <h2 class="title topictitle2" id="ariaid-title10">Configuring the <span class="keyword wintitle">local_users_ca</span>
        Call Agent</h2>
    <div class="body taskbody">
        <section class="section context"><div class="tasklabel"><strong class="sectiontitle tasklabel">Context</strong></div><span class="ph">If you are not familiar with the meaning of the fields and
                buttons, click <span class="keyword wintitle">Show Help</span>, located at the upper right corner of
                the Web page. When activated, the fields and buttons that offer online help will
                change to green and if you hover over them, the description will bedisplayed.</span></section>
        <section id="task_ib2_5c5_mr__steps_k1k_fbx_gq"><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps" id="task_ib2_5c5_mr__steps_k1k_fbx_gq"><li class="li step">
                <span class="ph cmd">Go to <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Configuration</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">Select the <span class="keyword wintitle">Enable</span>
                    check box, located next to <span class="keyword wintitle">local_users_ca</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Call Agent Configuration</span>
                    table, click <img class="image" id="task_ib2_5c5_mr__image_mf4_rvq_lq" src="https://documentation.media5corp.com/download/attachments/45481987/pencilbleu.jpg" width="15"> next to <span class="keyword wintitle">local_users_ca</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Configure Call Agent</span> table,
                    complete the following fields: </span>
                <ol type="a" class="ol substeps" id="task_ib2_5c5_mr__substeps_khg_sht_cq">
                    <li class="li substep">
                        <span class="ph cmd">From the <span class="keyword wintitle">Signaling Interface</span>
                            selection list, uplink_s.</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd">From the <span class="keyword wintitle">Media Interface</span>
                            selection list, select uplink_m.</span>
                    </li>
                    <li class="li substep">
                        <span class="ph cmd">Set the <span class="keyword wintitle">Peer Network</span> field to
                            the LAN subnet (subnet/netmask length).</span>
                    </li>
                </ol>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Call Agent Rulesets</span> table,
                    click <img class="image" id="task_ib2_5c5_mr__image_ibq_ssd_r2b" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15">.</span>
            </li><li class="li step">
                <span class="ph cmd">From the <span class="keyword wintitle">Name</span>
                    selection list, choose <span class="keyword wintitle">MS_Teams_Interop_local_users_registrar_in.crs.</span> </span>
            </li><li class="li step">
                <span class="ph cmd">In the <span class="keyword wintitle">Parameters</span>
                    field, enter <span class="keyword wintitle">PREFIX=the prefix number appended to the called number
                        REG_DOMAIN=IP_of_Uplink_s:SIP_signaling port_of_uplink_s , e.g.
                        PREFIX=1514996, REG_DOMAIN=192.168.1.105:5062, assuming MS_Teams client is
                        dialing 1514996+local_sip_user_extension_number to reach local registered
                        SIP clients</span>
                </span>
            </li><li class="li step">
                <span class="ph cmd">Click <img class="image" id="task_ib2_5c5_mr__image_chf_ctd_r2b" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15">.</span>
            </li><li class="li step">
                <span class="ph cmd">From the <span class="keyword wintitle">Name</span>
                    selection list, choose
                        <span class="keyword wintitle">force_media_plain_rtp_handle_replaces.crs</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">Click <span class="keyword wintitle">Save</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">Click <span class="keyword wintitle">Apply</span> to apply
                    all changes to the configuration.</span>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div><span class="keyword wintitle">No</span> will be displayed in
            the <span class="keyword wintitle">Config.Modified</span> field,
            indicating that the configuration that was modified is now applied to the system. When
            the Mediatrix SBC will use the selected Call Agent for a communication, the selected
            parameters will be applied.<br><img class="image" id="task_ib2_5c5_mr__image_ajs_gxr_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/Configure_Local_users_ca_TeamsLocalSipCLients2.png" width="800"><br></section>
    </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic task nested1" aria-labelledby="ariaid-title11" id="task_zdg_vlx_bq">
    <h2 class="title topictitle2" id="ariaid-title11">Associating Routing Rulesets to Your Configuration</h2>
    <div class="body taskbody">
        <section class="section prereq"><div class="tasklabel"><strong class="sectiontitle tasklabel">Before you begin</strong></div>
            <a class="xref" href="#task_a5v_y2q_bq">Importing Rulesets</a> must be completed for
            Routing Rulesets to be available. </section>
        <section><div class="tasklabel"><strong class="sectiontitle tasklabel">Steps</strong></div><ol class="ol steps"><li class="li step">
                <span class="ph cmd">Go to <span class="keyword wintitle">SBC</span>/<span class="keyword wintitle">Configuration</span></span>
            </li><li class="li step" id="task_zdg_vlx_bq__Step2">
                <span class="ph cmd">In the <span class="keyword wintitle">Routing Rulesets</span> table click <img class="image" id="task_zdg_vlx_bq__image_ohp_2fm_3db" src="https://documentation.media5corp.com/download/attachments/45481987/Plusbleu.jpg" width="15"> to add a routing ruleset.</span>
            </li><li class="li step" id="task_zdg_vlx_bq__Step3">
                <span class="ph cmd">From the <span class="keyword wintitle">Name</span>
                    selection list, select <span class="keyword wintitle">MS_Teams_local_users_routes.</span></span>
            </li><li class="li step">
                <span class="ph cmd">Click <span class="keyword wintitle">Save</span>.</span>
            </li><li class="li step">
                <span class="ph cmd">Click <span class="keyword wintitle">Apply</span> to apply
                    all changes to the configuration.</span>
            </li></ol></section>
        <section class="section result"><div class="tasklabel"><strong class="sectiontitle tasklabel">Result</strong></div>
            <br><img class="image" id="task_zdg_vlx_bq__image_mj2_qhs_4mb" src="https://documentation.media5corp.com/download/attachments/45481987/AssoiatingRoutingRulesetstoyourConfiguration_TeamsLocalSIpClients.png" width="800"><br>
        </section>
    </div>
</article></article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic reference nested0" aria-labelledby="ariaid-title12" id="reference_j4g_nbv_gfb">
  <h1 class="title topictitle1" id="ariaid-title12">Online Help</h1>
  <p class="shortdesc"><span class="ph">If you are not familiar with the meaning of the fields and
                buttons, click <span class="keyword wintitle">Show Help</span>, located at the upper right corner of
                the Web page. When activated, the fields and buttons that offer online help will
                change to green and if you hover over them, the description will bedisplayed.</span></p>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic concept nested0" aria-labelledby="ariaid-title13" id="concept_v4k_q3h_1r">
 <h1 class="title topictitle1" id="ariaid-title13">DGW Documentation</h1>
 
 <div class="body conbody"><p class="shortdesc">Mediatrix devices are supplied with an exhaustive set of documentation. </p>
  <p class="p">Mediatrix user documentation is available on the <a class="xref" href="http://documentation.media5corp.com" target="_blank">Media5 Documentation
    Portal</a>.</p>
  <div class="p">Several types of documents were created to clearly present the information you are looking for.
   Our documentation includes:<ul class="ul" id="concept_v4k_q3h_1r__ul_bqy_cjh_1r">
    <li class="li"><strong class="ph b">Release notes</strong>: Generated at each GA release, this document includes the known and
     solved issues of the software. It also outlines the changes and the new features the release
     includes.</li>
    <li class="li"><strong class="ph b">Configuration notes</strong>: These documents are created to facilitate the configuration of a
     specific use case. They address a configuration aspect we consider that most users will need to
     perform. However, in some cases, a configuration note is created after receiving a question
     from a customer. They provide standard step-by-step procedures detailing the values of the
     parameters to use. They provide a means of validation and present some conceptual information.
     The configuration notes are specifically created to guide the user through an aspect of the
     configuration. </li>
    <li class="li"><strong class="ph b">Technical bulletins</strong>: These documents are created to facilitate the configuration of a
     specific technical action, such as performing a firmware upgrade.</li>
    <li class="li"><strong class="ph b">Hardware installation guide</strong>: They provide the detailed procedure on how to safely and
     adequately install the unit. It provides information on card installation, cable connections,
     and how to access for the first time the Management interface.</li>
    <li class="li"><strong class="ph b">User guide</strong>: The user guide explains how to customise to your needs the configuration
     of the unit. Although this document is task oriented, it provides conceptual information to
     help the user understand the purpose and impact of each task. The User Guide will provide
     information such as where and how TR-069 can be configured in the Management Interface, how to
     set firewalls, or how to use the CLI to configure parameters that are not available in the
     Management Interface.</li>
    <li class="li"><strong class="ph b">Reference guide</strong>: This exhaustive document has been created for advanced users. It
     includes a description of all the parameters used by all the services of the Mediatrix units.
     You will find, for example, scripts to configure a specific parameter, notification messages
     sent by a service, or an action description used to create Rulesets. This document includes
     reference information such as a dictionary, and it does not include any step-by-step
     procedures. </li>
   </ul></div>
 </div>
</article><hr><span style="float: inline-end;"><a href="#">Top</a></span><article class="topic concept nested0" aria-labelledby="ariaid-title14" id="concept_fqm_rv4_k4">
 <h1 class="title topictitle1" id="ariaid-title14">Copyright Notice</h1>
 

 <div class="body conbody"><p class="shortdesc">Copyright © 20222023 Media5 Corporation.</p>
  <p class="p">This document contains information that is proprietary to Media5 Corporation.</p>
  <p class="p">Media5 Corporation reserves all rights to this document as well as to the Intellectual Property
   of the document and the technology and know-how that it includes and represents.</p>
  <p class="p">This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever,
   without written prior approval by Media5 Corporation.</p>
  <p class="p">Media5 Corporation reserves the right to revise this publication and make changes at any time
   and without the obligation to notify any person and/or entity of such revisions and/or
   changes.</p>
 </div>
</article></article></main></body></html>