Ribbon Documentation Portal will be unavailable Thursday February 2nd 2023 between 2:00 PM EST ~ 12:00 PM. More Info
Page tree
Skip to end of metadata
Go to start of metadata

In this article:

Tip

The configuration steps described in this article are examples.

Ribbon recommends referring to the SBC and PSX product documentation for detailed information on the commands, parameters, and flags used in the configuration examples of this guide.

Process the steps in the same order as described in this article.

This article describes configuring the SBC towards PSTN for deployment with MS Teams.

Configure IP Interface Group

Create an IP interface group.

Tip

In the example below:

  • Replace "x.x.x.x" with the SBC's packet interface (pkt) IP address towards PSTN (for example, pkt0 IP address), and "y" with its prefix length.
  • Provide the ceName used during SBC deployment.
% 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

Configure Zone

Create a Zone to group the set of objects to communicate to the PSTN.

% set addressContext default zone PSTN_ZONE id 2
% commit 

Configure 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.

Tip

Replace "x.x.x.x" with the SBC's pkt0 IP address.

% set addressContext default zone PSTN_ZONE id 2 sipSigPort 1 ipInterfaceGroupName LIF1 ipAddressV4 x.x.x.x portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp,sip-tls-tcp
% set addressContext default zone PSTN_ZONE id 2 sipSigPort 1 mode inService state enabled
% commit

Configure IP Static Route

Create a default route for the destination IP to traverse the network through a particular interface.

Tip

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 staticRoute X.X.X.X Y Z.Z.Z.Z LIF1 PKT0_V4 preference 100
% commit

Configure 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, and "Y" with its prefix length.

    MultiExcerpt named '_ms_teams_guide_sipTG_block_letters' was not found
The multiexcerpt named '_ms_teams_guide_sipTG_block_letters' was not found. Please check the page name and MultiExcerpt name used in the MultiExcerpt Include macro.

% 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 Y
% set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG mode inService state enabled
% commit

Configure SMM Profile towards PSTN

In case of "Anonymous calling", the SBC receives the "Contact" header with "Gr" parameter and transparently passes the "Contact" header to the Egress side (the MS Teams side), which may result in a call failure.

Create the SMM rule to serve the following purpose:

  • Rule 1: Look for the "Gr" parameter in the "Contact" header. The SMM removes the parameter, if present in the header.

% set profiles signaling sipAdaptorProfile REMOVEGR state enabled
% set profiles signaling sipAdaptorProfile REMOVEGR advancedSMM disabled
% 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
% commit

Attach SMM profiles

Execute the following commands to attach the SMM profiles:

% set addressContext default zone PSTN_ZONE sipTrunkGroup PSTN_TG signaling messageManipulation inputAdapterProfile REMOVEGR
% commit

 

 

  • No labels