Passing SIP methods in CUBE-SP
CUBE is marketing name of Cisco Unified Border Element, formerly known as Session Border Control. It’s meant to be implemented at the edge of the voice network as an interconnection between two or more VoIP networks providing security between them, CAC, billing etc. There are two models – CUBE known from IRS routers and CUBE-SP available on ASR 1000 and 7600 platform. Both of them works slightly different.
With CUBE-SP not all of the SIP methods are passed through SBC router by default. In example MESSAGE method is not which makes sending text messages between SIP phones impossible. SBC router responds with “405 Method now allowed” if it sees unsupported method in SIP message. But particular methods can be added to whitelist and therefor passed through SBC.
sbc CUBE sbe sip method-profile Pass-IM-Header pass-body method MESSAGE action pass adjacency sip Internal method-profile inbound Pass-IM-Header method-profile outbound Pass-IM-Header adjacency sip Internet method-profile inbound Pass-IM-Header method-profile outbound Pass-IM-Header
In following example particular method is defined as accepted in method-profile, which is attached in both ways to adjacency. This way we can biuld complex policies allowing devices from one adjacency to pass some methods while blocking from others.