In this section:

Related articles:

SIP Adaptor Profile - CLI

 

In cases where the SBC is positioned between Kandy Link and Ribbon AS/Cisco UCM, the following SMM rules should be considered. Ribbon Professional Services should be involved in applying these rules.

Use the following CLI syntax to configure a SIP Adaptor Profile for passing x-webrtc and x-p2p parameters. 

This rule should be applied as the Input SMM Profile for both the trunk groups facing Kandy Link and the AS/CiscoUCM.

 

set profiles signaling sipAdaptorProfile passWrtcIN advancedSMM enable
set profiles signaling sipAdaptorProfile passWrtcIN rule 1
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 1 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 1 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 2
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 1 to type variable variableValue var2
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 3 from type variable variableValue var2
set profiles signaling sipAdaptorProfile passWrtcIN rule 2 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 3
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 1 to type variable variableValue var3
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 3 from type variable variableValue var3
set profiles signaling sipAdaptorProfile passWrtcIN rule 3 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 4
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 1 to type variable variableValue var4
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 3 from type variable variableValue var4
set profiles signaling sipAdaptorProfile passWrtcIN rule 4 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 5
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 1 to type variable variableValue var5
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 3 from type variable variableValue var5
set profiles signaling sipAdaptorProfile passWrtcIN rule 5 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-webrtc.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 1 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 1 to type variable variableValue var6
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 2 regexp string "a=x-webrtc.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 3 from type variable variableValue var6
set profiles signaling sipAdaptorProfile passWrtcIN rule 6 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 criterion 2 type messageBody messageBody condition regex-match regexp string "a=x-p2p.*?"
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 1 type messageBody operation regstore
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 1 regexp string "a=x-p2p.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 1 from type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 1 to type variable variableValue var7
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 2 type messageBody operation regdel
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 2 regexp string "a=x-p2p.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 2 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 3 type variable operation append
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 3 from type variable variableValue var7
set profiles signaling sipAdaptorProfile passWrtcIN rule 7 action 3 to type variable variableValue var1 variableScopeValue message
set profiles signaling sipAdaptorProfile passWrtcIN state enabled
commit

 

This rule should be applied as the Output SMM Profile for both the trunk groups facing AS/CiscoUCM.

set profiles signaling sipAdaptorProfile passWrtcOUT advancedSMM enable
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 criterion 1 type message message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 criterion 2 type variable variable variableID var1 condition exist
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 criterion 3 type messageBody messageBody condition exist
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 action 1 type messageBody operation regappend
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 action 1 regexp string "t=.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 action 1 from type variable variableValue var1
set profiles signaling sipAdaptorProfile passWrtcOUT rule 1 action 1 to type messageBody messageBodyValue all
set profiles signaling sipAdaptorProfile passWrtcOUT state enabled
commit

 

This rule should be applied as the Output SMM Profile for the trunk group facing Kandy Link.

set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT state enabled advancedSMM disabled profileType messageManipulation
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 1 type message
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 1 message messageTypes response methodTypes invite statusCode 200
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 2 type header
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 2 header name Contact condition exist hdrInstance all
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 3 type parameter
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 criterion 3 parameter condition exist paramType uri name maddr
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 applyMatchHeader one
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 action 1 type parameter operation delete paramType uri
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 1 action 1 to type parameter value maddr
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 1 type message
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 1 message messageTypes request methodTypes notify
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 2 type header
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 2 header name Contact condition exist hdrInstance all
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 3 type parameter
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 criterion 3 parameter condition exist paramType uri name maddr
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 applyMatchHeader one
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 action 1 type parameter operation delete paramType uri
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 2 action 1 to type parameter value maddr
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 1 type message
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 1 message messageTypes all
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 2 type variable
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 2 variable condition exist variableID var1
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 3 type messageBody
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 criterion 3 messageBody condition exist
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 applyMatchHeader one
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 action 1 type messageBody operation regappend
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 action 1 regexp string "t=.*?\r\n"
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 action 1 from type variable variableValue var1
set profiles signaling sipAdaptorProfile passWrtcRemoveMaddrOUT rule 3 action 1 to type messageBody messageBodyValue all
commit

 

 

Configurations for SBC Secure SIP and SRTP support to the Ribbon Application Server (AS) content are shown below.

SIP Sig Port

 

TLS Profile

 

Use following CLI syntax to configure a SIP Adaptor Profile for passing alias parameter. change SAVP to AVP if SAVP port is zero.

RED_MDFYSAVP_OUT
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT state "enabled" advancedSMM "disabled" profileType "messageManipulation"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" criterion "2" type "header"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" criterion "2" header numberOfInstances number "0" qualifier "undefined"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" criterion "2" header name "via" condition "exist" hdrInstance "all" hdrRange "undefined"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" criterion "1" type "message"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" criterion "1" message messageTypes "requestAll" methodTypes "undefined" condition "undefined"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" applyMatchHeader "all" applyMatchHdrRange "undefined"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" action "1" type "parameter" operation "add" headerInfo "undefined" headerPosition "undefined" paramType "generic"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule "1" action "1" to type "parameter" value "alias"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 criterion 1 type message
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 criterion 1 type message message messageTypes all condition exist
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 action 2 type messageBody
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 action 2 operation regsub
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 action 2 regexp string " 0 RTP/SAVP" matchInstance all
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 action 2 from type value value " 0 RTP/AVP"
set profiles signaling sipAdaptorProfile RED_MDFYSAVP_OUT rule 2 action 2 to type messageBody messageBodyValue all

Applying the SMMs for Spidr/Kandy Link

 

Due to double audio and video mline, sdp size is too LARGE. The Max MTU Supported Over UDP Value must be 5,000.

Configuration > System Provisioning > Trunk Provisoning > Trunk Group > SIP Trunk Group > Signaling > TCP Fallback

TCP Fallback

  • No labels