Académique Documents
Professionnel Documents
Culture Documents
John Vickroy
Product Manager
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
IP
Enterprise 2
SIP
IP
CUBE
CUBE
Rich Media (Real time Voice, Video, Screenshare etc.. ) Rich Media
BRKUCC-2934
SESSION
CONTROL
SECURITY
INTERWORKING
DEMARCATION
Call Admissions
Control
Trunk Routing
Ensuring QoS
Statistics and Billing
Redundancy/
Scalability
Encryption
Authentication
Registration
SIP Protection
Voice Policy
Firewall Placement
Toll Fraud
SIP - SIP
H.323 - SIP
SIP Normalization
DTMF Interworking
Transcoding
Codec Filtering
Fault Isolation
Topology Hiding
Network Borders
L5/L7 Protocol
Demarcation
Cisco Public
TDM Gateway
Address Hiding
PSTN Backup
Voice Policy
Transcoding
CUBE
IP Routing &
MPLS
Unified CM
Conferencing and
Transcoding
FW, IPS,
QoS
SRST
VXML
Note: Some features/components may require additional licensing
BRKUCC-2934
Cisco Public
50-100
ASR 1001-X
ISR 4451-X
CPS
20-35
ISR 4431
17
3900 Series ISR-G2 (3925, 3945)
ISR-4K (4321, 4331)
8-12
2900 Series
ISR-G2 (2901, 2911, 2921, 2951)
<5
800/1861 ISR
<50
500-600
900-1000
2000-2500
4000
4500-6000
7000-10,000
Cisco Public
12K-14K
14-16K
CUBE Sessions
15 - 120
2901 4321
100
2911 2921
200 400
4331
500
2951
600
3925 3945
800 950
4351
1000
3925E 3945E
2100 2500
4431
3000
4451
6000
ASR1001-X
12000
ASR1002-X
14000
ASR1004/1006 RP2
16000
BRKUCC-2934
Cisco Public
For Your
Reference
ASR / ISR4400*
CUBE
Vers.
2900/ 3900
FCS
CUBE Ent
ASR Parity
with ISR
8.9
15.2.2T
Nov 2011
>80%
1.4.4
3.6
15.2(2)S
Mar 2012
Mar 2012
>85%
9.0
3.7
15.2(4)S
July 2012
9.0
15.2.3T/
15.2.4M
CUBE
Vers.
IOS XE Release
FCS
9.0.1
15.3.1T
Oct 2012
>95%
9.0.1
3.8
15.3(1)S
Oct 2012
9.0.2
15.3(2)T
Mar 2013
>95%
9.0.2
3.9
15.3(2)S
Mar 2013
9.5.1
15.3(3)M1
Oct 2013
>95%
9.5.1
3.10.1
15.3(3)S1
Oct 2013
10.0.0
15.4(1)T
Nov 2013
>95%
10.0.0
3.11
15.4(1)S
Nov 2013
10.0.1
15.4(2)T
Mar 2014
>95%
10.0.1
3.12
15.4(2)S
Mar 2014
10.0.2
15.4(3)M
July 2014
>95%
10.0.2
3.13
15.4(3)S
July 2014
10.5.0
15.5(1)T
Nov 2014
>95%
10.5.0
3.14
15.5(1)S
Nov 2014
11.0.0
15.5(2)T
Mar 2015
>95%
11.0.0
3.15
15.5(2)S
Mar 2015
11.0.1
15.5(3)M
July 205
>95%
11.0.1
3.16
15.5(3)S
July 2015
Cisco Public
For Your
Reference
Cisco ASR1000
Single-Use Licenses
FL-NANOCUBE
NEW
FL-CUBEE-5
FL-CUBEE-25
FL-CUBEE-100
FL-CUBEE-5
FL-CUBEE-25
FL-CUBEE-100
FL-CUBEE-500
FL-CUBEE-5
FL-CUBEE-25
FL-CUBEE-100
FL-CUBEE-500
FL-CUBEE-1000
FLASR1-CUBEE-100P
FLASR1-CUBEE-500P
FLASR1-CUBEE-1KP
FLASR1-CUBEE-4KP
FLASR1-CUBEE-16KP
Redundancy Licenses
( 1 SKU for Active/Standby Pair)
N/A
FL-CUBEE-5-RED
FL-CUBEE-25-RED
FL-CUBEE-100-RED
FL-CUBEE-5-RED
FL-CUBEE-25-RED
FL-CUBEE-100-RED
FL-CUBEE-500-RED
FL-CUBEE-5-RED
FL-CUBEE-25-RED
FL-CUBEE-100-RED
FL-CUBEE-500-RED
FL-CUBEE-1000-RED
FLASR1-CUBEE-100R
FLASR1-CUBEE-500R
FLASR1-CUBEE-1K-R
FLASR1-CUBEE-4K-R
FLASR1-CUBEE-16KR
http://www.cisco.com/c/en/us/products/collateral/unified-communications/unified-border-element/order_guide_c07_462222.html
BRKUCC-2934
Cisco Public
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
Demarcation
Interworking
Session control
Security
Video
3rd Party IP
PBX
Cisco Public
11
Cisco B2B
Cisco Session
Management
IM, Presence,
Voicemail
BRKUCC-2934
CUBE
Mobile
TDM PBX
11
SIP Trunks
for PSTN
Access
SIP
SIP Trunk
H.323
SBC
SP VOIP
Services
CUBE
Standby
Networkbased
Media
Recording
Solution
Partner API
MediaSense
SIP
SIP
RTP
CUBE
SBC
SP IP
Network
SBC
SP IP
Network
Active
IVR
Integration
for Contact
Centers
CVP
vXML Server
SIP
CUBE
Business to
Business
Telepresence
BRKUCC-2934
Media
Server
SIP
SBC
CUBE
Cisco Public
12
SIP
SP IP
Network
CUBE
NanoCUBE
Hosted
Service
Small
Business
SIP Trunking
Small
Business
CPE
NANOCUBE
8xx
SIP
SIP
SIP
IAD
8xx
CUBE
SIP
CUCM
SIP
PRI
TDM PBX
IP PBX
Enterprise
Hosted Service
Small Business
13
BRKUCC-2934
NANO
-CUBE
Cisco Public
SIP Trunking
Small Business
PRI To SIP
Operational Benefits
Centralizes Physical
Operations
Centralizes Dial-Peer
Management
Challenges
Increased campus bandwidth, CAC,
latency; media optimization
HA in campus
Survivability at branch (PSTN
connection at the branch)
Emergency services
Legal/Regulatory
Centralized
IP PSTN
Enterprise
IP WAN
CUBE
Site-SP Media
BRKUCC-2934
Cisco Public
14
Operational Benefits
Challenges
Distributed dial-peer
management
Distributed
CUBE
BRKUCC-2934
Cisco Public
CUBE
15
CUBE
CUBE
Site-SP Media
Benefits
Hybrid
IP PSTN
Enterprise
IP WAN
CUBE
CUBE
CUBE
BRKUCC-2934
Cisco Public
16
CUBE
CUBE
New White Paper will be posted by the end of January at the following URL:
www.cisco.com/go/cube
BRKUCC-2934
Cisco Public
17
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
18
IP
Media Flow-Through
Media Flow-Around
Media Flow-Through
Signaling and media terminated by the Cisco
Unified Border Element
Transcoding and complete IP address hiding
require this model
CUBE
IP
CUBE
Cisco Public
Media Flow-Around
Signaling and media terminated by the Cisco
Unified Border Element
Media bypasses the Cisco Unified Border
Element
Terminating
Endpoint
2000
CUBE
1.
2.
This matches inbound VoIP dial peer 1 for characteristics such as codec, VAD, DTMF method,
protocol, etc.
3.
4.
BRKUCC-2934
Cisco Public
10.10.10.10
1000
1.1.1.1
INVITE /w SDP
20.20.20.20
INVITE /w SDP
c= 1.1.1.1
m=audio abc RTP/AVP 0
2000
2.2.2.2
c= 20.20.20.20
m=audio xxx RTP/AVP 0
100 TRYING
100 TRYING
180 RINGING
180 RINGING
200 OK
200 OK
c= 2.2.2.2
m=audio uvw RTP/AVP 0
c= 20.20.20.20
m=audio xyz RTP/AVP 0
ACK
1.1.1.1
BRKUCC-2934
ACK
RTP (Audio)
10.10.10.10
20.20.20.20
Cisco Public
2.2.2.2
RmtRTP
6000
6001
Cisco Public
LocalIP
10.10.10.10
20.20.20.20
RemoteIP
1.1.1.1
2.2.2.2
CUBE Architecture
ISR G2 vs ASR1K vs ISR 4400
ISR G2 Architecture
Control Plane
CPU
IOS
RP
Control
Plane
IOS
Kernel
Msg I/f
I/O
ESP
I/O
Signaling
Signaling
IOS
I/O
Media
2015 Cisco and/or its affiliates. All rights reserved.
Cisco Public
25
I/O
BRKUCC-2934
Data Plane
ASR
ISR-G2
4400
Redundancy-Group
Infrastructure
HSRP Based
Redundancy-Group
Infrastructure
Not Available
Exists
Exists
Media Forking
XE3.8
(Thousands of calls)
15.2.1T
(Upto 1250 calls)
XE3.10
XE3.6
Exists
Exists
DSP Card
SPA-DSP
PVDM2/PVDM3
PVDM4
Not Available
Transcoder Implementation
Local Transcoder
Interface (LTI)
Exists
Exists
Exists
Web-based UC API
XE3.8
15.2.2T
Exists
Exists
15.2.3T
Exists
XE3.9
15.3.2T
Exists
Not Available
Exists
XE3.11
BRKUCC-2934
Cisco Public
26
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
27
AFTER
SIP/H323/MGCP
Media
SIP Trunks
Media
Standby
Enterprise Campus
High-density Dedicated
Gateways
CUBE
IP PSTN
Active
CUBE
MPLS
MPLS
PSTN is now
used only for
emergency
calls over FXO
lines
SRST
CME
SRST
CME
TDM PBX
Enterprise
Branch Offices
BRKUCC-2934
Enterprise
Branch Offices
Cisco Public
28
TDM PBX
Steps to transitioning...
SIP Trunk
Media
Standby
CUBE
IP PSTN
Active
CUBE
Enterprise
Campus
MPLS
PSTN is now
used only for
emergency
calls over FXO
lines
SRST
CME
TDM PBX
Cisco Public
Enterprise Branch
Offices
BRKUCC-2934
29
CUBE
IP PSTN
Active
CUBE
Enterprise
Campus
MPLS
emergency
calls over
calls
FXO lines
TDM PBX
Enterprise
Branch Offices
BRKUCC-2934
Cisco Public
30
BRKUCC-2934
Sample
Response
Item
20.1.1.2 or
DNS
5060
UDP
Codecs supported
G711, G729
T.38
RFC2833
Does the provider require SDP information in initial INVITE (Early offer
required)
Yes
20.1.1.1
Does SP require SIP Trunk registration for each DID? If yes, what is the
username & password
No
10
No
Cisco Public
31
BRKUCC-2934
CUBE
Active
IP PSTN
CUBE
Enterprise
Campus
MPLS
LAN Dial-Peers
WAN Dial-Peers
PSTN is now
used only for
toemergency
interfaces
callsor
over FXO lines
IP addresses
LAN Dial-Peers Dial-peers that are facing towards the IP PBX for sending and receiving
calls to & from the PBX
CME
WAN Dial-Peers Dial-peers that are facing towards the SIP Trunk provider for sending & receiving
calls to & from the provider
TDM PBX
Enterprise Branch
Offices
BRKUCC-2934
Cisco Public
33
Catch-all for
all inbound
PSTN calls
Cisco Public
34
Dial-peer for
making long
distance calls
to SP
CUCM sending 9
+ All digits dialed
SP will be
sending 10 digits
inbound
Note: If more than 1 CUCM cluster exists, you will have to create multiple such LAN dial-peers with preference CLI for CUCM
redundancy/load balancing as the traditional way to accommodate multiple trunks
BRKUCC-2934
Cisco Public
35
Incoming
INVITE
sip:5551000@sip.com:5060
SIP/2.0
INVITE
sip:5551000@sip.com:5060
user=phone SIP/2.0
Outgoing
CUBE
INVITE
tel:2222000020
SIP/2.0
CUBE
BRKUCC-2934
Outgoing
Cisco Public
36
For Call Forward & Transfer scenarios back to PSTN, the Diversion
header should match the registered DID of your network
Sent:
INVITE sip:2000@9.44.44.4:5060 SIP/2.0
User-Agent: Cisco-SIPGateway/IOS-15.2.3.T
Diversion: <sip:3000@9.44.44.4>;privacy=off;
reason=unconditional;screen=yes
...
m=audio 6001 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
...
Sent:
INVITE sip:2000@9.44.44.4:5060 SIP/2.0
.
User-Agent: Cisco-SIPGateway/IOS-15.2.3.T
.
Diversion: <sip:4085266855@sip.abc.com>;
privacy=off;reason=unconditional;screen=yes
.
m=audio 32278 RTP/AVP 18 8 101
a=rtpmap:0 PCMU/8000
..
Configure
SIP Profiles
Apply to
Dial-peer or
Globally
BRKUCC-2934
Cisco Public
For Your
Reference
Sent:
INVITE sip:2000@9.44.44.4:5060 SIP/2.0
User-Agent: SP-SBC
Diversion: <sip:9.44.44.4>;privacy=off;
reason=unconditional;screen=yes
...
m=audio 6001 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
...
Sent:
INVITE sip:2000@9.44.44.4:5060 SIP/2.0
.
User-Agent: SP-SBC
.
Diversion: <sip:1234@abc.com>;
privacy=off;reason=unconditional;screen=yes
.
m=audio 32278 RTP/AVP 18 8 101
a=rtpmap:0 PCMU/8000
..
Configure Inbound
SIP Profile to add a
dummy user part
Apply to Dial-peer
or Globally
BRKUCC-2934
Cisco Public
38
For Your
Reference
Supplementary services like Call Hold, Resume, Call Forward & Transfer
DTMF Tests
Fax calls T.38 and fallback to pass-through (if option available)
BRKUCC-2934
Cisco Public
39
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
40
CUBE Dial-Peers
Call Routing
Outbound Calls
SIP Trunk
SP SIP Trunk
IP PSTN
CUBE
Inbound Calls
Cisco Public
42
Priority
1
Exact Pattern
match
Host Name/IP
Address
Phone-number of
tel-uri
IP PSTN
Cisco Public
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Default Dial-Peer = 0
BRKUCC-2934
SP SIP Trunk
SIP Trunk
CUBE
User portion of URI
Outbound Calls
43
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
44
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
45
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
46
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
47
Priority
BRKUCC-2934
SP SIP Trunk
SIP Trunk
IP PSTN
Outbound Calls
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
48
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
49
Priority
A
voice class uri 2001 sip
host ipv4:10.2.1.1
BRKUCC-2934
Outbound Calls
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
Cisco Public
50
Priority
1
Outbound Calls
Exact Pattern
match
Host Name/IP
Address
Phone-number of
tel-uri
Host Name/IP
Address
User portion of URI
BRKUCC-2934
Phone-number of
tel-uri
Cisco Public
Inbound Calls
Exact Pattern
match
IP PSTN
CUBE
User portion of URI
SP SIP Trunk
SIP Trunk
51
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";;branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
BRKUCC-2934
Cisco Public
52
52
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
BRKUCC-2934
Cisco Public
53
53
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
BRKUCC-2934
Cisco Public
54
54
SP SIP Trunk
SIP Trunk
IP PSTN
CUBE
Inbound Calls
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
Supported: timer
Max-Forwards: 70
Subject: BRKUCC-2934 Session
Content-Type: application/sdp
Content-Length: 226
........
BRKUCC-2934
Cisco Public
55
Priority
1
Outbound Calls
Exact Pattern
match
Host Name/IP
Address
Phone-number of
tel-uri
Received:
Host Name/IP
Address
User portion of URI
BRKUCC-2934
Inbound Calls
Exact Pattern
match
IP PSTN
CUBE
User portion of URI
SP SIP Trunk
SIP Trunk
Phone-number of
tel-uri
Cisco Public
57
Outbound Calls
BRKUCC-2934
IP PSTN
CUBE
Inbound Calls
SP SIP Trunk
SIP Trunk
Number
Cisco Public
58
FROM
TO
DIVERSION
REFERRED-BY
Calling Number
destination uri-diversion
destination e164-pattern-map
destination uri-to
destination uri-referred-by
destination uri
destination uri-from
destination calling
destination-pattern
BRKUCC-2934
Cisco Public
59
Cisco Public
60
Cisco Public
61
For Your
Reference
Configuring a match command for an outbound dial-peer according to the provision policy rule
attribute configured
Called
destination-pattern pattern
destination e164-pattern-map pattern-map-class-id
Calling
carrier-id
carrier-id target
Uri
Via
To
from
diversion
referred-by
BRKUCC-2934
Cisco Public
62
BRKUCC-2934
Cisco Public
63
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
........
Received:
BRKUCC-2934
Cisco Public
64
Received:
preference 1 from
preference 2 to
BRKUCC-2934
Cisco Public
65
shutdown
Cisco Public
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
preference 2 to
BRKUCC-2934
66
shutdown
Cisco Public
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
preference 2 to
BRKUCC-2934
67
BRKUCC-2934
Cisco Public
68
Received:
INVITE sip:654321@10.2.1.1 SIP/2.0
Via: SIP/2.0/UDP 10.1.1.1:5060;x-routetag="cid:orange@10.1.1.1";branch=z9hG4bK-23955-1-0
From: "555" <sip:555@10.1.1.1:5060>;tag=1
To: ABC <sip:654321@10.2.1.1:5060>
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
.....
Received:
BRKUCC-2934
Cisco Public
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
........
69
Received:
BRKUCC-2934
Cisco Public
Call-ID: 1-23955@10.1.1.1
CSeq: 1 INVITE
Contact: sip:555@10.1.1.1:5060
........
70
BRKUCC-2934
Cisco Public
71
(919)200-2000
Site B
(510)100-1000
Site C
(408)100-1000
G729 Sites
SIP Trunk
SP SIP Trunk
IP PSTN
CUBE
Site A
(919)200-2010
Site B
(510)100-1010
Site C
(408)100-1010
G711 Sites
BRKUCC-2934
Cisco Public
72
(919)200-2000
Site B
(510)100-1000
Site C
(408)100-1000
G729 Sites
SIP Trunk
IP PSTN
CUBE
Site A
(919)200-2010
Site B
(510)100-1010
Site C
(408)100-1010
G711 Sites
BRKUCC-2934
Cisco Public
73
SBC
CUBE
Enterprise
xyz.com
Enterprise
abc.com
Cisco Public
74
For Your
Reference
CUBE
INVITE sip:1234@cisco.com
destination uri 1
By default, the host portion is replaced with the session target value of the matched
outbound dial-peer
Enhancement : Outgoing INVITE has same request URI as received in Incoming INVITE.
This can be achieved by configuring requri-passing in the outgoing dial-peer or
globally.
Allows for peer-to-peer calling between enterprises using URIs
BRKUCC-2934
Cisco Public
75
INVITE sip:hussain@cisco.com
For Your
Reference
CUBE
INVITE sip:hussain@10.1.1.1
destination uri 1
Cisco Public
76
INVITE sip:cisco.com
For Your
Reference
CUBE
INVITE sip:cisco.com
destination uri 1
host cisco.com
Enhancement : Incoming INVITE with no user portion (e.g. sip:cisco.com.) is supported. Dial-peer
matching will happen based on host portion. Outgoing INVITE Req-URI will not have any user portion in
this case (unless sip-profiles are applied).
If user portion is present in incoming INVITE To header, it is retained in outgoing INVITE To Header
If voice-class sip requri-passing is not configured, INVITE will go out as sip:10.1.1.1
REFER and 302, both consume and pass-through cases supported as well
BRKUCC-2934
Cisco Public
77
CUBE
destination uri 1
Facebook Video
For different hosts with the same user, multiple outgoing dial-peers had to be configured
Enhancement : To support URIs with the same user portion but with different domains, only one
dial-peer per can be configured. Outgoing dial-peer needs to be configured with session
target sip-uri instead of regular session target configuration. This will trigger DNS
resolution of the domain of incoming INVITE Req-URI and dynamically determine the session
target IP.
BRKUCC-2934
Cisco Public
78
The order of outgoing call setups will be the sorted list of dial-peers from a dpg
BRKUCC-2934
Cisco Public
79
1. Incoming Dial-peer
is first matched
BRKUCC-2934
80
Media Manipulation
Enterprise
VoIP
SP VoIP
IP Phones:
G.711, G.729 20 ms,
G.722
CUBE
G.729 30 ms
Transcoding (12.4.20T)
One voice codec to any other codec E.g. iLBC-G.711 or iLBC-G.729
Support for H.323 and SIP
CUCM 7.1.5 or later supports universal Transcoding
Transrating (15.0.1M)
Different packetizations of the same codec
BRKUCC-2934
Cisco Public
82
Supported Codecs
Packetization
(ms)
10, 20, 30
10, 20, 30
30, 60
10, 20, 30
3. sccp configuration
voice-card 1
dspfarm
dsp services dspfarm
2. telephony-service configuration
telephony-service
sdspfarm units 1
sdspfarm transcode sessions 128
sdspfarm tag 1 CUBE-XCODE
max-ephones 10
max-dn 10
ip source-address
<CUBE_internal_IP> port 2000
BRKUCC-2934
Cisco Public
For Your
Reference
Feature Notes:
voice-card 0/1
dspfarm
dsp services dspfarm
Cisco Public
84
Call Recording
Cisco MediaSense
(authentication disabled w/o UCM)
MediaSense
SIP
RTP
A
SIP
SIP
SP SIP
RTP
Call agent
independent
Configured on a per
Dial-peer level
BRKUCC-2934
CUBE
RTP
media class 1
recorder parameter
media-recording 20
Needs to
match
Cisco Public
86
CUBE can be configured to offer only audio streams to be recorded even if the call that is being recorded
is an audio/video call
MediaSense
Support for forwarding any 3rd
party IP PBX GUID to the
recording server
SIP
RTP
A
SIP
SIP
SP SIP
RTP
CUBE
RTP
media-type audio
media-recording 20
Cisco Public
87
3.
1. Enable HTTP on IOS
ip http server
http client persistent
Gateway/CUBE Recording
Enabled
4.
1.
2.
uc wsapi
source-address [IP_Address_of_CUBE]
5.
provider xmf
remote-url 1 http://CUCM:8090/ucm_xmf
no shutdown
Selective Recording
Mobile/SNR/MVA Calls
Recording Call Preservation
With XE3.13/IOS15.4(3)M, CUBE supports SRTP-SRTP, SRTP-RTP, RTP-SRTP recording. Feature on CUCM roadmap
BRKUCC-2934
Cisco Public
High Availability
ASR 1006
Stateful failover
Local redundancy
ASR(config)#redundancy
ASR-RP2(config-red)#mode sso
ASR-RP2(config-red)#end
L2 Box-to-Box redundancy
Active
CUBE
Virtual
IP
Virtual
IP
SIP SP
CUBE
Standby
BRKUCC-2934
All platforms
Load balancing by
SP call agent
Cisco Unified SIP Proxy
Local and geographical redundancy
Cisco Public
SIP SP
CUSP
90
CUSP
Gig0/1 128.107.66.77
HSRP
Group 1
10.10.1.13
Keepalives
Gig0/1 10.10.1.12
LAN
Virtual IP
HSRP
Group 10
CUCM
CUBE
128.107.66.79
10.10.1.10
SP IP
Network
Y.Y.Y.Y
Gig0/1 128.107.66.78
WAN
Virtual IP
CUBE
CUBE-2
Lower address for both the interfaces (Gig0/0 and Gig0/1) should be on the same platform, which is
used as a tie breaker for the HSRP Active state
Both interfaces of the same group have to be configured with the same priority
BRKUCC-2934
Cisco Public
91
Gig0/1 128.107.66.77
HSRP
Group 1
10.10.1.13
Keepalives
Gig0/1 10.10.1.12
LAN
Virtual IP
HSRP
Group 10
CUCM
CUBE
128.107.66.79
10.10.1.10
SP IP
Network
Y.Y.Y.Y
Gig0/1 128.107.66.78
WAN
Virtual IP
CUBE
CUBE-2
Both platforms must be connected via a Switch for CUBE HA to work. Cannot have WAN
terminated on CUBEs directly or Data HSRP on either side
Both the CUBEs must be running on the same type of platform and IOS version and identical
configuration. Loopback interfaces cannot be used as they are always up.
Some call flows requiring DSPs will be preserved in a future release [15.5(2)T] March 2015
BRKUCC-2934
Cisco Public
92
Gig0/1 128.107.66.77
redundancy inter-device
scheme standby SB
HSRP
Group 1
10.10.1.13
LAN
Virtual IP
CUBE 1
Gig0/1 10.10.1.12
Gig0/1 128.107.66.78
CUBE
CUBE-2
Define Redundancy scheme: Creates
interdependency b/w CUBE redundancy & HSRP
Keepalives
HSRP
Group 10
CUCM
CUBE
128.107.66.79
10.10.1.10
IPC configuration :
Allows the ACTIVE
CUBE to tell the
STANDBY about the
state of the calls
Cisco Public
93
SP IP
Network
Y.Y.Y.Y
WAN
Virtual IP
CUBE 2
redundancy inter-device
scheme standby SB
voice service voip
mode border-element
allow-connections sip to sip
redundancy
ipc zone default
association 1
no shutdown
protocol sctp
local-port 5000
local-ip 10.10.1.12
remote-port 5000
remote-ip 10.10.1.11
Gig0/1 128.107.66.77
10.10.1.13
HSRP
Group 1
Gig0/1 10.10.1.12
LAN
Virtual IP
CUBE 1
interface GigabitEthernet0/0
ip address 10.10.1.11 255.255.255.0
standby version 2
standby 1 ip 10.10.1.13
standby delay minimum 30 reload 60
standby 1 name SB
standby 1 preempt
standby 1 track 2 decrement 10
standby 1 priority 50
interface GigabitEthernet0/1
ip address 128.107.60.71 255.255.255.0
standby version 2
standby 10 ip 128.107.60.73
standby delay minimum 30 reload 60
standby 10 preempt
standby 10 track 1 decrement 10
standby 10 priority 50
BRKUCC-2934
Keepalives
HSRP
Group 10
CUCM
CUBE
128.107.66.79
10.10.1.10
SP IP
Network
Y.Y.Y.Y
Gig0/1 128.107.66.78
WAN
Virtual IP
CUBE 2
CUBE
CUBE-2
Inside
interfaces:
HSRP group 0
interface GigabitEthernet0/0
ip address 10.10.1.12 255.255.255.0
standby version 2
standby 1 ip 10.10.1.13
standby delay minimum 30 reload 60
standby 1 name SB
standby 1 preempt
standby 1 track 2 decrement 10
standby 1 priority 50
Outside
interfaces:
HSRP group 10
interface GigabitEthernet0/1
ip address 128.107.60.72 255.255.255.0
standby version 2
standby 10 ip 128.107.60.73
standby delay minimum 30 reload 60
standby 10 preempt
standby 10 track 1 decrement 10
standby 10 priority 50
Cisco Public
94
Cisco Public
95
GE 0/0/0 10.10.1.1
GE 0/0/1 20.20.1.1
redundancy
rii 0
30.30.3.1
GE 0/0/2
30.30.3.2
20.20.1.3
redundancy
rii 2
CUBE
GE 0/0/2
Keepalives
10.10.1.3
10.10.1.10
SP IP
Network
CUCM
GE 0/0/0 10.10.1.2
LAN Virtual IP
CUBE
CUBE-2
GE 0/0/1 20.20.1.2
WAN Virtual IP
Lower address for all the interfaces (Gig0/0/0, Gig0/0/1, and Gig0/0/2) should be on the same platform
Redundancy Interface Identifier, rii (HSRP Group number) should be unique to a pair/interface combination
on the same L2
Configuration on both the CUBEs must be identical including physical configuration and must be running on
the same type of platform and IOS version. Loopback interfaces cannot be used as they are always up.
BRKUCC-2934
Cisco Public
96
GE 0/0/1 20.20.1.1
redundancy
rii 0
30.30.3.1
GE 0/0/2
30.30.3.2
20.20.1.3
redundancy
rii 2
CUBE
GE 0/0/2
Keepalives
10.10.1.3
10.10.1.10
SP IP
Network
CUCM
GE 0/0/0 10.10.1.2
LAN Virtual IP
CUBE
CUBE-2
GE 0/0/1 20.20.1.2
WAN Virtual IP
Some call flows requiring DSPs will be preserved in a future release (XE3.15) March 2015
Both platforms must be connected via a Switch for CUBE HA to work. Cannot have WAN terminated on CUBEs
directly or Data HSRP on either side
Upon failover, starting XE3.11, the ACTIVE CUBE can be moved to PROTECTED state to avoid reload
It is mandatory to use separate interface for redundancy (RG Control/data, Gig0/0/2). i.e interface used for traffic
cannot be used for HA keepalives and checkpointing.
CUBE B2B HA on ASR is not supported over a crossover cable connection for the RG-control/data link.
BRKUCC-2934
Cisco Public
97
Default failover redundancy behavior in a B2B HA pair is to reload the affected router to avoid out-of-sync
conditions/Split brain
In PROTECTED mode
o
o
Bulk sync request, Call checkpointing, and incoming call processing are disabled
The router in PROTECTED mode needs to be manually reloaded to come out of this state
Track for the RG Control/data interface (GE0/0/2) with the same track <id> shutdown under redundancy
group needs to be added
track 1 interface GigabitEthernet0/0/0 line-protocol
track 2 interface GigabitEthernet0/0/1 line-protocol
track 3 interface GigabitEthernet0/0/2 line-protocol ! Track for RG Control/data interface
redundancy
application redundancy
group 1
track 1 shutdown
track 2 shutdown
track 3 shutdown
BRKUCC-2934
Cisco Public
98
SP SIP Trunk
SP
SIP
CUBE
OOD Options
INVITE
DP 100 =
ACTIVE
200 OK
INVITE
200 OK
200 OK
OOD Options
Timeout no
response
DP 100 = BUSYOUT
INVITE
OOD Options
BRKUCC-2934
Cisco Public
99
SP SIP Trunk
SP SIP
CUBE
OOD Options
200 OK
INVITE
DP 100 =
ACTIVE
INVITE
200 OK
200 OK
OOD Options
Timeout no
response
DP 100 = BUSYOUT
INVITE
Warning:
Each dial-peer that has options
message configured sends out a
separate message.
EEM Script can be used to busyout
other dial-peers
OOD Options
BRKUCC-2934
Cisco Public
100
SP SIP Trunk
SP SIP
CUBE
200 OK
OOD Options (DP 200)
200 OK
DP 200: Session Target IPv4:1.1.1.1
OOD Options (DP 300)
200 OK
DP 300: Session Target IPv4:1.1.1.1
OOD Options (DP 400)
200 OK
BRKUCC-2934
Cisco Public
101
AdminStat: Up
Sip Profiles: 0
Down: 49
Retry: 7
Peer Tag
Server Group
--------
------------
OOD SessID
OOD Stat
IfIndex
----------
--------
-------
Active
Active
10
OOD SessID: 4
Target: ipv4:10.104.45.253
Transport: udp
Sip Profiles: 0
With OOD Options Ping Keepalive group, an options ping keepalive connection is established on per remote target base as opposed an options
ping keepalive connection established per dial-peer basis
Either legacy sip options-keepalive or the new sip options-keepalive profile <tag> can be configured on a dial-peer
BRKUCC-2934
Cisco Public
102
SIP Trunk
(Primary)
SBC
IP
SP
VoIP
CUBE
TDM Trunk
(Secondary)
BRKUCC-2934
103
(10.10.10.2)
CUBE
Active
SIP SP-2
(20.20.20.2)
CUBE
Enterprise
Campus
MPLS
SIP SP-1s
network
interface loopback1
ip address 10.10.10.1 255.255.255.0
SIP SP-2s
network
SRST
interface loopback2
ip address 20.20.20.1 255.255.255.0
Branch Offices
BRKUCC-2934
Cisco Public
104
CVP
Transcoder Inserted
G.711
G.729 /
G.711
SP SIP
SIP
CUBE
4
G.729
BRKUCC-2934
G.729
Transcoder Dropped
Cisco Public
106
3. INVITE
SIP SP
CUBE
2. INVITE
CVP
1. REFER
SIP SP
CUBE
2. REFER
CVP
1. REFER
BRKUCC-2934
Cisco Public
107
refer consume
Configured globally or
at inbound dial-peer
Yes (default)
No (default)
REFER Pass-through
Yes (default)
Yes
REFER Consume
No
No (default)
REFER Consume
No
Yes
REFER Consume
BRKUCC-2934
Cisco Public
108
Outcome
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
109
Monitoring
CUBE Monitoring
Some Network Management Tools:
SNMP
Query
SNMP
Response
SIP
H.323 or SIP
BRKUCC-2934
CUBE
SBC
Cisco Public
111
SP IP
Network
Solarwinds
Cisco Prime Collaboration
For Your
Reference
CUBE Monitoring
Area
Information
Method
Router Health
CISCO-PROCESS-MIB, cpmCPUTotal5minRev
CISCO-MEMORY-POOL-MIB, ciscoMemoryPoolTable
IF-MIB, IfEntry
Trunk Utilization
Call Success/Failure
SIP retries
CISCO-SIP-UA-MIB, cSipStatsRetry
DSP Availability
Transcoding util.
MTP utilization
CISCO-VOICE-DIAL-CONTROL-MIB, cvVoIPCallActiveTable
IP SLA
Media Resources
(DSPs)
Voice Quality
Cisco Public
112
Prime Collaboration
BRKUCC-2934
Cisco Public
113
CDR will be sent to Radius server at the end of a call if AAA accounting is
configured
BRKUCC-2934
Cisco Public
115
media statistics
! Enable media monitoring on this dial-peer, every call leg matching this dial-peer will be monitored
BRKUCC-2934
Cisco Public
116
For Your
Reference
Viewing AQM
CUBE# show call active voice stats
BRKUCC-2934
Cisco Public
117
BRKUCC-2934
Cisco Public
118
BRKUCC-2934
Cisco Public
119
BRKUCC-2934
Cisco Public
120
BRKUCC-2934
Cisco Public
121
Troubleshooting
Troubleshooting of Calls
show cube status
Is CUBE Active ?
CUBE-Version : 9.0
SW-Version : 15.2.1T, Platform 2911
HA-Type : none
Licensed-Capacity : 200
BRKUCC-2934
123
CUBE Debugging
When debugging in IOS, configure logging buffered to a fairly large value
(based on available memory)
Disable logging to the console with command no logging console
Enable timestamps for debugs
Make sure router has NTP enabled
Cisco Public
124
SIP EO Debug
Example
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
Cisco Public
External
Network
10.1.1.1
20.1.1.1
SIP SP
CUBE
B2B User
Agent
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
BRKUCC-2934
Internal
Network
125
SIP EO Debug
Example
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
Internal
Network
External
Network
10.1.1.1
20.1.1.1
SIP SP
Sent:
INVITE
CUBE
B2B User
Agent
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
BRKUCC-2934
Cisco Public
126
SIP EO Debug
Example
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
Cisco Public
10.1.1.1
20.1.1.1
CUBE
B2B User
Agent
To: <sip:1000@20.1.1.2>
BRKUCC-2934
External
Network
SIP SP
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Internal
Network
cwith
parameter
identifies the
IP address (20.1.1.1) that the
Sent
destination
number
peer device should send the media to
as 1000
and IP address
m parameter identifies:
20.1.1.2
5060
theon
typeport
of call
(audio)
port number for media (16950)
payload type for the 1st preferred codec (18 for G729)
dtmf (101 for RFC2833)
a parameter identifies all the codecs and other
descriptors for this call leg
127
SIP EO Debug
Example
Internal
Network
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
SIP SP
10.1.1.1
BRKUCC-2934
Cisco Public
CUBE
20.1.1.1
B2B User
Agent
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
External
Network
m parameter
identifies:
Calling
number
is 2000
the type of call (audio)
with
source
address
port
number IP
for media
(16950)of
st
type for the 1 preferred codec (18 for G729)
call payload
is 20.1.1.1
dtmf (101 for RFC2833)
a parameter identifies all the codecs and other
descriptors for this call leg
128
SIP EO Debug
Example
Internal
Network
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
External
Network
SIP SP
10.1.1.1
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
B2B User
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
BRKUCC-2934
Cisco Public
CUBE
20.1.1.1
Agent
SIP EO Debug
Example
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
Internal
Network
External
Network
10.1.1.1
20.1.1.1
SIP SP
CUBE
B2B User
Agent
c parameter
the IP
address
Sent withidentifies
destination number
as 1000
and IP address
20.1.1.2 on port 5060
(20.1.1.1)
that the peer device should
Calling number is
send the2000
media
to IP address of call is 20.1.1.1
with source
Cisco-GUID uniquely identifies this call leg
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
BRKUCC-2934
Cisco Public
130
SIP EO Debug
Example
Internal
Network
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
v=0
m=audio
16950 RTP/AVP 18 101
SIP SP
10.1.1.1
CUBE
20.1.1.1
B2B User
Agent
Outbound INVITE
message
m parameter
identifies:
Sent with destination number as 1000 and IP address
the type
ofoncall
20.1.1.2
port (audio)
5060
Calling
number
is
port number for media (16950)
2000 with source IP address
of call is 20.1.1.1
payload
type uniquely
for theidentifies
1st preferred
Cisco-GUID
this call leg
codec (18 for G729)
dtmf (101
for RFC2833)
c parameter
identifies the IP address
BRKUCC-2934
External
Network
Cisco Public
131
SIP EO Debug
Example
Internal
Network
Sent:
INVITE sip:1000@20.1.1.2:5060 SIP/2.0
Via: SIP/2.0/UDP 20.1.1.1:5060;branch=z9hG4bK1216FC
Remote-Party-ID: <sip:2000@20.1.1.1>;party=calling;screen=no;privacy=off
From: <sip:2000@20.1.1.1>;tag=48AE80-CD8
To: <sip:1000@20.1.1.2>
Date: Wed, 22 Jun 2011 12:33:15 GMT
Call-ID: A2F9661D-9C0211E0-803289BC-624E6E32@9.44.44.71
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2734093693-2617381344-2150402492-1649307186
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY, INFO, REGISTER
.........
.........
External
Network
SIP SP
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
10.1.1.1
CUBE
20.1.1.1
B2B User
Agent
v=0
o=CiscoSystemsSIP-GW-UserAgent 2026 314 IN IP4 9.44.44.71
s=SIP Call
c=IN IP4 20.1.1.1
t=0 0
m=audio 16950 RTP/AVP 18 101
c=IN IP4 20.1.1.1
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
BRKUCC-2934
Cisco Public
132
1122222357676678753222211111122247545789774322213311112245654598843333222
10
9
*
*
8
*
**
***
7
* * ***
*
*****
*
##*
6
********
*
*****
** *##*
5
*########*
#* *####*
*######*
4
*########*
*#***####**
*########*
3
**########**
*#########**
**
*########*****
2
******#########*****
****##########**** **
***########********
1 *######################################################################*
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
0
5
0
5
0
5
0
5
0
5
0
5
0
Call switching rate / CPS (last 72 hours)
* = maximum calls/s
# = average calls/s
BRKUCC-2934
Cisco Public
133
BRKUCC-2934
Call Flow
Call-legs
Connected
call
2+x
Cisco Public
134
BRKUCC-2934
Cisco Public
135
Audio/video/sdp/control
Configuration /sip-transport
CAC
DTMF/FAX/Line-side
Registration
Sdp - passthrough
Sip-profile/SRTP/transcoder
Example: enabling DTMF and audio debugs only with default log level is considered.
DTMF(32) debug code
CUBE#sh debugging
CCSIP SPI: SIP info debug tracing is enabled (filter is OFF)
CCSIP SPI: audio debugging for ccsip info is enabled (active)
CCSIP SPI: dtmf debugging for ccsip info is enabled (active)
Cisco Public
136
BRKUCC-2934
Cisco Public
137
Agenda
SIP Trunking and CUBE Overview
SIP Trunking Design & Deployment Models
CUBE Architecture
Transitioning to SIP Trunking using CUBE
Advanced features on CUBE
BRKUCC-2934
Cisco Public
138
CUBE Roadmap
BRKUCC-2934
Cisco Public
Key Takeaways
It is a manageable transition from existing TDM based networks to SIP
networks using these network design techniques
Enterprise SBC (Cisco Unified Border Element - CUBE) is an essential
component of a UC solution providing;
Security, Session Management, Interworking, Demarcation
An unmatched set of features and functionality
Proven interoperability with 3rd party PBX vendors and different service providers
around the world (more than 160 countries)
Integrated & revolutionary platforms
Cisco Public
141
Recommended Reading
BRKUCC-2934
VoDs on CUBE
https://learningnetworkstore.cisco.com
Email dsladden@cisco.com
for Special Discount Code
Recommended e-Learning
Course on SIP
Buy My Book!
http://cisco.thesipschool.com
BRKUCC-2934
Cisco Public
142
Call to Action
Visit the World of Solutions for
Cisco Campus Collaboration Booth
Technical Solution Clinics
Recommended Reading: for reading material and further resources for this
session, please visit www.pearson-books.com/CLMilan2015
BRKUCC-2934
Cisco Public
143
BRKUCC-2934
Cisco Public
144
Additional Slides
CUBE Licensing
BRKUCC-2934
Cisco Public
14
9
BRKUCC-2934
Cisco Public
BRKUCC-2934
Cisco Public
151
Scenarios Covered
If R1 or R3 went down, R2 or R4 respectively will take over
If Location 1 (both R1 and R2) becomes unavailable, RED license allows newer calls to flow to Location 2. RED license
allows transfer not only within one redundant pair from Active to Standby, allowing call preservation, but also from one
pair to the other, that is from one Data Center to the other for new calls. In that case, Location 2 will handle 1000
sessions. This is called Dual Redundancy
BRKUCC-2934
Cisco Public
15
2
BRKUCC-2934
Cisco Public
15
3
Cisco Public
154
BRKUCC-2934
Cisco Public
155
Total Calls,
CPU, Memory
CUBE
Call Spike
Detection
CUBE
Max Bandwidth
based
Call #3
Rejected by
CUBE
Call #1 80Kbps
Call #2 80 Kbps
Call #2
Call #3
Call #3 80 Kbps
CUBE
Call #3 Rejected
by CUBE
157
CUBE
Total Calls,
CPU, Memory
CUBE
Call Spike
Detection
CUBE
Max Bandwidth
based
Call #3
Rejected by
CUBE
Call #1 80Kbps
Call #2 80 Kbps
Call #2
Call #3
Call #3 80 Kbps
CUBE
Call #3 Rejected
by CUBE
158
CUBE
GE 0/0/1 20.20.1.1
redundancy
rii 0
30.30.3.1
GE 0/0/2
30.30.3.2
20.20.1.3
redundancy
rii 2
CUBE
GE 0/0/2
Keepalives
10.10.1.3
10.10.1.10
SP IP
Network
CUCM
GE 0/0/0 10.10.1.2
LAN Virtual IP
CUBE 1
redundancy
mode none
application redundancy
group 1
name voice-b2bha
priority 100 failover threshold 75
control GigabitEthernet 0/0/2 protocol 1
data GigabitEthernet 0/0/2
timers delay 30 reload 60
GE 0/0/1 20.20.1.2
CUBE-2
CUBE
Configure RG
Group for use
with CUBE HA
Turn on CUBE
Redundancy
Cisco Public
160
WAN Virtual IP
CUBE 2
redundancy
mode none
application redundancy
group 1
name voice-b2bha
priority 100 failover threshold 75
control GigabitEthernet 0/0/2 protocol 1
data GigabitEthernet 0/0/2
timers delay 30 reload 60
voice service voip
mode border-element
allow-connections sip to sip
redundancy-group 1
GE 0/0/0 10.10.1.1
GE 0/0/1 20.20.1.1
10.10.1.3
30.30.3.1
GE 0/0/2
30.30.3.2
20.20.1.3
redundancy
rii 2
CUBE
GE 0/0/2
Keepalives
redundancy
rii 0
10.10.1.10
SP IP
Network
CUCM
GE 0/0/0 10.10.1.2
LAN Virtual IP
CUBE
CUBE-2
CUBE 1
track 1 interface GigabitEthernet 0/0/0
line-protocol
track 2 interface GigabitEthernet 0/0/1
line-protocol
redundancy
application redundancy
group 1
track 1 shutdown
track 2 shutdown
BRKUCC-2934
GE 0/0/1 20.20.1.2
WAN Virtual IP
CUBE 2
Track interfaces
to trigger
switchover
Cisco Public
161
redundancy
application redundancy
group 1
track 1 shutdown
track 2 shutdown
GE 0/0/1 20.20.1.1
redundancy
rii 0
30.30.3.1
GE 0/0/2
30.30.3.2
20.20.1.3
redundancy
rii 2
CUBE
GE 0/0/2
Keepalives
10.10.1.3
10.10.1.10
SP IP
Network
CUCM
GE 0/0/0 10.10.1.2
CUBE
LAN Virtual IP
GE 0/0/1 20.20.1.2
CUBE-2
CUBE 1
WAN Virtual IP
CUBE 2
interface GigabitEthernet0/0/0
ip address 10.10.1.1 255.255.255.0
redundancy rii 0
redundancy group 1 ip 10.10.1.3 exclusive
bfd interval 50 min_rx 50 multiplier 3
Inside interfaces:
Redundancy Interface
Identifier 0
interface GigabitEthernet0/0/0
ip address 10.10.1.2 255.255.255.0
redundancy rii 0
redundancy group 1 ip 10.10.1.3 exclusive
bfd interval 50 min_rx 50 multiplier 3
interface GigabitEthernet0/0/1
ip address 20.20.1.1 255.255.255.0
redundancy rii 2
redundancy group 1 ip 20.20.1.3
bfd interval 50 min_rx 50 multiplier 3
Outside interfaces:
Redundancy Interface
Identifier 2
interface GigabitEthernet0/0/1
ip address 20.20.1.2 255.255.255.0
redundancy rii 2
redundancy group 1 ip 20.20.1.3
bfd interval 50 min_rx 50 multiplier 3
BRKUCC-2934
Cisco Public
162
BRKUCC-2934
Cisco Public
163
SIP Dialer
SIP SP
CVP
Contact Center
BRKUCC-2934
CUBE
Cisco Public
Transcoder Inserted
to detect tones
CUBE will then
connect/disconnect the
call appropriately
165
Configuration on CUBE:
voice service voip
cpa
dspfarm profile 1 transcode universal
call-progress analysis
MMoH
Unicast MoH
CUBE
SP
SIP
Active Call
ccm-manager music-on-hold
ip multicast-routing distributed
ip pim dense-mode under interface
Extends the ability for enterprises to play Multicast MoH to Service Providers
CUBE converts Multicast MoH from the MoH server to unicast MoH streamed to
the service provider
Provides the ability to play Multicast MoH over the WAN from the MoH server at
the HQ to the CUBE at the remote branch (distributed architecture), saving WAN
bandwidth
BRKUCC-2934
Cisco Public
167
Benefits
Pro-actively Monitoring
SIP trunk Utilization
Detects and notifies when a DSP chip/card fails that might potentially
cause service disruption such as call drop due to unavailability for
resources for transcoding.
Additional CUBE KPIs such as call stats for deeper monitoring
BRKUCC-2934
Cisco Public
Prime Collaboration
CUBE Performance metrics
BRKUCC-2934
Cisco Public
BRKUCC-2934
Cisco Public
BRKUCC-2934
Cisco Public
BRKUCC-2934
Cisco Public
BRKUCC-2934
Cisco Public
interface fa0/0
ip traffic-export apply BRKUCC2934 [size
<bytes>]
BRKUCC-2934
Cisco Public
175
Cisco Public
176
BRKUCC-2934
Cisco Public
For Your
Reference
collect application voice r-factor 1
collect application voice r-factor 2
collect application voice mos conversation
collect application voice mos listening
collect application voice concealment-ratio average
collect application voice jitter configured type
collect application voice jitter configured minimum
collect application voice jitter configured maximum
collect application voice jitter configured initial
collect application voice rx early-packet count
collect application voice rx late-packet count
collect application voice jitter buffer-overrun
collect application voice packet conceal-count
!
177
BRKUCC-2934
Cisco Public
For Your
Reference
178
CUBE Security
Dial-peer
Dial-peer
DTMF xlation
Codec Filtering
Xcoding Control
SIP/H.323
Protocol
Stack
RTP
Library
SIP/H.323
Protocol
Stack
RTP
Library
DSP API
DSP Hardware
Privacy
SIP Header Manipulation
Authentication and
encryption (media) SRTP
Authentication and
encryption (signaling) TLS
Co-resident IOS: All VPN
features
HW LAN/WAN Interfaces
Signaling
BRKUCC-2934
Cisco Public
180
Media
Egress I/F
APPLICATION LAYER
Dialpeer
Matching
Voice Trust
List
NETWORK LAYER
Access
Control Lists
BRKUCC-2934
Cisco Public
BRKUCC-2934
Malformed Signaling
Packets
DoS/TDoS Attacks
Security
Requirement
Encrypted signaling or
media
Rogue BYEs
(ie Bye with Random
CallID)
Eavesdropping
Encryption
BRKUCC-2934
Cisco Public
Security
Requirement
Service Theft
ACLs
IPSec
Privacy
BRKUCC-2934
VPN
1.
2.
Cisco Public
Class of Restriction
Toll Fraud prevention mechanisms listed
above
SIP Trunk Registration
(authentication/credentials CLI)
SIP Hostname Validation
Encryption (TLS with SRTP)
Monitor CDR from CUBE to scan for call
patterns and volumes that may indicate
unauthorized use
UC Services API, External Voice Policy,
SecureLogix Solution
TCL (blacklist/whitelist), PIN authorization
SIP Header Manipulation
PPI/PAI (if offered by SP)
BRKUCC-2934
Cisco Public
Cisco Public
Detect repeated DTMF tones that cause cycling, then take policy action
(disconnect, transfer)
Harassing Calls
Detect multiple phone calls from same phone # (or exchange), then take
policy action (disconnect, record)
911 Notification
Toll Fraud
Detect call patterns from area codes or exchange then take policy
BRKUCC-2934
Cisco Public