2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 1/155 Ribbon Documentation Center Login Changes.. Please Read.. More Info Pages /… / SBC 5k7kSWe - Wiki Articles Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX This page was moved to https://doc.rbbn.com/display/ALLDOC/MS+Teams+Solution+Guide Click in the link above if you are not automatically redirected in 10 seconds. link MS Teams Solution Guide Table of Contents Document Overview Document History Scope Non-Goals Audience Products Versions Reference Configuration Support Microsoft TEAMS Licenses for Direct Routing SBC Licensing for MS TEAMS Deployment Section A: Common SBC Configurations Configuration towards Teams TLS Configuration Configuration towards PSTN Configuration for Teams Media Bypass Enabling Remote PSX Server Section B: ERE Routing Section C: PSX Configurations Configuration towards Teams Configuration towards PSTN Call Routing Section D: Call Admission Control (CAC) for Multi-Tenant Deployment Common Configurations ERE configurations in case of CAC PSX configurations in case of CAC Section E: Configuration for Emergency Calling
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 2/155 Section F: Basic Troubleshooting Steps Document Overview This document outlines the configuration best practices for the SBC Core family (SBC 5110/5210/5400, SBC 7000, SBC SWe) when deployed with Microsoft TEAMS. The SBCs offer a choice of routing engines. Customers can choose the routing option on SBC-based deployment requirements. Single-Tenant deployments – Any of the Basic ERE, Advanced-ERE or PSX can be used for single-tenant deployments Multi-Tenant deployments – Advanced-ERE or PSX routing options required for multi-tenant deployments Note Use Basic ERE only for single-tenant deployments. A-ERE or PSX is required for any customer who is deploying or planning to deploy scalable multi-tenant TEAMS configuration. A single IPTG referred to as 'Carrier Trunk’ is used between MS TEAMS and SBC for handling traffic for all tenants configured on the SBC. Customers can configure per tenant DummyTGs if CAC enforcement for each tenant is required. This guide is laid out in the following sections: Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX#Section A: Common SBC Configurations - Captures general SBC configurations for deploying with MS TEAMS. Complete this section, followed either by ‘288366278’ or ‘288366278’ for getting functional SBC configurations. 288366278: 288366278 - Captures the SBC configurations when basic ERE or Advanced ERE is used for routing on the SBC. Skip this section if PSX routing is used. 288366278: 288366278 - Captures the PSX configurations when PSX is used for routing on the SBC. Skip this section if basic ERE or A-ERE routing is being used. 288366278: Call Admission Control (CAC) for Multi-Tenant Deployment - Captures the SBC configuration customization, when the service provider wants to implement tenant-level CAC towards MS TEAMS in a multi-tenant deployment. Skip this section if CAC is not implemented or only a single tenant is used. 288366278: 288366278 - Captures the configurations required in case of 911 emergency call. Section F: 288366278 – Captures common troubleshooting tips. References For additional information on Microsoft Teams, refer to https://docs.microsoft.com/en-in/MicrosoftTeams/Microsoft-Teams. For additional information on the Ribbon SBC, refer to https://ribboncommunications.com/.
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 3/155 Document History Version 2.0: Added missing IPSP configuration for the PSTN side while using ERE (IP Signaling Profile (IPSP) towards PSTN) Updated the Teams routing label on ERE and Ext PSX to include all the 3 sip peers for full teams redundancy purpose. (Routing Label for Teams and Figure 42 and Figure 43 IP Peer and Routing Label) Updated the PSX IPSP on the Teams side to include 'Zone level domain name in contact header'.(Figure15 IP Signaling Profile) Updated the ERE IPSP on the Teams side to include 'Zone level domain name in contact header'.(IP Signaling Profile (IPSP)) Updated the SMM rule on the Teams side to include the FQDN in the Contact header of the 200 OK to INVITE. (Outbound for Multi Tenant and Outbound for Single Tenant) E911 specific configurations(Configuration for E911). Removed the downstreamForkingSupport configuration on both Teams and PSTN trunk groups as they no longer required. Added the additional configurations which are required to play ring back tone if DSP cards/licenses are not available in the system. Scope This document provides configuration best practices for deploying Core SBCs (SBC 5110/5210/5400, SBC 7000, SBC SWe) with Microsoft® Teams. It includes configuration recommendations for available routing choices like basic ERE, Advanced ERE, and PSX on the SBC. Note these are configuration best practices and each customer may have unique needs and networks. Ribbon recommends that customers work with network design and deployment engineers to establish the network design which best meets their requirements. Non-Goals It is not the goal of this guide to provide detailed configurations that will meet the requirements of every customer. Use this guide as a starting point and build the SBC configurations in consultation with network design and deployment engineers. Audience This is a technical document intended for telecommunications engineers with the purpose of configuring both the Ribbon SBC and the third-party product. Navigating the third-party product as well as the Ribbon SBC Command Line Interface (CLI) is required. Understanding the basic concepts of TLS/TCP/UDP, IP/Routing, and SIP/SRTP is also necessary to complete the configuration and any required troubleshooting. Products Versions The sample configuration uses the following equipment and software:
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 4/155 Requirements Product Equipment Software Version Ribbon Networks Ribbon SBC 5400 BMC BIOS ConnexIP OS RibbonDB EMA SBX PSX V07.02.01-R004 V03.20.00-R000 V02.06.00 V06.02.01-R004 V07.02.01-R004 V07.02.01-R004 V07.02.01-R004 V11.02.01-R001 Third-party Equipment Microsoft Teams v.2019.7.4.9 i.ASEA.0 Teams Client 1.2.00.19260 Administration and Debugging Tools Wireshark 2.4.4 Reference Configuration The following figure illustrates the connectivity between the third-party applications and the Ribbon SBC Core.
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 5/155 High Level Architecture For Teams deployment
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 6/155 This feature allows the SBC to fail over to another site of Office 365 when a primary data center site is down. Currently, Microsoft Office 365 has the following sites. The following figure illustrates the configuration. sip.pstnhub.microsoft.com sip2.pstnhub.microsoft.com sip3.pstnhub.microsoft.com Site Failover Support For any questions regarding this document or the content herein, contact your maintenance and support provider.
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 7/155 Microsoft TEAMS Licenses for Direct Routing A Microsoft Phone System license is needed on MS Teams to enable direct routing. Refer to Microsoft documentation for Microsoft licensing requirements. SBC Licensing for MS TEAMS Deployment SBC Licensing for MS TEAMS Deployment
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 8/155 Section A: Common SBC Configurations This section contains the basic SBC configurations that need to be configured irrespective of ERE routing or PSX Routing. RTCP Configure the RTCP interval and disable send BYE Packet. SIP Domain 1. Specify the global SIP Domain name. 2. Specify your SBC's FQDN (example: abc.example.com) DSP Resource Allocation This configuration only applies if the SBC has been deployed with (hardware) DSP resources. If it has not, executing this configuration step has no negative impact. Do not attempt transcoding, so the lack of compression resources will not impact the overall SBC configuration in this document. set system media mediaRtcpControl senderReportInterval 5 commit set system media mediaRtcpControl sendBYEPacket disabled commit set global sipDomain SIP.PSTNHUB.MICROSOFT.COM set global sipDomain SIP2.PSTNHUB.MICROSOFT.COM set global sipDomain SIP3.PSTNHUB.MICROSOFT.COM set global sipDomain ABC.EXAMPLE.COM commit set system mediaProfile compression 75 tone 25 commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 9/155 Note This configuration is not required for SWe Core 7.2 release onwards. Ring Back Tone (without DSP) Ring back tones can be played on certain codecs even though DSP cards/licenses are not available. Path Check Profile Create a path check profile that attaches to the Teams side. Configuration towards Teams IP Interface Group Create an IP interface group. Note Replace "x.x.x.x" with the SBC's packet interface (pkt) IP address towards Teams (example pkt1 IP), and "y" with its prefix length. Provide ceName used during an SBC deployment. set profiles media toneCodecEntry g711u codec g711 law ULaw commit set profiles media toneAsAnnouncementProfile toneType defRing codecType g711u segmentId 20001 commit set profiles services pathCheckProfile TEAMS_OPTIONS protocol sipOptions sendInterval 20 replyTimeoutCount 1 recoveryCount 1 commit set profiles services pathCheckProfile TEAMS_OPTIONS transportPreference preference1 tls-tcp commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 10/155 SMM to Modify Options Messages Microsoft Teams requires the SBC's FQDN in the 'From:' and 'Contact:' header. In the below SMM configuration, replace: "user_input1" with SBC's fqdn, "user_input2" with sipSigPort number plus one (For example, if sipSigPort is configured as 5060 then 'user_input2' will be 5061), and "user_input3" with sipSigPort IP address configured in TEAMS_ZONE. Note The SMM commands below are created to meet the following rules: Rules 1 and 2: Modifies the "Contact" and "From" header value with the user-provided FQDN. Rule 3: Adds the "User-Agent" header field in the SIP OPTIONS request. set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 ceName IOTPTFY06 portName pkt1 set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 ipAddress x.x.x.x prefix Y set addressContext default ipInterfaceGroup LIF2 ipInterface PKT1_V4 mode inService state enabled commit set profiles signaling sipAdaptorProfile Modify_Options state enabled set profiles signaling sipAdaptorProfile Modify_Options advancedSMM disabled set profiles signaling sipAdaptorProfile Modify_Options profileType messageManipulation set profiles signaling sipAdaptorProfile Modify_Options rule 1 applyMatchHeader one set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 1 message set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 2 type header set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 2 header set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 2 header name Contact set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 2 header condition exist set profiles signaling sipAdaptorProfile Modify_Options rule 1 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 type header set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 operation regsub set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 from
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 11/155 set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 from type value set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 from value "<sip:user_input1:user_input2;transport=tls>" set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 to set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 to type header set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 to value Contact set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 regexp set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 regexp string .* set profiles signaling sipAdaptorProfile Modify_Options rule 1 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 1 type message set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 1 message set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 2 type header set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 2 header set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 2 header name From set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 2 header condition exist set profiles signaling sipAdaptorProfile Modify_Options rule 2 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 type header set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 operation regsub set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 from set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 from type value set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 from value "<sip:user_input1:user_input2;transport=tls>" set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 to set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 to type header set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 to value From set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 regexp set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 regexp string <sip:user_input3> set profiles signaling sipAdaptorProfile Modify_Options rule 2 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile Modify_Options rule 3 criterion 1 type message set profiles signaling sipAdaptorProfile Modify_Options rule 3 criterion 1 message set profiles signaling sipAdaptorProfile Modify_Options rule 3 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile Modify_Options rule 3 criterion 1 message methodTypes options set profiles signaling sipAdaptorProfile Modify_Options rule 3 criterion 1 message condition exist set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 type header set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 operation add set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 headerPosition last set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 from set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 from type value
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 12/155 Zone Note This Zone groups the set of objects used for the communication to MS Teams. Configure the domain name and attach it to the appropriate zone. IP-PEER Create Ip-peer for all three sites and attach it to the PathCheck profile. set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 from value "Ribbon SBCCore V07.02" set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 to set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 to type header set profiles signaling sipAdaptorProfile Modify_Options rule 3 action 1 to value User-Agent commit set addressContext default zone TEAMS_ZONE id 4 set addressContext default zone TEAMS_ZONE domainName customers.interopdomain.com set addressContext default zone TEAMS_ZONE messageManipulation outputAdapterProfile Modify_Options commit set addressContext default zone TEAMS_ZONE ipPeer TEAMS_PEER policy sip fqdn sip.pstnhub.microsoft.com fqdnPort 5060 set addressContext default zone TEAMS_ZONE ipPeer TEAMS1_PEER policy sip fqdn sip2.pstnhub.microsoft.com fqdnPort 5060 set addressContext default zone TEAMS_ZONE ipPeer TEAMS2_PEER policy sip fqdn sip3.pstnhub.microsoft.com fqdnPort 5060 commit set addressContext default zone TEAMS_ZONE ipPeer TEAMS_PEER pathCheck profile TEAMS_OPTIONS set addressContext default zone TEAMS_ZONE ipPeer TEAMS_PEER pathCheck profile TEAMS_OPTIONS hostName sip.pstnhub.microsoft.com hostPort commit set addressContext default zone TEAMS_ZONE ipPeer TEAMS1_PEER pathCheck profile TEAMS_OPTIONS set addressContext default zone TEAMS_ZONE ipPeer TEAMS1_PEER pathCheck profile TEAMS_OPTIONS hostName sip2.pstnhub.microsoft.com hostPor commit set addressContext default zone TEAMS_ZONE ipPeer TEAMS2_PEER pathCheck profile TEAMS_OPTIONS set addressContext default zone TEAMS_ZONE ipPeer TEAMS2_PEER pathCheck profile TEAMS_OPTIONS hostName sip3.pstnhub.microsoft.com hostPor
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 13/155 Note For TLS, the Ribbon SBC Core increments the port number of the IP-Peer by one while sending out any call. Configure a port less than the port on which the remote peer listens. This is only applicable for TLS protocol. SIP Signaling Port Set the SIP Signaling port, which is a logical address used to send and receive SIP call signaling packets and is permanently bound to a specific zone. Note The Ribbon SBC Core listens on two ports, one defined under sipSigPort for TCP & UDP and one port for TLS to receive incoming traffic. Replace "x.x.x.x" with SIP Signaling Port IP address towards Teams. DNS Group Create DNS objects for DNS resolution within a particular zone. Use the interface which has public connectivity. IP Static Route Create a default route for the destination IP to enter the network through a particular interface. commit set addressContext default zone TEAMS_ZONE id 4 sipSigPort 4 ipInterfaceGroupName LIF2 ipAddressV4 x.x.x.x portNumber 5060 transportProto set addressContext default zone TEAMS_ZONE id 4 sipSigPort 4 state enabled mode inService commit set addressContext default dnsGroup EXT_DNS set addressContext default dnsGroup EXT_DNS type ip interface LIF2 server DNS2 ipAddress 8.8.8.8 state enabled set addressContext default zone TEAMS_ZONE dnsGroup EXT_DNS commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 14/155 Note Replace "x.x.x.x" with destination IP, "Y" with the prefix length and "z.z.z.z" with the PKT1 gateway IP address. SIP Trunk Group Create a SIP Trunk Group for the Teams side. It is mandatory to configure Trunk Group names using capital letters. Configure ingressIpPrefix with the value "52.112.0.0 14" only on the SBC Inbound TG. Do not provision any ingressIpPrefix for SBC Outbound TGs since these are used only as Egress TGs. The Teams SIP Proxy server does not support the Update method and requires a Re-Invite. The Teams SIP Proxy Server only supports a new RFC for call hold, which is a=inactive. SMM Profiles towards Teams Outbound for Multi Tenant The SMM commands below serve the following purpose: set addressContext default staticRoute X.X.X.X Y Z.Z.Z.Z LIF2 PKT1_V4 preference 100 commit set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG media mediaIpInterfaceGroupName LIF2 set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG signaling methods update reject set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG signaling rel100Support enabled set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG signaling relayNonInviteRequest enabled set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG signaling honorMaddrParam enabled set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG services dnsSupportType a-only set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG media sdpAttributesSelectiveRelay enabled set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG ingressIpPrefix 52.0.0.0 8 set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG mode inService state enabled commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 15/155 Rule 1: Stores the "From" header hostname and stores it in a variable (var1). Rule 2 and 3: Replaces the current value of Contact header and PPI with variable (var1). Rule 4-7: Used mainly for handling transfer scenario in a multi-tenant deployment. It populates the correct tenant information from the "Ribbon" parameter and adds it in "Contact" and "PPI" headers. Rule 8 -10: Addresses the addition of lifetime parameter in the crypto line for all the requests and responses. Rule 11: Adds the USER-AGENT header to all the Request messages. Rule 12: Adds the SERVER header to all the Response messages. Rule 13: Adds transport=tls in the 200 OK response to the Invite with replaces in a CallQ scenario. Rule 14-15: Adds FQDN to the contact header of the 200 OK response to the Invite with replaces. Note Attach this profile to each outbound TG. set profiles signaling sipAdaptorProfile HeaderModifications state enabled set profiles signaling sipAdaptorProfile HeaderModifications advancedSMM disabled set profiles signaling sipAdaptorProfile HeaderModifications profileType messageManipulation set profiles signaling sipAdaptorProfile HeaderModifications rule 1 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 message messageTypes requestAll set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header name From set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 operation store set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 headerInfo fieldValue set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from type header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from value From set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 type variable
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 16/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 operation regpredel set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 to set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 regexp string @.*> set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 2 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 operation regdel set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 to set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 regexp string "(;user=phone>)|>" set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 3 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 operation append set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 from set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 from value : set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 to set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 4 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 2 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 message messageTypes requestAll set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 headerInfo fieldValue set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 17/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to value Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 regexp string @.*: set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 3 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header name P-Preferred-Identity set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 headerInfo fieldValue set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to value P-Preferred-Identity set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 regexp string @.*: set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header name Request-Line
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 18/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter name Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 operation store set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 operation delete set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header name From set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable variableID var2
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 19/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable variableID var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header name P-Preferred-Identity
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 20/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable variableID var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 messageBody condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 operation regstore set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from messageBodyValue all set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp string "a=crypto.*?\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 21/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable variableID var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from value "|2^31\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp string "(\r\n)|(\|2\^31\r\n)" set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable variableID var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to messageBodyValue all set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp string "a=crypto.*?\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 11 applyMatchHeader all set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 message messageTypes requestAll set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 type header
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 22/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 operation add set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 headerPosition last set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from value "Ribbon SBCCore V07.02" set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to value USER-AGENT set profiles signaling sipAdaptorProfile HeaderModifications rule 12 applyMatchHeader all set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 operation add set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 headerPosition last set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from value "Ribbon SBCCore V07.02" set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to value SERVER set profiles signaling sipAdaptorProfile HeaderModifications rule 13 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message messageTypes response set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message statusCode 200 set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 headerInfo headerValue set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from value "5061;transport=tls>"
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 23/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to value Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp string "5061\>" set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 14 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header name To set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 operation store set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from type token set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 15 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from type variable
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 24/155 Outbound for Single Tenant Note Configurations in this section are applicable only to single-tenant deployments using Basic ERE. Skip this section if you are using Advanced ERE or PSX as a routing engine. The SMM rules below are created to serve the following purpose: Rule 1-3: Adding tenant FQDN (in this case A.abc.example.com) to "From", "Contact" and "PPI" header hostname and store it in a variable (var1). Rule 4-7: Used mainly for handling transfer scenario in a multi-tenant deployment. It populates the correct tenant information from "Ribbon" parameter and adds it in "Contact" and "PPI" headers. Rule 8 -10: Handles the addition of the lifetime parameter in the crypto line for all the requests and responses. Rule 11: Adds the USER-AGENT header to all the Request messages. Rule 12: Adds the SERVER header to all the Response messages. Rule 13: Adds transport=tls in the 200 OK response to the Invite with replaces in a CallQ scenario. Rule 14-15: Adds FQDN to the contact header of the 200 OK response to the Invite with replaces. set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to tokenValue urihostname commit set profiles signaling sipAdaptorProfile HeaderModifications state enabled set profiles signaling sipAdaptorProfile HeaderModifications advancedSMM disabled set profiles signaling sipAdaptorProfile HeaderModifications profileType messageManipulation set profiles signaling sipAdaptorProfile HeaderModifications rule 1 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header name From set profiles signaling sipAdaptorProfile HeaderModifications rule 1 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 25/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 from value A.abc.example.com set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 1 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 2 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header name P-Preferred-Identity set profiles signaling sipAdaptorProfile HeaderModifications rule 2 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 from value A.abc.example.com set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 2 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 3 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 from value A.abc.example.com set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 3 action 1 to tokenValue urihostname
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 26/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header name Request-Line set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 criterion 3 parameter name Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 operation store set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 from value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 1 to variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 operation delete set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 paramType uri set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 from value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to type parameter set profiles signaling sipAdaptorProfile HeaderModifications rule 4 action 2 to value Ribbon set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 1 message condition exist
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 27/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header name From set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 5 criterion 3 variable variableID var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 5 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 6 criterion 3 variable variableID var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 6 action 1 to tokenValue urihostname
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 28/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header name P-Preferred-Identity set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 7 criterion 3 variable variableID var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 from variableValue var2 set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 7 action 1 to tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 criterion 2 messageBody condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 operation regstore set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 from messageBodyValue all set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 to variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 29/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp string "a=crypto.*?\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 8 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 9 criterion 2 variable variableID var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 from value "|2^31\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp string "(\r\n)|(\|2\^31\r\n)" set profiles signaling sipAdaptorProfile HeaderModifications rule 9 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message messageTypes all set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 1 message condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 10 criterion 2 variable variableID var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 from variableValue var4 set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to type messageBody set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 to messageBodyValue all
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 30/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp string "a=crypto.*?\r\n" set profiles signaling sipAdaptorProfile HeaderModifications rule 10 action 1 regexp matchInstance one set profiles signaling sipAdaptorProfile HeaderModifications rule 11 applyMatchHeader all set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 11 criterion 1 message messageTypes requestAll set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 operation add set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 headerPosition last set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 from value "Ribbon SBCCore V07.02" set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 11 action 1 to value USER-AGENT set profiles signaling sipAdaptorProfile HeaderModifications rule 12 applyMatchHeader all set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 12 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 operation add set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 headerPosition last set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 from value "Ribbon SBCCore V07.02" set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 12 action 1 to value SERVER set profiles signaling sipAdaptorProfile HeaderModifications rule 13 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message messageTypes response set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 1 message statusCode 200 set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header name Contact
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 31/155 set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 13 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 operation regsub set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 headerInfo headerValue set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from type value set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 from value "5061;transport=tls>" set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to type header set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 to value Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp string "5061\>" set profiles signaling sipAdaptorProfile HeaderModifications rule 13 action 1 regexp matchInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 14 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 type header set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header name To set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 14 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 operation store set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from type token set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 from tokenValue urihostname set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 14 action 1 to variableScopeValue local set profiles signaling sipAdaptorProfile HeaderModifications rule 15 applyMatchHeader one set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 type message set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 message set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 1 message messageTypes responseAll set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 type header
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 32/155 Inbound Profile The SMM rules below are created to serve the following purpose: Rule 1: Stores a urihostname value of "To" header and stores it in a variable. Rule 2: Creates a dummy parameter in the "refer-to" header with name "Ribbon" and stores the variable. This is useful for a call transfer scenario in multi-tenant deployment. Rule 3: Makes the Max-Forward value 0 so that the SBC responds back with 200 OK to the OPTIONS. Note Attach this profile to each outbound TGs. set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header name Contact set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header condition exist set profiles signaling sipAdaptorProfile HeaderModifications rule 15 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 type token set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 operation modify set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from type variable set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 from variableValue var1 set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to type token set profiles signaling sipAdaptorProfile HeaderModifications rule 15 action 1 to tokenValue urihostname commit set profiles signaling sipAdaptorProfile REFER state enabled set profiles signaling sipAdaptorProfile REFER advancedSMM disabled set profiles signaling sipAdaptorProfile REFER profileType messageManipulation set profiles signaling sipAdaptorProfile REFER rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile REFER rule 1 criterion 1 message set profiles signaling sipAdaptorProfile REFER rule 1 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile REFER rule 1 criterion 1 message methodTypes refer set profiles signaling sipAdaptorProfile REFER rule 1 criterion 1 message condition exist set profiles signaling sipAdaptorProfile REFER rule 1 criterion 2 type header
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 33/155 set profiles signaling sipAdaptorProfile REFER rule 1 criterion 2 header set profiles signaling sipAdaptorProfile REFER rule 1 criterion 2 header name To set profiles signaling sipAdaptorProfile REFER rule 1 criterion 2 header condition exist set profiles signaling sipAdaptorProfile REFER rule 1 action 1 type token set profiles signaling sipAdaptorProfile REFER rule 1 action 1 operation store set profiles signaling sipAdaptorProfile REFER rule 1 action 1 from set profiles signaling sipAdaptorProfile REFER rule 1 action 1 from type token set profiles signaling sipAdaptorProfile REFER rule 1 action 1 from tokenValue urihostname set profiles signaling sipAdaptorProfile REFER rule 1 action 1 to set profiles signaling sipAdaptorProfile REFER rule 1 action 1 to type variable set profiles signaling sipAdaptorProfile REFER rule 1 action 1 to variableValue var1 set profiles signaling sipAdaptorProfile REFER rule 2 criterion 1 type message set profiles signaling sipAdaptorProfile REFER rule 2 criterion 1 message set profiles signaling sipAdaptorProfile REFER rule 2 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile REFER rule 2 criterion 1 message methodTypes refer set profiles signaling sipAdaptorProfile REFER rule 2 criterion 1 message condition exist set profiles signaling sipAdaptorProfile REFER rule 2 criterion 2 type header set profiles signaling sipAdaptorProfile REFER rule 2 criterion 2 header set profiles signaling sipAdaptorProfile REFER rule 2 criterion 2 header name Refer-To set profiles signaling sipAdaptorProfile REFER rule 2 criterion 2 header condition exist set profiles signaling sipAdaptorProfile REFER rule 2 action 1 type parameter set profiles signaling sipAdaptorProfile REFER rule 2 action 1 operation add set profiles signaling sipAdaptorProfile REFER rule 2 action 1 paramType uri set profiles signaling sipAdaptorProfile REFER rule 2 action 1 from set profiles signaling sipAdaptorProfile REFER rule 2 action 1 from type variable set profiles signaling sipAdaptorProfile REFER rule 2 action 1 from variableValue var1 set profiles signaling sipAdaptorProfile REFER rule 2 action 1 to set profiles signaling sipAdaptorProfile REFER rule 2 action 1 to type parameter set profiles signaling sipAdaptorProfile REFER rule 2 action 1 to value Ribbon set profiles signaling sipAdaptorProfile REFER rule 3 applyMatchHeader one set profiles signaling sipAdaptorProfile REFER rule 3 criterion 1 type message set profiles signaling sipAdaptorProfile REFER rule 3 criterion 1 message set profiles signaling sipAdaptorProfile REFER rule 3 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile REFER rule 3 criterion 1 message methodTypes options set profiles signaling sipAdaptorProfile REFER rule 3 criterion 2 type header set profiles signaling sipAdaptorProfile REFER rule 3 criterion 2 header set profiles signaling sipAdaptorProfile REFER rule 3 criterion 2 header name Max-Forwards
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 34/155 Attaching SMM profiles TLS Configuration Generate a CSR with OpenSSL Note In this example, the certificate is generated with the below command using a ".cer" extension; however, the ".der" extension is also acceptable. openssl x509 -outform der -in Baltimore_cert.pem -out Baltimore_cert.cer set profiles signaling sipAdaptorProfile REFER rule 3 criterion 2 header condition exist set profiles signaling sipAdaptorProfile REFER rule 3 criterion 2 header hdrInstance all set profiles signaling sipAdaptorProfile REFER rule 3 action 1 type header set profiles signaling sipAdaptorProfile REFER rule 3 action 1 operation modify set profiles signaling sipAdaptorProfile REFER rule 3 action 1 headerInfo headerValue set profiles signaling sipAdaptorProfile REFER rule 3 action 1 from set profiles signaling sipAdaptorProfile REFER rule 3 action 1 from type value set profiles signaling sipAdaptorProfile REFER rule 3 action 1 from value 0 set profiles signaling sipAdaptorProfile REFER rule 3 action 1 to set profiles signaling sipAdaptorProfile REFER rule 3 action 1 to type header set profiles signaling sipAdaptorProfile REFER rule 3 action 1 to value Max-Forwards commit set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG signaling messageManipulation inputAdapterProfile REFER outputAdapterPr # To create a Certificate Signing Request (CSR) and key file for a Subject Alternative Name (SAN) certificate with multiple subject alter Create an OpenSSL configuration file (text file) on the local computer by editing the fields to the company requirements. Note 1: In the example used in this article the configuration file is req.conf.
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 35/155 Note 2: req_extensions will put the subject alternative names in a CSR, whereas x509_extensions would be used when creating an actual cer [req] distinguished_name = req_distinguished_name req_extensions = v3_req prompt = no [req_distinguished_name] C = US ST = VA L = SomeCity O = MyCompany OU = MyDivision CN = www.company.com [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] DNS.1 = www.company.com DNS.2 = company.com DNS.3 = www.company.net DNS.4 = company.net Make sure there are no whitespaces at the end of the lines. #Run the following commands to create the Certificate Signing Request (CSR) and a new Key file: openssl req -new -out company_san.csr -newkey rsa:2048 -nodes -sha256 -keyout company_san.key.temp -config req.conf #Run the following command to verify the Certificate Signing Request: openssl req -text -noout -verify -in company_san.csr # After receiving the CSR with above information, provide it to CA (Certificate Authority). You will then receive the proper CA signed ce # By default, you should receive two or more certificate from CA (depanding upon your CA). One is the SBC certificate, and other is CA's # Upload the certificates to the SBC at /opt/sonus/external and convert them into SBC-readable format, i.e. SBC certificate is in .pem or
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 36/155 Generate Required Certificates #Converting .crt to .pem USING OPENSSL for SBC certificate. openssl x509 -in sbc_cert.crt -out sbc_cert.der -outform DER openssl x509 -in sbc_cert.der -inform DER -out sbc_cert.pem -outform PEM #After generating sbc_cert.pem file, convert it to .p12 format using below command and the location of the certificate key. openssl pkcs12 -export -out sbc1_cert.p12 -in sbc_cert.pem -inkey /opt/sonus/company_san.key.temp #CONVERTING CRT to CER USING OPENSSL for CA's root and intermediate certificate. openssl x509 -in root_cert.crt -out root_cert.cer -outform DER ## Use Baltimore's Root Certificate which is downloadable from the below link. It is present in .pem format. Convert it to .cer format us ### http://certificate.fyicenter.com/319_Root_CA_Baltimore_CyberTrust_Root_CyberTrust_Baltimore_IE.html #CONVERTING PEM to CER USING OPENSSL openssl x509 -outform der -in Baltimore_cert.pem -out Baltimore_cert.cer After converting all these certificates upload them on SBC at /opt/sonus/external location. #Create Crypto Suite Profile. set profiles security cryptoSuiteProfile CRYPT_PROF entry 1 cryptoSuite AES-CM-128-HMAC-SHA1-80 #Import Public CA Root Certificate into database. set system security pki certificate CA_ROOT_CERT type remote fileName root_cert.cer state enabled #Import Baltimore Certificate into database. set system security pki certificate BALTIMORE_CERT type remote fileName Baltimore_cert.cer state enabled #Import Public CA Certified SBC Server Certificate into database set system security pki certificate SBC_CERT filename sbc1_cert.p12 passPhrase <Password defined during CSR generation> state enabled typ
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 37/155 Attach TLS Profile to SIP Signaling Port There are a few areas that result in the TLS negotiation issue. One area involves assigning the incorrect port. Ensure the following is accomplished: MS Teams listens on port number 5061 (default setting). Configure port number 5060 on Teams IP-Peer as Ribbon SBC Core increments the port by 1 when transport protocol is TLS. For tenant's SBC configuration on Teams, use the same port number that is configured under the SBC sipSigPort. Configuration towards PSTN IP Interface Group Create an IP interface group. Note Replace "x.x.x.x" with the SBC's packet interface (pkt) IP address towards PSTN (example pkt0 IP), and "y" with its prefix length. Provide ceName used during SBC deployment. #Create TLS Profile set profiles security tlsProfile TLS_PROF clientCertName SBC_CERT serverCertName SBC_CERT cipherSuite1 tls_ecdhe_rsa_with_aes_256_cbc_sha set profiles security tlsProfile TLS_PROF v1_1 enable set profiles security tlsProfile TLS_PROF v1_0 disable set profiles security tlsProfile TLS_PROF v1_2 enable commit set addressContext default zone Teams_ZONE sipSigPort 4 state disabled mode outOfService commit set addressContext default zone Teams_ZONE sipSigPort 4 tlsProfileName TLS_PROF commit set addressContext default zone Teams_ZONE sipSigPort 4 state enabled mode inService commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 38/155 Zone Create a Zone that groups the set of objects that are used for the communication to PSTN. SIP Signaling Port Create a SIP Signaling port, which is the logical address permanently bound to a specific zone, to send and receive SIP call signaling packets. Note Replace "x.x.x.x" with the SBC's pkt0 IP address. IP Static Route Create a default route for the destination IP to come inside the network through a particular interface. Note Replace "x.x.x.x" with destination IP, "Y" with the prefix length and "z.z.z.z" with the PKT0 gateway IP address. set addressContext default ipInterfaceGroup LIF1 ipInterface PKT1_V4 ceName IOTPTFY06 portName pkt0 set addressContext default ipInterfaceGroup LIF1 ipInterface PKT1_V4 ipAddress x.x.x.x prefix Y set addressContext default ipInterfaceGroup LIF1 ipInterface PKT1_V4 mode inService state enabled commit set addressContext default zone PSTN_ZONE id 2 commit set addressContext default zone PSTN_ZONE id 2 sipSigPort 1 ipInterfaceGroupName LIF1 ipAddressV4 x.x.x.x portNumber 5060 transportProtoc set addressContext default zone PSTN_ZONE id 2 sipSigPort 1 mode inService state enabled commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 39/155 SIP Trunk Group Create a SIP Trunk Group towards the PSTN side. For ingressIpPrefix, replace X.X.X.X with the IP address that you want to allow from the PSTN side. It is mandatory to configure Trunk Group names using capital letters. SMM Profile towards PSTN The SMM rule is created to serve the following purpose: Rule 1: Looks for the Gr parameter in the "Contact" header. The SMM removes the parameter if present. Use Case In case of "Anonymous calling", the SBC receives the "Contact" header with "Gr" parameter, due to which the SBC transparently passes the "Contact" header to the Egress side (the Teams side), which may result in a call failure. set addressContext default staticRoute X.X.X.X Y Z.Z.Z.Z LIF1 PKT0_V4 preference 100 commit set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG media mediaIpInterfaceGroupName LIF1 set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling methods notify allow set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling rel100Support enabled set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling relayNonInviteRequest enabled set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling honorMaddrParam enabled set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG services dnsSupportType a-only set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG ingressIpPrefix X.X.X.X X set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG mode inService state enabled commit set profiles signaling sipAdaptorProfile REMOVEGR state enabled set profiles signaling sipAdaptorProfile REMOVEGR advancedSMM disabled
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 40/155 Attaching SMM profiles Configuration for Teams Media Bypass To support Media Bypass on Teams, the SBC must support ice and rtcp-mux. Note Enable this parameter across all TEAMs TGs. set profiles signaling sipAdaptorProfile REMOVEGR profileType messageManipulation set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 1 type message set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 1 message set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 1 message messageTypes request set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 1 message methodTypes invite set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 1 message condition exist set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 2 type header set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 2 header set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 2 header name Contact set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 2 header condition exist set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 3 type parameter set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 3 parameter set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 3 parameter condition exist set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 3 parameter paramType uri set profiles signaling sipAdaptorProfile REMOVEGR rule 1 criterion 3 parameter name gr set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 type parameter set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 operation delete set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 paramType uri set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 to set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 to type parameter set profiles signaling sipAdaptorProfile REMOVEGR rule 1 action 1 to value gr set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling messageManipulation inputAdapterProfile REMOVEGR commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 41/155 Enabling ICE Support Enabling Remote PSX Server The following command disables the local PSX server and enables the remote PSX server. Skip this step if basic ERE or Advanced ERE is used for call routing. Section B: ERE Routing This section provides the configurations that are needed when basic ERE or Advanced ERE is used for routing. Skip this section if an external PSX is used for routing. LRBT Profile 1. Create a Local Ringback Tone (LRBT) profile that is attached to the Teams side as well as PSTN sides. 2. Enable Dynamic LRBT. set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG services natTraversal iceSupport iceWebrtc commit set system policyServer localServer "PSX_LOCAL_SERVER" state "disabled" mode "outOfService" commit set system policyServer remoteServer "RBBNMSPSX" ipAddress "172.16.106.149" state "enabled" mode "active" commit set profiles media toneAndAnnouncementProfile LRBT_PROF set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone signalingTonePackageState enable set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone precedence lower set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone makeInbandToneAvailable enable set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone flags useThisLrbtForEgress enable set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone flags useThisLrbtForIngress enable
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 42/155 Configure the following only if DSP cards/license are not available. set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone flags announcementBasedTones enable Codec Entry Create a Codec Entry with the supported codec and packet size of 20. Note Since Teams supports comfort noise, use G711SS-DEFAULT in the Packet Service Profile. Don't use the Silence Suppression codec if RBT needs to be played and there are no DSP cards/license. Use normal G711U instead. Element Routing Priority Create Element Routing Priority, by assigning highest priority to the 'Entity Type' Trunk Group for all the required Call Types. set profiles media toneAndAnnouncementProfile LRBT_PROF localRingBackTone flags dynamicLRBT enable commit set profiles media codecEntry G711SS-DEFAULT dtmf relay rfc2833 set profiles media codecEntry G711SS-DEFAULT packetSize 20 commit set profiles callRouting elementRoutingPriority TEAMS entry _private 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry nationalOperator 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry localOperator 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry nationalType 1 entityType trunkGroup set profiles callRouting elementRoutingPriority TEAMS entry nationalType 2 entityType none set profiles callRouting elementRoutingPriority TEAMS entry internationalType 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry internationalOperator 1 entityType none
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 43/155 DM/PM Criteria Configurations in this section are applicable to only Advanced ERE deployments. Skip this section if you are using single-tenant deployment using basic ERE. Create DM/PM Criteria based on the tenant's number prefix. In the below example, the "TEAMS_TENANT_A" profile is created to match the called number "2414445". set profiles callRouting elementRoutingPriority TEAMS entry longDistanceOperator 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry ipVpnService 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry test 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry transit 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry otherCarrierChosen 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry carrierCutThrough 1 entityType none set profiles callRouting elementRoutingPriority TEAMS entry userName 1 entityType trunkGroup set profiles callRouting elementRoutingPriority TEAMS entry userName 2 entityType none set profiles callRouting elementRoutingPriority TEAMS entry mobile 1 entityType none commit set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A criteriaType digit set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitType calledNumber set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A parameterPresenceCheck exists set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria egressFlag value send set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria egressFlag operation ignore set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria digitMatch value startDigitPosition 0 set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria digitMatch value numberOfDigits 7 set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria digitMatch value matchValue 2414445 set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria digitMatch operation equals set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria natureOfAddress value 950 set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria natureOfAddress operation ignore set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria numberingPlanIndicator value data set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria numberingPlanIndicator operation ignore set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria numberLength value 0 set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria numberLength operation ignore set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria presentationMatch value none set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria presentationMatch operation ignore
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 44/155 Note Repeat this criterion for all prefix types. DM/PM Rule Configurations in this section are applicable to only Advanced ERE deployments. Skip this section if you are using single-tenant deployment using basic ERE. Create DM/PM rule, and attach the Criteria created under 288366278. If the value matches, SBC will put the tenant's FQDN in the "From" header. "A.abc.example.com" in this case. set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria screeningMatch value none set profiles digitParameterHandling dmPmCriteria TEAMS_TENET_A digitCriteria screeningMatch operation ignore commit set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 criteria TEAMS_TENET_A set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 ruleType uri set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation uriType callingUri set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation uriParameterManipulation userParameter set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation uriParameterManipulation scheme none set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation uriParameterManipulation username none set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation uriParameterManipulation presentation n set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation startCharacterPosi set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation numberOfCharacters set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation userinfoLength noI set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation replacement type c set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation replacement charac set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation replacement startC set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation replacement number set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation userInfoManipulation replacement value set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation portNumber noChang set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation startCharacterPosi set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation numberOfCharacters set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation replacement type c
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 45/155 Note Repeat this rule for all required tenants by increasing the subRule id. Packet Service Profile (PSP) Create a Packet Service Profile (PSP) for the Teams side. The PSP is specified within the SIP trunk group configuration. Media Bypass - RTCP-Mux Configuration set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation replacement charac set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation replacement startC set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation replacement number set profiles digitParameterHandling dmPmRule TEAMS_TENET_A_MOD subRule 0 uriParameterManipulation hostPortManipulation replacement value commit set profiles media packetServiceProfile TEAMS_PSP set profiles media packetServiceProfile TEAMS_PSP codec codecEntry1 G711SS-DEFAULT set profiles media packetServiceProfile TEAMS_PSP rtcpOptions rtcp enable set profiles media packetServiceProfile TEAMS_PSP rtcpOptions terminationForPassthrough enable set profiles media packetServiceProfile TEAMS_PSP preferredRtpPayloadTypeForDtmfRelay 101 set profiles media packetServiceProfile TEAMS_PSP silenceInsertionDescriptor g711SidRtpPayloadType 13 heartbeat enable set profiles media packetServiceProfile TEAMS_PSP secureRtpRtcp cryptoSuiteProfile DEFAULT set profiles media packetServiceProfile TEAMS_PSP secureRtpRtcp flags enableSrtp enable set profiles media packetServiceProfile TEAMS_PSP secureRtpRtcp flags allowFallback enable commit set profiles media packetServiceProfile TEAMS_PSP rtcpOptions rtcp enable commit set profiles media packetServiceProfile TEAMS_PSP rtcpOptions rtcpMux enable commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 46/155 IP Signaling Profile (IPSP) Create an IP signaling profile for the Teams side. The IPSP is specified within the SIP trunk group configuration. SIP Trunk Group towards Teams Configure the SIP Trunk Group with additional configurations like LRBT,ERP, 288366278, PSP, IPSP created in the previous steps. set profiles signaling ipSignalingProfile TEAMS_IPSP ipProtocolType sipOnly set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags includeReasonHeader enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags includeTransportTypeInContactHeader enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags routeUsingRecvdFqdn enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags sendPtimeInSdp enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags sendRtcpPortInSdp enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags storePChargingVector enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags publishIPInHoldSDP enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes relayFlags statusCode4xx6xx enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags minimizeRelayingOfMediaChangesFromOtherCallLegAll enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes flags relayDataPathModeChangeFromOtherCallLeg enable set profiles signaling ipSignalingProfile TEAMS_IPSP commonIpAttributes optionTagInRequireHeader suppressReplaceTag enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes numberGlobalizationProfile DEFAULT_IP set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes flags disable2806Compliance enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes domainName useIpSignalingPeerDomainInRequestUri enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes domainName useSipDomainInPAIHeader enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes domainName useSipDomainNameInFromField enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes domainName useZoneLevelDomainNameInContact enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes privacy transparency disable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes privacy privacyInformation pPreferredId set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes privacy flags includePrivacy enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes privacy flags privacyRequiredByProxy disable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes privacy flags msLyncPrivacySupport enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes redirect flags forceRequeryForRedirection enable set profiles signaling ipSignalingProfile TEAMS_IPSP egressIpAttributes transport type1 tlsOverTcp set profiles signaling ipSignalingProfile TEAMS_IPSP ingressIpAttributes flags sendSdpIn200OkIf18xReliable enable commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 47/155 It is mandatory to configure Trunk Group names using capital letters. Skip configuring "digitParameterHandling egressDmPmRule" below in the case of Single Tenant deployment using basic ERE. It is applicable only for A-ERE routing option. Routing Label for Teams IP-peers are defined under 288366278. set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG mode outOfService state disabled set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy carrier 0000 set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy country 1 set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy localizationVariant northAmerica set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy tgIPVersionPreference both-ipv4-and-ipv6 set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy preferredIdentity disable set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy digitParameterHandling numberingPlan NANP_ACCESS set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy callRouting elementRoutingPriority TEAMS set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy media packetServiceProfile TEAMS_PSP set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy media toneAndAnnouncementProfile LRBT_PROF set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy services classOfService DEFAULT_IP set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy signaling ipSignalingProfile TEAMS_IPSP set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy featureControlProfile DEFAULT_IP set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy digitParameterHandling egressDmPmRule TEAMS_TENET_A_MOD set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG policy sipDomain SIP.PSTNHUB.MICROSOFT.COM set addressContext default zone TEAMS_ZONE sipTrunkGroup TEAMS_TG mode inService state enabled commit set global callRouting routingLabel TEAMS_RL overflowNumber "" set global callRouting routingLabel TEAMS_RL overflowNOA none set global callRouting routingLabel TEAMS_RL overflowNPI none set global callRouting routingLabel TEAMS_RL routePrioritizationType sequence set global callRouting routingLabel TEAMS_RL action routes set global callRouting routingLabel TEAMS_RL numRoutesPerCall 10
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 48/155 Packet Service Profile towards PSTN Create a packet service profile for PSTN and attach it to the PSTN Trunk Group. set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 routeType trunkGroup set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 trunkGroup TEAMS_TG set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 ipPeer TEAMS1_IPP set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 proportion 0 set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 cost 1000000 set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 inService inService set global callRouting routingLabel TEAMS_RL routingLabelRoute 1 testing normal set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 routeType trunkGroup set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 trunkGroup TEAMS_TG set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 ipPeer TEAMS2_IPP set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 proportion 0 set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 cost 1000000 set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 inService inService set global callRouting routingLabel TEAMS_RL routingLabelRoute 2 testing normal set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 routeType trunkGroup set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 trunkGroup TEAMS_TG set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 ipPeer TEAMS3_IPP set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 proportion 0 set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 cost 1000000 set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 inService inService set global callRouting routingLabel TEAMS_RL routingLabelRoute 3 testing normal commit set profiles media packetServiceProfile PSTN_PSP rtcpOptions rtcp disable set profiles media packetServiceProfile PSTN_PSP peerAbsenceAction none set profiles media packetServiceProfile PSTN_PSP silenceInsertionDescriptor g711SidRtpPayloadType 13 set profiles media packetServiceProfile PSTN_PSP silenceInsertionDescriptor heartbeat enable set profiles media packetServiceProfile PSTN_PSP aal1PayloadSize 47 set profiles media packetServiceProfile PSTN_PSP codec codecEntry1 G711SS-DEFAULT set profiles media packetServiceProfile PSTN_PSP packetToPacketControl transcode conditional set profiles media packetServiceProfile PSTN_PSP packetToPacketControl codecsAllowedForTranscoding thisLeg ""
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 49/155 IP Signaling Profile (IPSP) towards PSTN Create an IP signaling profile for the Teams side. The IPSP is specified within the SIP trunk group configuration. SIP Trunk Group towards PSTN Configure the SIP Trunk Group with additional configurations like LRBT, ERP, 288366278, PSP, IPSP created in the previous steps. It is mandatory to configure Trunk Group names using capital letters. set profiles media packetServiceProfile PSTN_PSP packetToPacketControl codecsAllowedForTranscoding otherLeg "" set profiles media packetServiceProfile PSTN_PSP flags digitDetectSendEnabled disable set profiles media packetServiceProfile PSTN_PSP flags useDirectMedia disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags allowFallback disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags enableSrtp disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags resetROCOnKeyChange disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags resetEncDecROCOnDecKeyChange disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags updateCryptoKeysOnModify disable set profiles media packetServiceProfile PSTN_PSP secureRtpRtcp flags allowPassthru disable set profiles media packetServiceProfile PSTN_PSP preferredRtpPayloadTypeForDtmfRelay 101 set profiles media packetServiceProfile PSTN_PSP honorRemotePrecedence disable set profiles media packetServiceProfile PSTN_PSP sendRoutePSPPrecedence disable commit set profiles signaling ipSignalingProfile PSTN_IPSP ipProtocolType sipOnly set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags includeReasonHeader enable set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags includeTransportTypeInContactHeader enable set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags minimizeRelayingOfMediaChangesFromOtherCallLegAll enable set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags relayDataPathModeChangeFromOtherCallLeg enable set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags sendPtimeInSdp enable set profiles signaling ipSignalingProfile PSTN_IPSP commonIpAttributes flags lockDownPreferredCodec enable set profiles signaling ipSignalingProfile PSTN_IPSP egressIpAttributes flags disable2806Compliance enable commit
2/26/23, 11:06 PM Ribbon Configuration With Microsoft Teams for Carrier Trunk and CAC - ERE and PSX - Interoperability Testing Documentation - Ribbon Documentation Center https://doc.rbbn.com/display/IOT/Ribbon+Configuration+With+Microsoft+Teams+for+Carrier+Trunk+and+CAC+-+ERE+and+PSX 50/155 IP-PEER towards PSTN Create an ip-peer towards PSTN. Routing Label towards PSTN Create a Routing Label with a single Routing Label Route to bind the PSTN Trunk Group with the PSTN IP Peer. set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG mode outOfService state disabled set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy carrier 0000 set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy country 1 set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy localizationVariant northAmerica set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy tgIPVersionPreference both-ipv4-and-ipv6 set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy digitParameterHandling numberingPlan NANP_ACCESS set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy callRouting elementRoutingPriority TEAMS set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy media packetServiceProfile PSTN_PSP set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy media toneAndAnnouncementProfile LRBT_PROF set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy services classOfService DEFAULT_IP set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy signaling ipSignalingProfile PSTN_IPSP set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG policy featureControlProfile DEFAULT_IP set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG mode inService state enabled commit set addressContext default zone PSTN_ZONE ipPeer PSTN_IPP ipAddress x.x.x.x ipPort yyyy commit set global callRouting routingLabel PSTN_RL routingLabelRoute 1 trunkGroup PSTN_TG ipPeer PSTN_IPP inService inService commit