6.VoIP Signaling Call Control
6.VoIP Signaling Call Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Need for Signaling and Call Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Model for VoIP Signaling and
Call Control
• Common control
• Common control components
Call administration
Accounting
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Call Control Models
• H.323
• SIP
• MGCP
• H.248/Megaco protocol
• SAP
• RTSP
• Cisco CallManager
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 4
Translation Between Signaling and Call
Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 5
RTP Sessions
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Call Feature Negotiation
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 7
Call Administration and Accounting
• Administration
Monitors call activity
Monitors resource utilization
Supports user service requests
• Accounting
Maintains call detail records
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Call Status
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Address Registration
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Address Resolution
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Admission Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Centralized Call Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Distributed Call Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Centralized Call Control vs. Distributed Call
Control
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Configuring H.323
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 16
H.323 and Associated Recommendations
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 17
H.323 Adapted to IP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 18
H.323 Terminals
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 19
H.323 Gateways
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 20
IP-to-IP Gateways
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 21
H.323 Gatekeepers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Multipoint Conference Components
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Component Relationships for Call
Establishment and Management
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 24
RAS Messages
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 25
H.323 Basic Call Setup
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 26
H.323 “Fast Connect” Call Setup
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Finding and Registering with a Gatekeeper
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Call Flow with a Gatekeeper
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Gatekeeper-Routed Call Signaling
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Multipoint Conferences
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Scalability with Multiple Gatekeepers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Call Flow with Multiple Gatekeepers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 33
Survivability Strategies
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 34
H.323 Proxy Server
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Cisco Implementation of H.323
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Configuration Example
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Configuring the Gateways
Gateway 1
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Configuring the Gateways (Cont.)
Gateway 2
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Configuring the Gatekeepers
Gatekeeper 1
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Configuring the Gatekeepers (Cont.)
Gatekeeper 2
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Example: show Command
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Configuring MGCP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 43
MGCP and Associated Standards
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 44
MGCP Components
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Endpoints
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Endpoint Identifiers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Gateways and Their Roles
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Call Agents
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Basic MGCP Concepts
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 50
Calls and Connections
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Multipoint Calls
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Events and Signals
Events:
• Continuity detection (as a result of a continuity test)
• Continuity tone
• DTMF digits
• Fax tones
• Hookflash
• Modem tones
• Off-hook transition
• On-hook transition
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Events and Signals (Cont.)
Signals:
• Answer tone • DTMF tones
• Busy tone • Intercept tone
• Call waiting tone • Network congestion
tone
• Confirm tone
• Off-hook warning tone
• Continuity test
• Preemption tone
• Continuity tone
• Ringback tone
• Dial tone
• Ringing
• Distinctive ringing (0…7)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Packages
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Gateways and Their Packages
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 56
Digit Maps
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Control Commands
• EndpointConfiguration (EPCF)
• NotificationRequest (RQNT)
• Notify (NTFY)
• CreateConnection (CRCX)
• ModifyConnection (MDCX)
• DeleteConnection (DLCX)
• AuditEndPoint (AUEP)
• AuditConnection (AUCX)
• RestartInProgress (RSIP)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Call Flows
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 59
Survivability Strategies
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 60
Cisco Implementation of MGCP
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 61
Understanding Basics of
Cisco CallManager
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Cisco Call Manager Implementation and
Call Flows—FXS Call Flow
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Configuring an MGCP Residential Gateway
ccm-manager mgcp
!
mgcp
mgcp call-agent 172.20.5.20
!
voice-port 1/0/0
!
voice-port 1/0/1
!
dial-peer voice 1 pots
application MGCPAPP
port 1/0/0
!
dial-peer voice 2 pots
application MGCPAPP
port 1/0/1
!
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Configuring an MGCP Trunk Gateway
!
ccm-manager-mgcp
mgcp 4000
mgcp call-agent 209.165.202.129 4000
!
controller T1 1/0
framing esf
clock source internal
ds0-group 1 timeslots 1-24 type none service mgcp
!
controller T1 1/1
framing esf
clock source internal
ds0-group 1 timeslots 1-24 type none service mgcp
!
voice-port 1/0:1
!
voice-port 1/1:1
!
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Example: show Command
UDP pkts rx 8, tx 9
Unrecognized rx pkts 0, MGCP message parsing errors 0
Duplicate MGCP ack tx 0, Invalid versions count 0
CreateConn rx 4, successful 0, failed 0
DeleteConn rx 2, successful 2, failed 0
ModifyConn rx 4, successful 4, failed 0
DeleteConn tx 0, successful 0, failed 0
NotifyRequest rx 0, successful 4, failed 0
AuditConnection rx 0, successful 0, failed 0
AuditEndpoint rx 0, successful 0, failed 0
RestartInProgress tx 1, successful 1, failed 0
Notify tx 0, successful 0, failed 0
ACK tx 8, NACK tx 0
ACK rx 0, NACK rx 0
IP address based Call Agents statistics:
IP address 10.24.167.3, Total msg rx 8, successful 8,
failed 0
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 67
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 68