Anda di halaman 1dari 68

VoIP Signaling and Call Control

Cisco Networking Academy Program

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

Need for Signaling and Call Control

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

Model for VoIP Signaling and Call Control


VoIP signaling components
Endpoints

Common control Common control components


Call administration Accounting

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

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

Translation Between Signaling and Call Control

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

RTP Sessions

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

Call Feature Negotiation

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

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

Call Status

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

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


Endpoint (gateway) to endpoint (gateway) Endpoint (gateway) to gatekeeper Gatekeeper to gatekeeper

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
H.323 replication strategies include the following:
HSRP

Gateway preconfigured for two gatekeepers or for multicast discovery


Multiple gatekeepers configured for the same prefix Multiple gateways configured for the same prefix

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


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

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
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
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


Trunk gateway SS7 ISUP Trunk gateway MF NAS Combined NAS/VoIP gateway Access gateway

Residential gateway
Announcement servers

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


Calls and connections Events and signals Packages and digit maps

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 Busy tone Call waiting tone Confirm tone Continuity test Continuity tone Dial tone Distinctive ringing (07) DTMF tones Intercept tone Network congestion tone Off-hook warning tone Preemption tone Ringback tone Ringing

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

54

Packages
Basic packages (generic media, DTMF, MF, trunk, line, handset, RTP, NAS, announcement server, script)

CAS packages (RFC 3064)


Business telephone packages (RFC 3149)

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

Basic CallManager Configuration for MGCP Gateway Support:


1. Create an MGCP Gateway 2. Configure the FX Ports 3. Test the Phones for Local Connectivity
IP Telephony 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

62

Cisco CallManager Implementation and Call FlowsRegistration

IP Telephony

2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

63

Cisco Call Manager Implementation and Call FlowsFXS 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

Router# show mgcp statistics 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