voip signaling and call control
DESCRIPTION
VoIP Signaling and Call Control. Cisco Networking Academy Program. Need for Signaling and Call Control. Model for VoIP Signaling and Call Control. VoIP signaling components Endpoints Common control Common control components Call administration Accounting. Call Control Models. H.323 - PowerPoint PPT PresentationTRANSCRIPT
1© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
VoIP Signaling and Call Control
Cisco Networking Academy Program
2© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Need for Signaling and Call Control
3© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Model for VoIP Signaling and Call Control
• VoIP signaling components
Endpoints
• Common control
• Common control components
Call administration
Accounting
4© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Control Models
• H.323
• SIP
• MGCP
• H.248/Megaco protocol
• SAP
• RTSP
• Cisco CallManager
5© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Translation Between Signaling and Call Control
6© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
RTP Sessions
7© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Feature Negotiation
8© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Administration and Accounting
• Administration
Monitors call activity
Monitors resource utilization
Supports user service requests
• Accounting
Maintains call detail records
9© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Status
10© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Address Registration
11© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Address Resolution
12© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Admission Control
13© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Centralized Call Control
14© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Distributed Call Control
15© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Centralized Call Control vs. Distributed Call Control
16© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring H.323
17© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 and Associated Recommendations
18© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Adapted to IP
19© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Terminals
20© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Gateways
21© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
IP-to-IP Gateways
22© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Gatekeepers
23© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Multipoint Conference Components
24© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Component Relationships for Call Establishment and Management
• Endpoint (gateway) to endpoint (gateway)
• Endpoint (gateway) to gatekeeper
• Gatekeeper to gatekeeper
25© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
RAS Messages
26© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Basic Call Setup
27© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 “Fast Connect” Call Setup
28© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Finding and Registering with a Gatekeeper
29© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Flow with a Gatekeeper
30© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gatekeeper-Routed Call Signaling
31© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Multipoint Conferences
32© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Scalability with Multiple Gatekeepers
33© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Flow with Multiple Gatekeepers
34© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Survivability Strategies
• HSRP
• Gateway preconfigured for two gatekeepers or for multicast discovery
• Multiple gatekeepers configured for the same prefix
• Multiple gateways configured for the same prefix
H.323 replication strategies include the following:
35© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
H.323 Proxy Server
36© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Cisco Implementation of H.323
37© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuration Example
38© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gateway 1
Configuring the Gateways
39© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gateway 2
Configuring the Gateways (Cont.)
40© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gatekeeper 1
Configuring the Gatekeepers
41© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring the Gatekeepers (Cont.)
Gatekeeper 2
42© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Example: show Command
43© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring MGCP
44© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
MGCP and Associated Standards
• MGCP is defined in RFC 2705, October 1999
• MGCP architecture and requirements are defined in RFC 2805, April 2000
• Centralized device control with simple endpoints for basic and enhanced telephony services
Allows remote control of various devices
Stimulus protocol
Endpoints and gateways cannot function alone
• Uses IETF SDP
• Addressing by E.164 telephone number
45© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
MGCP Components
46© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Endpoints
Eight types of endpoints are defined in RFC 2705:
• Digital channel
• Analog line
• Announcement server access point
• IVR access point
• Conference bridge access point
• Packet relay
• Wiretap access point
• ATM trunk side interface
47© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Endpoint Identifiers
48© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gateways and Their Roles
• Trunk gateway SS7 ISUP
• Trunk gateway MF
• NAS
• Combined NAS/VoIP gateway
• Access gateway
• Residential gateway
• Announcement servers
49© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Agents
50© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Basic MGCP Concepts
• Calls and connections
• Events and signals
• Packages and digit maps
51© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Calls and Connections
52© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Multipoint Calls
53© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
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
54© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Events and Signals (Cont.)
Signals:
• Answer tone
• Busy tone
• Call waiting tone
• Confirm tone
• Continuity test
• Continuity tone
• Dial tone
• Distinctive ringing (0…7)
• DTMF tones
• Intercept tone
• Network congestion tone
• Off-hook warning tone
• Preemption tone
• Ringback tone
• Ringing
55© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Packages
• Basic packages (generic media, DTMF, MF, trunk, line, handset, RTP, NAS, announcement server, script)
• CAS packages (RFC 3064)
• Business telephone packages (RFC 3149)
56© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Gateways and Their Packages
57© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Digit Maps
58© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Control Commands
• EndpointConfiguration (EPCF)
• NotificationRequest (RQNT)
• Notify (NTFY)
• CreateConnection (CRCX)
• ModifyConnection (MDCX)
• DeleteConnection (DLCX)
• AuditEndPoint (AUEP)
• AuditConnection (AUCX)
• RestartInProgress (RSIP)
59© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Call Flows
60© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Survivability Strategies
61© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Cisco Implementation of MGCP
62© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Understanding Basics of Cisco CallManager
1. Create an MGCP Gateway
2. Configure the FX Ports
3. Test the Phones for Local Connectivity
Basic CallManager Configuration for MGCP Gateway Support:
63© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Cisco CallManager Implementation and Call Flows—Registration
64© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Cisco Call Manager Implementation and Call Flows—FXS Call Flow
65© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
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!
66© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Configuring an MGCP Trunk Gateway
!ccm-manager-mgcpmgcp 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!
67© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony
Example: show Command
Router# show mgcp statistics
UDP pkts rx 8, tx 9Unrecognized rx pkts 0, MGCP message parsing errors 0Duplicate MGCP ack tx 0, Invalid versions count 0CreateConn rx 4, successful 0, failed 0DeleteConn rx 2, successful 2, failed 0ModifyConn rx 4, successful 4, failed 0DeleteConn tx 0, successful 0, failed 0NotifyRequest rx 0, successful 4, failed 0AuditConnection rx 0, successful 0, failed 0AuditEndpoint rx 0, successful 0, failed 0RestartInProgress tx 1, successful 1, failed 0Notify tx 0, successful 0, failed 0ACK tx 8, NACK tx 0ACK rx 0, NACK rx 0IP address based Call Agents statistics:IP address 10.24.167.3, Total msg rx 8, successful 8,failed 0
68© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony