voip signaling and call control

68
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public IP Telephony VoIP Signaling and Call Control Cisco Networking Academy Program

Upload: corbin

Post on 15-Jan-2016

55 views

Category:

Documents


0 download

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 Presentation

TRANSCRIPT

Page 1: VoIP Signaling and Call Control

1© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

VoIP Signaling and Call Control

Cisco Networking Academy Program

Page 2: VoIP Signaling and Call Control

2© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Need for Signaling and Call Control

Page 3: VoIP 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

Page 4: VoIP Signaling and Call Control

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

Page 5: VoIP Signaling and Call Control

5© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Translation Between Signaling and Call Control

Page 6: VoIP Signaling and Call Control

6© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

RTP Sessions

Page 7: VoIP Signaling and Call Control

7© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Feature Negotiation

Page 8: VoIP Signaling and Call Control

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

Page 9: VoIP Signaling and Call Control

9© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Status

Page 10: VoIP Signaling and Call Control

10© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Address Registration

Page 11: VoIP Signaling and Call Control

11© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Address Resolution

Page 12: VoIP Signaling and Call Control

12© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Admission Control

Page 13: VoIP Signaling and Call Control

13© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Centralized Call Control

Page 14: VoIP Signaling and Call Control

14© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Distributed Call Control

Page 15: VoIP Signaling and Call Control

15© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Centralized Call Control vs. Distributed Call Control

Page 16: VoIP Signaling and Call Control

16© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Configuring H.323

Page 17: VoIP Signaling and Call Control

17© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 and Associated Recommendations

Page 18: VoIP Signaling and Call Control

18© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Adapted to IP

Page 19: VoIP Signaling and Call Control

19© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Terminals

Page 20: VoIP Signaling and Call Control

20© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Gateways

Page 21: VoIP Signaling and Call Control

21© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

IP-to-IP Gateways

Page 22: VoIP Signaling and Call Control

22© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Gatekeepers

Page 23: VoIP Signaling and Call Control

23© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Multipoint Conference Components

Page 24: VoIP Signaling and Call Control

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

Page 25: VoIP Signaling and Call Control

25© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

RAS Messages

Page 26: VoIP Signaling and Call Control

26© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Basic Call Setup

Page 27: VoIP Signaling and Call Control

27© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 “Fast Connect” Call Setup

Page 28: VoIP Signaling and Call Control

28© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Finding and Registering with a Gatekeeper

Page 29: VoIP Signaling and Call Control

29© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Flow with a Gatekeeper

Page 30: VoIP Signaling and Call Control

30© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gatekeeper-Routed Call Signaling

Page 31: VoIP Signaling and Call Control

31© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Multipoint Conferences

Page 32: VoIP Signaling and Call Control

32© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Scalability with Multiple Gatekeepers

Page 33: VoIP Signaling and Call Control

33© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Flow with Multiple Gatekeepers

Page 34: VoIP Signaling and Call Control

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:

Page 35: VoIP Signaling and Call Control

35© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

H.323 Proxy Server

Page 36: VoIP Signaling and Call Control

36© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco Implementation of H.323

Page 37: VoIP Signaling and Call Control

37© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Configuration Example

Page 38: VoIP Signaling and Call Control

38© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gateway 1

Configuring the Gateways

Page 39: VoIP Signaling and Call Control

39© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gateway 2

Configuring the Gateways (Cont.)

Page 40: VoIP Signaling and Call Control

40© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gatekeeper 1

Configuring the Gatekeepers

Page 41: VoIP Signaling and Call Control

41© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Configuring the Gatekeepers (Cont.)

Gatekeeper 2

Page 42: VoIP Signaling and Call Control

42© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Example: show Command

Page 43: VoIP Signaling and Call Control

43© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Configuring MGCP

Page 44: VoIP Signaling and Call Control

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

Page 45: VoIP Signaling and Call Control

45© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

MGCP Components

Page 46: VoIP Signaling and Call Control

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

Page 47: VoIP Signaling and Call Control

47© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Endpoint Identifiers

Page 48: VoIP Signaling and Call Control

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

Page 49: VoIP Signaling and Call Control

49© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Agents

Page 50: VoIP Signaling and Call Control

50© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Basic MGCP Concepts

• Calls and connections

• Events and signals

• Packages and digit maps

Page 51: VoIP Signaling and Call Control

51© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Calls and Connections

Page 52: VoIP Signaling and Call Control

52© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Multipoint Calls

Page 53: VoIP Signaling and Call Control

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

Page 54: VoIP Signaling and Call Control

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

Page 55: VoIP Signaling and Call Control

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)

Page 56: VoIP Signaling and Call Control

56© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Gateways and Their Packages

Page 57: VoIP Signaling and Call Control

57© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Digit Maps

Page 58: VoIP Signaling and Call Control

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)

Page 59: VoIP Signaling and Call Control

59© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Call Flows

Page 60: VoIP Signaling and Call Control

60© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Survivability Strategies

Page 61: VoIP Signaling and Call Control

61© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco Implementation of MGCP

Page 62: VoIP Signaling and Call Control

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:

Page 63: VoIP Signaling and Call Control

63© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco CallManager Implementation and Call Flows—Registration

Page 64: VoIP Signaling and Call Control

64© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony

Cisco Call Manager Implementation and Call Flows—FXS Call Flow

Page 65: VoIP Signaling and Call Control

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!

Page 66: VoIP Signaling and Call Control

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!

Page 67: VoIP Signaling and Call Control

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

Page 68: VoIP Signaling and Call Control

68© 2005 Cisco Systems, Inc. All rights reserved. Cisco PublicIP Telephony