Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86ca23f8a016cd6ed6fe900138a00a0c87a8bc654017a90dcbbab0002, userName='null'}
REV5UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c85f4199b1015f7ea6e836000d, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a0c85f4199b1015f7ea6e836000d, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d00038a00a02355cd1c2f0155cd26cd8b0a59, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a0c86ca23f8a016cd6ed6fe900138a00a0c866dc3dee01670fed91620030, userName='null'}

Panel

In this section:

Table of Contents
maxLevel2

...

  1. Select VoIP from the Configuration Menu on the left-hand side. 

  2. Configure the system’s VoIP settings.


     

    Caption
    0Table
    1Configuring VoIP Parameters
    3Configuring VoIP Parameters


    ParameterExample Configuration Value
    Enable LLDPEnabled (default)
    LLDP Broadcast Interval (sec)30 (default) 
    TFTP Server IP AddressDisabled
    Use ALG Alias IP AddressesDisabled
    Public NAT WAN IP AddressPublic WAN IPv4 address when using a 1-to-1 NAT configuration
    Private NAT LAN IP AddressPrivate LAN IPv4 address when using a 1-to-1 NAT configuration
    Do Strict RTP Source CheckDisabled
    Enable Client List LockdownDisabled
    Allow Shared UsernamesDisabled
    Strip G.729 from CallsDisabled
    Route all SIP Signalling Through B2BUAEnabled
    Enable Microsoft FeatureEnabled
    Enable Comfort Noise Generation (CNG)Enabled
    Enable User-Agent Header Pass-ThroughDisabled
    Enable SRTP SupportEnabled
    Enable MKI SupportDisabled Note: This is optional. This depends on whether or not MKI support is enabled on MS Teams.
    H.225/H.245 Port Range14085-15084 (default)
    RTP Port Range16386-18385 (default)
    RTP Packetization Time (ms)20
    Prioritize Microsoft TeamsNot Required for MS Team. The system will automatically prioritize signaling and media. This setting is used when the system is “NATing” MS Teams traffic.
    Calculate RTTEnabled (default)


     

  3. Configure the SIP Server Settings for the SIP trunking service parameters.


     

    Caption
    0Table
    1Configuring SIP Server Settings Parameters
    3Configuring SIP Server Settings


    ParameterExample Configuration Value
    SIP Server Addresssiptrunk.example.com
    SIP Server Port

    5060

    (Verify with your SIP trunking provider which SIP port to configure.)

    Note: If the FQDN resolves to a different port for the SIP Server Address the system will use the port returned in the DNS query response.
    SIP Server TransportUDP
    Enable SRTPDisabled
    Use Custom DomainDisabled
    SIP Server DomainNot set
    List of SIP ServersNone
    Enable Multi-homed Outbound Proxy ModeDisabled
    Enable Transparent Proxy ModeDisabled
    Limit Outbound to Listed SIP ServersDisabled
    Limit Inbound to Listed SIP ServersDisabled
    Include UPDATE in AllowEnabled
    PRACK SupportEnabled
    GEOLOCATION SupportEnabled
    Call Audit SupportDisabled
    Stale Client Time (m)1440 (default)
    Session Timer SupportEnabled
    Session Refresh Interval (s)1800 (default)
    UDPClient Listening Port(s)5060,5070,5075 (default)
    UDPServer Facing Port5060 (default)
    UDPREGISTER Restricted to Port0 (default)
    TCPPort5060 (default)
    TCPTimeout (minutes)10 (default)
    TLSPort5061
    TLSTLS ProtocolTLSv1.2
    TLSCiphers StringTLSv1.2+HIGH:!eNULL:!aNULL
    TLSLAN

    Certificate:

    Default

    Policy:

    No Check
    TLSWAN

    Certificate:

    SBC_Cert

    Policy:

    No Check
    TLSExclude sips headers for TLS TransportEnabled

    NAT Traversal

    Disabled (default)
    SDP Codec OperationAllow only given codecs
    SDP Section that will be modifiedAudio
    Codecs (comma separated list)PCMU, PCMA, CN, telephone-event
    Reject when No Match CodecEnabled
    Strip Matched Expressions

    \ba=candidate:.*\b

    a=rtcp-mux

    \ba=ice-.*\b

    SIP Use New Port On Hold ResumeDisabled

    Priority Number 1:

    Priority Number 2:

    Priority Number 3:

    Priority Number 4:

    Not set
    Enable SIP StatisticsEnabled


     

  4. Click Submit to apply changes.

Configuring the B2BUA and Header Manipulation rules

This step discusses how to configure a B2BUA trunking device to the WAN side of the system for MS Teams support. Header manipulation rules are used to modify the headers required for interoperability to-and-from MS Teams and to-and-from the SIP trunking provider.

  1. Choose VoIP > SIP > B2BUA from the Configuration Menu on the left-hand side.

  2. Add a B2BUA Trunking Device for the MS Teams cloud servers and click Update. Then, scroll to the bottom and click Submit.


    Caption
    0Table
    1Configuring the First B2BUA Trunk
    3Configuring the B2BUA Trunk


    Parameter

    Example Configuration Value
    Name

    Teams1

    Arbitrary name (alphanumeric characters only)
    ModelMicrosoft Teams
    Address (IP/FQDN)sip.pstnhub.microsoft.com
    Use DNS SRVNot set for MS Teams
    Port5061
    TransportTLS
    SRTPMandatory
    Source FQDN

    sbc1.rbbn.com

    Note: This name must be identical to the name configured as the PSTN gateway.
    UsernameNot used for MS Teams
    PasswordNot used for MS Teams




    Caption
    0Table
    1Configuring the Second B2BUA Trunk
    3Configuring the Second B2BUA Trunk


    ParameterExample Configuration Value
    Name

    Teams2

    Arbitrary name (alphanumeric characters only)
    ModelMicrosoft Teams
    Address (IP/FQDN)sip2.pstnhub.microsoft.com
    Use DNS SRVNot set for MS Teams
    Port5061
    TransportTLS
    SRTPMandatory
    Source FQDN

    sbc1.rbbn.com

    (This name must be identical to the name configured as the PSTN gateway)
    UsernameNot used for MS Teams
    PasswordNot used for MS Teams




    Caption
    0Table
    1Configuring the Third B2BUA Trunk
    3Configuring the Third B2BUA Trunk


    ParameterExample Configuration Value
    Name

    Teams3

    Arbitrary name (alphanumeric characters only)
    ModelMicrosoft Teams
    Address (IP/FQDN)sip3.pstnhub.microsoft.com
    Use DNS SRVNot set for MS Teams
    Port5061
    TransportTLS
    SRTPMandatory
    Source FQDN

    sbc1.rbbn.com

    (This name must be identical to the name configured as the PSTN gateway)
    UsernameNot used for MS Teams
    PasswordNot used for MS Teams



  3. Create a routing group for the MS Teams servers with the Trunking Group Availability function.



    Caption
    0Table
    1Configuring the Routing Group
    3Configuring the Routing Group


    ParameterExample Configuration Value
    Group NameTeamsGroupNA
    StateDisplay Only
    Keep AliveEnabled
    Load BalanceOptional
    Invite FailoverEnabled
    Trust EnabledEnabled
    Trusted ListList *1sip-all.pstnhub.microsoft.com; 52.112.0.0/14; 52.120.0.0/14
    Members for GroupTeamsGroup
    Keep Alive Interval60 (default)
    Error ResponseNot Set
    From UserNot Set
    To UserNot Set
    Backoff on No ResponseEnabled
    Regular with max. IntervalEnabled0 sec (default)
    Random with max. IntervalNANA
    Failover upon Invite Responses503
    Fallback with auto keep aliveNot Selected
    Fallback IntervalEnabled60 (s) (default)

    *1 - When configuring Teams, the subnet masks 52.112.0.0/14 and 52.120.0.0/14 are automatically added to the trusted list. If manually configuring, then add sip-all.pstnhub.microsoft.com; 52.112.0.0/14; 52.120.0.0/14 to the trusted list.  For more information about Microsoft's deprecation of sip-all.pstnhub.microsoft.com, refer to https://docs.microsoft.com/en-us/microsoftteams/direct-routing-plan#microsoft-365-office-365-and-office-365-gcc-environments


  4. Choose VoIP > SIP > B2BUA from the Configuration Menu on the left-hand side. Header manipulation rules are used to modify the headers required for interoperability to-and-from MS Teams and to-and-from the SIP trunking provider.
  5. Scroll down to Actions and add the actions mentioned in the following steps, and associated HMR rules.
  6. The first Actions is “ToTeams”. This rule has an associated “Match” rule for calls going to Teams.
    1. Configure the parameters in the actions pane.
    2. Configure each Header Value one at a time and click Add before creating the next rule.
    3. Click Update and then click Submit to save the action.


      Info
      titleNote

      In the example given in the following table, the dialing code +1 is used in reference to the USA. Change it to the dialing code of the country of your choice. 


      Caption
      0Table
      1Configuring the ToTeams Action
      3Configuring the ToTeams Action


      ParameterExample Configuration Value
      Name

      ToTeams

      Arbitrary name (alphanumeric characters only)
      Send ToTrunking DeviceTeamsGroup
      PrioritizeNot used for MS Teams
      Refer to Re-INVITEEnabled
      Serial HuntingNot used for MS Team
      E.164 Conversion ruleNone
      Conversion modeAdd (default)
      Request-URI'sip:+1' + $to.uri.user + '@' + $env.target_domain + ':' + $env.target_port + ';user=phone'
      From'<sip:+1' + $from.uri.user + '@' + $env.target_src_domain + ':' + $env.target_port + ' ;user=phone>'
      To$to.dispname + '<sip:+1' + $to.uri.user + '@' + $env.target_domain + ':' + $env.target_port + ';user=phone>'
      Contact'<sip:+1' + $from.uri.user + '@' + $env.target_src_domain + ':' + $env.out_intf_port + ';transport=TLS>' + $contact.parameter



  7. The second action is FromTeams2ServerAnonymous. This rule has an associated “Match” rule for calls with “Anonymous” in the SIP URI. For example, when a Teams caller is blocking their number, the SIP From URI will have the following format:
    From: "Anonymous"sip:anonymous@anonymous.invalid:5060.
    This rule allows anonymous calls inbound from Teams to the SIP trunking provider.

    To add a new action click anywhere in the New Entry bar.

    1. Configure the parameters in the actions pane.
    2. Configure each Header Value one at a time and click Add before creating the next rule.
    3. Click Update and then click Submit to save the action.


      Caption
      0Table
      1Configuring the FromTeams2ServerAnonymous Action
      3Configuring the FromTeams2ServerAnonymous Action


      ParameterExample Configuration Value
      Name

      FromTeams2ServerAnonymous

      Arbitrary name (alphanumeric characters only)
      Send ToTrunking DeviceNone
      PrioritizeNot used for MS Teams
      Refer to Re-INVITEEnabled
      Serial HuntingNot used for MS Teams
      E.164 Conversion ruleNone
      Conversion modeAdd (default)


      HeaderExample Value
      Request-URI'sip:' + substr($request.uri.user, 2, 0) + '@' + $env.available_domain + ':' + $env.available_port
      From$from.dispname + ' <sip:' + $from.uri.user + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>'
      To$to.dispname + ' <sip:' + substr($to.uri.user, 2, 0) + '@' + $env.available_domain + ':' + $env.available_port + '>'
      Contact$from.dispname + ' <sip:' + $from.uri.user + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>' + $contact.parameter
      P-Asserted-Identity$pai?'<sip:' + substr($pai, 7, 10) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>'
      OtherPrivacy'id'




  8. The third action is “FromTeams2Server”. This rule will have an associated “Match” rule for calls outbound from Teams to the SIP Trunking provider for destination call routing. This example uses a “P-Asserted-Identity” header string which is common to many SIP trunking providers. Please verify with your trunking provider if they require these SIP headers or have other header requirements for interoperability with their SIP service.
    To add a new action click anywhere in the New Entry bar.



    1. Configure the parameters in the actions pane.

    2. Configure each Header Value one at a time and click Add before creating the next rule.

    3. Click Update and then click Submit to save the action.



      Caption
      0Table
      1Configuring the FromTeams2Server Action
      3Configuring the FromTeams2Server Action


      ParameterExample Configuration Value
      Name

      FromTeams2Server

      Arbitrary name (alphanumeric characters only)
      Send ToTrunking DeviceNone
      PrioritizeNot used for MS Teams
      Refer to Re-INVITEEnabled
      Serial HuntingNot used for MS Teams
      E.164 Conversion ruleNone
      Conversion modeAdd (default)


      HeaderExample Value
      Request-URI'sip:' + substr($request.uri.user, 2, 0) + '@' + $env.available_domain + ':' + $env.available_port
      From$from.dispname + ' <sip:' + substr($from.uri.user, 2, 0) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>'
      To$to.dispname + ' <sip:' + substr($to.uri.user, 2, 0) + '@' + $env.available_domain + ':' + $env.available_port + '>'
      Contact$from.dispname + ' <sip:' + substr($from.uri.user, 2, 0) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>' + $contact.parameter
      P-Asserted-Identity$pai?'<sip:' + substr($pai, 7, 10) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>'
      History-info$history-info?' <sip:' + replace($history-info.uri.user, '+1', '' ) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>;reason=unknown;counter=1'
      History-info$history-info#1?' <sip:' + replace($history-info#1.uri.user, '+1', '' ) + '@' + $env.out_intf_host + ':' + $env.out_intf_port + '>;reason=unknown;counter=1'



  9. Scroll down to the Match pane to configure the patterns you wish to match to the actions just created. The match function provides dial plan routing to Actions and relates to the direction the call is coming from. This could be from Teams or from the SIP trunking provider. The examples given in this section will use a dial plan of 408.555.1000-1099 to provide basic knowledge of how to apply your dial plan to the previously created Actions.
    The example uses a “Redirect” rule from Teams as “+1.”. By default, Teams will add this to the beginning of every outbound call going to the SBC for SIP trunk routing. This rule is mapped to the Action.”FromTeams2Server” will remove the +1 from the SIP message and then perform the other header modifications before forwarding the SIP message to the trunking provider. If you’ve configured Teams to not add the +1, then modify the “FromTeams2Server” Action and other header manipulation rules that reference +1 and remove the reference.
    The +1. (dot ) portion of the string matches one or more digits. This (dot) allows dialed destinations greater than 10 or 11 digits to be called. If international calling is desired, please verify that the MS Teams voice route to the SBC also includes pattern matches to accommodate international calling. 911, 411 and any other dial plans must also be considered as an SBC or MS Teams pattern match to route the call correctly.

    Info
    titleNote

    Match rules are in order of priority from top to bottom. A specific rule must be above a generic rule.


    1. The first “Match” rule is for the Teams dial plan assigned by the SIP trunking provider. In this example the DID range for this MS Teams configuration is 408.555.1000-1099.

      1. Configure the parameters in the match pane.

      2. Click Update and then click Submit to save the Match.



        Caption
        0Table
        1Configuring the Called Matches ToTeams Match
        3Configuring the Called Matches ToTeams Match


        ParameterExample Configuration Value
        DirectionRedirect
        ModeBothModes
        DefaultNot used for MS Teams
        PatternCalled
        Called PartyMatches408555.
        Calling PartyNot SetNA
        SourceAny
        ActionToTeams



    2. The second Match rule is to allow the blocked caller ID’s from Teams, which presents as “anonymous” in the SIP header. For example,
      From: "Anonymous"sip:anonymous@anonymous.invalid:5060.
      To add a new action click anywhere in the New Entry bar.



      1. Configure the parameters in the match pane.

      2. Click Update and then click Submit to save the Match.


        Caption
        0Table
        1Configuring the FromTeams2ServerAnonymous Match
        3Configuring the from Teams to Server Anonymous Match


        ParameterExample Configuration Value
        DirectionRedirect
        ModeBothModes
        DefaultNot used for MS Teams
        PatternBoth
        Called PartyMatches+1.
        Calling PartyDoes not match+1.
        SourceTeamsGroup
        ActionFromTeams2ServerAnonymous



    3. The third Match rule is to match +1. SIP messages from MS Teams to the Actions that routes the call to the configured SIP trunking provider, after the header manipulation is performed. This rule is required for normal caller-ID routing.
      To add a new action click anywhere in the New Entry bar.



      1. Configure the parameters in the match pane.

      2. Click Update and then click Submit to save the Match.



        Caption
        0Table
        1Configuring the FromTeams2Server Match
        3Configuring the From Teams to Server Match


        ParameterExample Configuration Value
        DirectionRedirect
        ModeBothModes
        DefaultNot used for MS Teams
        PatternBoth
        Called PartyMatches+1.
        Calling PartyMatches+1.
        SourceTeamsGroup
        ActionFromTeams2Server



You have now completed the 

Spacevars
0longcompany
 
Spacevars
0product2
configuration for Microsoft Teams and are ready to start testing calls.

As a final step, save the SBC’s configuration at this point or when you are finished testing.

Saving the ESBC's Configuration

This section discusses how to save the running SBC’s configuration to restore the system back to a known working configuration if required.

  1. Choose Admin > Backup/Restore from the Configuration Menu on the left-hand side. 

  2. Click Create New Config Backup. A dialog box will appear. Click OK.

     

  3. The system will create a backup file of the current running configuration. Click the file name to download the backup file to the management computer.