Configuring Cisco CME

August 14, 2017 | Author: Roman | Category: Ip Address, Sampling (Signal Processing), Telephony, Voice Over Ip, Internet Protocols
Share Embed Donate


Short Description

Descripción: Configuring Cisco CallManager Express (CME)...

Description

Configuring Cisco CallManager Express (CME)

Cisco Networking Academy Program

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

1

Overview of Cisco CME

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

2

What is Cisco CallManager Express? Cisco CME

Trunks PSTN

WAN

• Call processing for small to medium sized deployments • VoIP integrated solution • Up to 120 IP phones • IOS based solution IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

3

What is Cisco CallManager Express? (Cont.) • Select IOS based platform • Multiservice access routers

2600XM

3700

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

1700

Cisco Public

4

How Does Cisco CallManager Express Work? Connection(s) to PSTN • Analog • Digital

PSTN

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

5

How Does Cisco CallManager Express/Cisco Unity Express Work? (Cont.) PSTN

H.323 between Cisco CME systems

H.323 H.323

WAN

WAN H.323

PSTN

SIP

PSTN Gateway and IP to IP Gateway functionality

PSTN IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

6

Differences between Traditional Telephony and VoIP

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

7

Basic Components of a Telephony Network

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

8

Central Office Switches

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

9

What Is a PBX?

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

10

What Is a Key System?

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

11

Basic Call Setup

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

12

Digitizing Analog Signals 1. Sample the analog signal regularly 2. Quantize the sample 3. Encode the value into a binary expression 4. Compress the samples to reduce bandwidth (multiplexing), optional step

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

13

Nyquist Theorem

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

14

Quantization

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

15

Quantization Techniques • Linear Uniform quantization

• Logarithmic quantization Compands the signal Provides a more uniform signal-to-noise ratio

• Two methods α-law (most countries) μ-law (Canada, U.S., and Japan)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

16

Voice-Compression Techniques • Waveform algorithms PCM ADPCM

• Source algorithms LDCELP CS-ACELP

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

17

Example: Waveform Compression • PCM Waveform coding scheme

• ADPCM Waveform coding scheme Adaptive: automatic companding Differential: encode changes between samples only

• ITU standards: G.711 rate: 64 kbps = (2 x 4 kHz) x 8 bits/sample G.726 rate: 32 kbps = (2 x 4 kHz) x 4 bits/sample G.726 rate: 24 kbps = (2 x 4 kHz) x 3 bits/sample G.726 rate: 16 kbps = (2 x 4 kHz) x 2 bits/sample IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

18

Example: Source Compression • CELP Hybrid coding scheme

• High-quality voice at low bit rates, processor intensive • G.728: LDCELP—16 kbps • G.729: CS-ACELP—8 kbps G.729A variant—8 kbps, less processor intensive, allows more voice channels encoded per DSP Annex-B variant –VAD and CNG

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

19

G.729 and G.729A Comparison • Both are ITU standards • Both are 8 kbps CS-ACELP • G.729 more complex and processor intensive • G.729 slightly higher quality than G.729A • Compression delay the same (10 to 20 ms) • Annex-B variant may be applied to either

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

20

Real-Time Transport Protocol • Provides end-to-end network functions and delivery services for delay-sensitive, real-time data, such as voice and video • Works with queuing to prioritize voice traffic over other traffic • Services include: Payload type identification Sequence numbering Timestamping Delivery monitoring

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

21

Real-Time Transport Control Protocol • Monitors the quality of the data distribution and provides control information • Provides feedback on current network conditions • Allows hosts involved in an RTP session to exchange information about monitoring and controlling the session • Provides a separate flow from RTP for UDP transport use

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

22

RTP Header Compression

• RTP header compression saves bandwidth by compressing packet headers across WAN links

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

23

When to Use RTP Header Compression

• Narrowband links • Slow links (less than 2 Mbps) • Need to conserve bandwidth on a WAN interface IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

24

Challenges and Solutions in VoIP

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

25

Reliability and Availability • Traditional telephony networks claim 99.999% uptime • Data networks must consider reliability and availability requirements when incorporating voice • Methods to improve reliability and availability include: Redundant hardware Redundant links UPS Proactive network management

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

26

Bandwidth Implications of Codec

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

27

Impact of Voice Samples

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

28

Data Link Overhead • Ethernet: 18 bytes overhead • MLP: 6 bytes overhead • Frame Relay: 6 bytes overhead

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

29

Total Bandwidth Required

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

30

Effect of VAD

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

31

Cisco CME Features and Functionality

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

32

Supported Protocols and Integration Options (Cont.) FAX

ATA V

H.323 ATA Analog

Skinny

V

Skinny

Analog Phones

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

33

Supported Protocols and Integration Options Skinny Client Control Protocol (SCCP) • Cisco proprietary • Call Control protocol • Lightweight protocol • Low memory requirements • Low complexity • Low CPU requirements

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

34

Supported Protocols and Integration Options (Cont.) Skinny Protocol Caveats • QoS, bandwidth and CAC support are not built into the Skinny protocol • Complex connection paths can cause QoS problems • Remote registration of IP phones and ATAs is not supported

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

35

Supported Protocols and Integration Options (Cont.)

• Cisco CME does not support remotely registered phones

CME

PSTN

WAN Local Phones

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

X X

Remote Phones

Cisco Public

36

Supported Protocols and Integration Options (Cont.) H.323 Protocol • Supports Voice, Video, and Data • Industry Standard • Complex protocol • Higher complexity than Skinny protocol • CAC functionality is part of the protocol • Authentication is part of the protocol

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

37

Supported Protocols and Integration Options (Cont.) CallManager Cluster

H.323 Connections

Vmail

PSTN H.323

CME H.323

H.323

WAN H.323

V

CME

Recommended IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

38

Supported Protocols and Integration Options (Cont.) Cisco CME can register to a H.323 gatekeeper thereby ensuring the WAN is not oversubscribed H.323

WAN Register

1000 2095551000

Register

Gatekeeper

Register Extension number and/or E.164 number

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

2000 3095552000 Register Extension number and/or E.164 number Cisco Public

39

Supported Protocols and Integration Options (Cont.) SIP Protocol • Emerging standard • Vendor specific in most cases • Higher complexity than Skinny protocol • Authentication is part of the protocol • Based on other well known protocols

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

40

Supported Protocols and Integration Options (Cont.) CallManager Cluster

SIP Connections

Vmail

PSTN H.323

CME SIP

SIP

WAN SIP

V

CME

H.323 is recommended today IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

41

Cisco CallManager Express Requirements • Feature license • Seat license • IOS platform 12.3(7)T or greater is recommended IP Voice

• Cisco CME software and files GUI files Firmware

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

42

Cisco CallManager Express Restrictions Cisco CME 3.1 caveats • TAPI v2.1 • Cisco JTAPI • Cisco IP Softphone • Remote SCCP phones across a WAN • G.729 conferences • MGCP

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

43

Cisco CallManager Express Restrictions (Cont.) • TAPI Lite Functionality • Supported: Operation of multiple independent clients (e.g. one client per phone line) Windows phone dialer Outlook contact dialer Third party applications

• Not Supported: TAPI based softphone Multiple-user or multiple-call handling (Required for ACD) Direct media- and voice-handling JTAPI IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

44

Cisco CME Network Parameters

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

45

Auxiliary VLANs • Prevent unnecessary IP address renumbering • Simplifies Quality of Service (QoS) configurations • Separates Voice and Data traffic • Requires two Virtual Local Area Networks (VLANs) one for Data and one for Voice • Requires only one drop down Ethernet for the CallManager Express IP phone and the PC plugged into the phone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

46

Auxiliary VLANs (Cont.) IP Addressing Deployment Options IP Phone + PC on same switch ports

Recommended

171.68.249.100

171.68.249.100

171.68.249.101

10.1.1.1

Public IP addresses

IP Phone uses private Network

IP Phone + PC on separate switch ports 171.68.249.101

171.68.249.100

Public IP addresses IP Telephony

IP Phone + PC on same switch ports

© 2005 Cisco Systems, Inc. All rights reserved.

IP Phone + PC on separate switch ports 10.1.1.1

171.68.249.100

IP Phone uses private network Cisco Public

47

Configuring Auxiliary VLANs • An access port able to handle 2 VLANs • Native VLAN (PVID) and Auxiliary VLAN (VVID) • Hardware set to dot1q trunk

Tagged 802.1q (Voice VLAN)

Untagged 802.3 (Native VLAN)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

48

Configuring Auxiliary VLANs - Switching Review

• Address learning • Forward/filter decision • Loop avoidance IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

49

Configuring Auxiliary VLANs (Cont.) Example 3550 switch or EtherSwitch Network Module Console(config)#interface FastEthernet0/1 Console(config-if)#switchport trunk encapsulation dot1q Console(config-if)#switchport trunk native vlan 1 Console)config-if)#switchport access vlan 12 Console(config-if)#switchport mode trunk Console(config-if)#switchport voice vlan 112 Console(config-if)#spanning-tree portfast

• 802.1q trunking is enabled on the port • The access VLAN is used for the PC plugged into the IP phone • The voice VLAN is used for voice and signaling that originates and terminates on the IP phone • Spanning tree portfast enables the port to initialize quickly IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

50

Configuring Auxiliary VLANs (Cont.) Switch# show interface fa0/17 switchport Name: Fa0/17 Switchport: Enabled Administrative mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: Disabled Access Mode VLAN: 0 ((Inactive)) Trunking Native Mode VLAN: 12 (VLAN0012) Trunking VLANs Enabled: ALL Trunking VLANs Active: 1-3,5,10,12 Pruning VLANs Enabled: 2-1001 Priority for untagged frames: 0 Override vlan tag priority: FALSE Voice VLAN: 112 Appliance trust: none IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

51

Configuring Auxiliary VLANs - Router Configuration

802.1q trunk Trunk on a router interface fastethernet 1/0.1 encapsulation dot1q 10

VLAN 10

ip address 10.10.0.1 255.255.255.0 interface fastethernet 1/0.2 encapsulation dot1q 20 ip address 10.20.0.1 255.255.255.0

VLAN 20

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

...

Cisco Public

52

DHCP Service Setup Dynamic Host Configuration Protocol • Assigns an IP addresses and subnet masks for one or more subnets • Optionally can assign a default gateway • Optionally can assign DNS servers • Optionally can assign other commonly used servers • The DHCP scope can be customized to assign a TFTP server to IP phones • Best practice is to configure a DHCP scope for the IP phones IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

53

DHCP Service Setup (Cont.) DHCP Service Options • Single DHCP IP Address Pool • Separate DHCP IP Address Pool for Each Cisco IP Phone • DHCP Relay Server

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

54

DHCP Service Setup (Cont.): Phone Bootup The IP phone powers on

On the Cisco CME router a DHCP Scope can be configured. The scope should define the following:

The phone performs a Power on Self Test (POST)

• Range of available IP addresses

The phone boots up

• A default gateway

Through CDP the IP phone learns what the auxiliary VLAN is

• The address of the TFTP server

• The subnet mask

• DNS server(s)

The phone initializes the IP stack

Continued next slide…

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

55

DHCP Service Setup (Cont.): Phone Bootup (Cont.)

IP phone send DHCP Discover broadcast requesting an IP address DHCP server selects a free IP address from the pool and sends along with the other scope parameters as a DHCP Offer The IP phone initializes applies the IP configuration to the IP stack The IP phone requests it configuration file from the TFTP server

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

56

DHCP Service Setup (Cont.) CMERouter(config)#

ip ip dhcp dhcp excluded-address excluded-address start-IP start-IP end-IP end-IP

• Sets a range of addresses to be excluded from the configured scopes CMERouter(config)#

ip ip dhcp dhcp pool pool pool-name pool-name

• Creates and enters a the DHCP scope mode CMERouter(dhcp-config)#

network network subnet subnet subnet-mask subnet-mask

• Defines the range of addresses that will be used to assign to DHCP clients

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

57

DHCP Service Setup (Cont.) CMERouter(dhcp-config)#

option option option-number option-number ip ip IP-address IP-address

• Defines a custom option and its value CMERouter(dhcp-config)#

default-router default-router IP-address IP-address

• Sets the default gateway that will handed out to the DCHP clients CMERouter(dhcp-config)#

dns-server dns-server primary-IP primary-IP [secondary [secondary IP] IP]

• Sets the DNS server(s) that will assigned to the DHCP clients IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

58

DHCP Service Setup (Cont.) Configuring DHCP on an IOS router CMERouter(config)#ip dhcp exluded-address 10.90.0.1 10.90.0.10 CMERouter(config)#ip dhcp pool mypool CMERouter(dhcp-config)#network 10.90.0.0 255.255.255.0 CMERouter(dhcp-config)#option 150 ip 10.90.0.1 CMERouter(dhcp-config)#default-router 10.90.0.1 CMERouter(dhcp-config)#dns-server 10.100.0.1 10.100.0.2 CMERouter(dhcp-config)#exit

• Option 150 sets the TFTP server on the IP phone • The TFTP server contains the configuration files and firmware for the IP phone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

59

IP Phone Registration

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

60

Files Files critical to the IP phone • Firmware • SEPAAAABBBBCCCC.cnf.xml • XmlDefault.cnf.xml

SEP SEP

XML SEP XML SEP XML SEP XML XML

TFTP Server

• SCCP-dictionary.xml • Phonemodel-dictionary.xml • Phonemodel-tones.xml

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

61

Files (Cont.): Firmware 7905 Firmware 7940 Firmware 7960 Firmware

CMERouter1#show flash -#- --length-- -----date/time------ path 1 399514 Mar 1 2002 12:56:28 P00305000301.sbn 2 22649180 Mar 1 2002 12:38:00 c3725-ipvoice-mz.123-7.T.bin 3 321939 Mar 1 2002 12:55:58 CP7902010200SCCP031023A.sbin 4 317171 Mar 1 2002 12:56:06 CP7905010200SCCP031023A.sbin 5 317968 Mar 1 2002 12:56:10 CP7912010200SCCP031023A.sbin 6 700651 Mar 1 2002 12:56:18 CiscoIOSTSP.zip 7 369950 Mar 1 2002 12:56:22 P00303020214.bin 8 333822 Mar 1 2002 12:56:30 P00403020214.bin 9 47904 Mar 1 2002 12:56:54 S00103020002.bin 10 301298 Mar 1 2002 12:56:56 ata18x-v2-16-ms-030327b.zup 11 496521 Mar 1 2002 12:57:22 music-on-hold.au 12 1908762 Mar 1 2002 12:56:54 P00503010100.bin 13 21 Mar 1 2002 12:56:18 OS7920.txt 14 839984 Mar 1 2002 12:57:18 cmterm_7920.3.3-01-06.bin

… … 33 34

307067 Mar 1 2002 12:56:02 CP79050101SCCP030530B31.zup 710144 Mar 1 2002 12:57:06 cme-gui-3.1.1.tar

• Firmware is installed in flash RAM with the Cisco CME software or individually as needed • Served up by the TFTP server on the Cisco CME router • The command tftp-server flash:firmware-file-name IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

62

Files (Cont.): Device Configuration XML File SEPXXXXXXXXXXXX.cnf.xml

SEP

XML * XXXXXXXXXXX = to the MAC address IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

2000 10.15.0.1 {Jan 01 2002 00:00:00} P00303020214 - English_United_States en United_States 0 http://10.15.0.1/localdirectory Cisco Public

63

Files (Cont.): Default XML File XMLDefault.cnf.xml

Default

XML * Notice there is no ATA or 7914 IP Telephony

2000 10.15.0.1 P00403020214 P00303020214 P00303020214

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

64

Files (Cont.): Language Specific XML Files 7960-dictionary.xml SCCP-dictionary.xml

Language

XML Contents will vary based upon language selected with the user-locale command IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.





Cisco Public

65

Files (Cont.): Call Progress XML File 7960-tones.xml

Call Progress

XML Contents will vary based upon call progress tones selected with the networklocale command IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

66

IP Phone Information No 7914 in the XMLDefault.cnf.xml

Default

XML

P00403020214 P00303020214 P00303020214

• The 7914 expansion module cannot auto register • Require the use of the “type” command entered by the administrator • All other valid devices can be recognized automatically by the Cisco CME system IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

67

Download and Registration Power over Ethernet

Step 1 - Switch sends a Fast Link Pulse (FLP)

FLP Step 2 - The phone returns the FLP to the switch due to a completed circuit

FLP Step 3 - Power is applied

Step 4 - Link is detected on switchport Step 5 - The IP phone boots up Step 6 - The amount of power really needed is passed through CDP from the IP phone to the switch

CDP Power needed IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

68

Download and Registration (Cont.) DHCP DHCP Server or DHCP Relay Step 7 - CDP is used to send the auxiliary VLAN information from the switch to the IP phone

CDP Voice VLAN

DHCPDiscover

Step 8 - The IP phone initializes the IP stack and sends a DHCPDiscover broadcast message

Broadcast Step 9 - The DHCP server hears the DHCPDiscover message and selects an IP address from the scope and sends a DHCPOffer

DHCPOffer IP address, Subnet Mask, Default Gateway, and TFTP server (option 150)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

69

Download and Registration (Cont.) Existing IP Phone MAC 000F.2470.AA32 Cisco CME is the TFTP Server Step 10 - Phone applies addressing information obtained through DHCP to the IP stack

Step 11 - Using the address of the TFTP server learned from the option 150 in the DHCPOffer the phone looks for and downloads the file named SEPAAAABBBBCCCC.cnf.xml (where AAAABBBBCCCC is the MAC address), if the file is found the phone will register SEP

XML

TFTP request for the SEP000F2470AA32.cnf.xml file SEP000F2470AA32.cnf.xml file

If no SEP XML file is found go to Step 14 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

70

Download and Registration (Cont.) Unknown IP Address MAC 000F.2470.AA32 Cisco CME is the TFTP Server

Step 12 - If the firmware version currently on the phone is different than the version specified in the SEPAAAABBBBCCCC.cnf.xml file then the firmware is downloaded from the TFTP server 7960 Firmware

TFTP request for firmware if needed

Firmware file Step 13 - IP phone will reboot if the firmware was updated

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

71

Download and Registration (Cont.) Unknown IP Phone Unknown IP address with MAC 000F.2470.AA32

CallManager Express is the TFTP Server

Step 14 - If no SEP XML file was found then download from the TFTP server the XMLDefault.cnf.xml file Default

XML

TFTP request for the XMLDefault.cnf.xml file XMLDefault.cnf.xml file

Step 15 - The phone will register to CallManager Express but without any assigned extension. No calls will be able to be placed or received and a SEP file will be created on the CallManager Express router

or Step 16 - If auto assign is enabled or the phone has been configured then the new IP phone will register to the CallManager Express and given an extension number

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

72

Ephone-dn and Ephone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

73

Ephone-dn A DN and Extension number are equivalent Line and voice port are equivalent Has a unique tag or sequence number assigned when the ephone-dn is created Can have one or more telephone numbers associated with it

Primary extension number on a single line ephone-dn that can make or receive one call at a time

ephone-dn Primary/Secondary extensions configured on a single line ephone-dn where the primary is an internal extension number and the secondary is an E.164 number

DN1 and DN2 ephone-dn

Can have one voice channel or two voice channels Creates one or more telephony system pots dial peers when the ephone-dn is initially configured

DN1

One phone extension on a dual line ephone-dn for ephone-dns that need call waiting, consultative transfer and conferencing

DN1 DN1 ephone-dn

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

74

Ephone-dn (Cont.) router(config)#

ephone-dn ephone-dn dn-tag dn-tag [dual-line] [dual-line]

• This command is used to create an extension (ephone-dn) for a Cisco IP phone line, an intercom line, a paging line, a voice-mail port, or a messagewaiting indicator (MWI). router(config-ephone-dn)#

number number dn-number dn-number secondary secondary dn-number dn-number [no-reg [no-reg [both [both || primary]] primary]]

• This command is used to associate a DN number with the ephone-dn instance

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

75

Ephone • Software configuration of a physical phone • Has a unique tag or sequence number assigned when the ephone is created • Can be an IP phone, analog phone attached to an ATA

7960

Button 1 DN

Button 4

DN

Button 2 DN

Button 5

DN

DN

Button 6

DN

Button 3

MAC 000F.2470.F92A 7912

• The MAC of the IP phone or ATA is used to tie the software configuration to the hardware • The hardware is auto detected for all supported models except the ATA and 7914 expansion module • Can have one or more ephonedn(s) associated with the ephone • Number of line buttons will vary based on the hardware

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Button 1 DN

MAC 000F.2470.F92B ATA 188

Analog 1 DN

MAC 000F.2470.F92D Analog 2 DN

MAC 000F.2470.F92E

Cisco Public

76

Ephone (Cont.)

router(config)#

ephone ephone phone-tag phone-tag

• Creates an ephone instance and enters ephone configuration mode router(config-ephone)#

mac-address mac-address mac-address mac-address

• Assigns the physical IP phone by MAC address with this instance of an ephone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

77

Ephone (Cont.) router(config-ephone)#

button button button-number button-number {separator} {separator} dn-tag dn-tag [[button-number [[button-number {separator} {separator} dn-tag]…] dn-tag]…]

• Associates the ephone-dn(s) with a specific button(s) on the IP phone

router(config-ephone)#

type {7940 | 7960} addon 1 7914 [2 7914]

• Defines the device as a 7914 module(s)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

78

Ephone (Cont.): Basic Example MAC 000F.2470.F8F8

ephone 1 1001

Button 1

ephone-dn 7: one virtual port

000F.2470.F8F8

CMERouter(Config)#ephone-dn 7 CMERouter(Config-ephone-dn)#number 1001 CMERouter(config)#ephone 1 CMERouter(config-ephone)#mac-address 000F.2470.F8F8 CMERouter(config-ephone)#button 1:7 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

79

Ephone (Cont.): Example Multiple Ephones

1004

1004

1004

1005

1005

1005

1006

1006

1006

V 1007

ATA-186/188

• Four physical phones • Four ephones defined

1007 1007

• Four ephone-dns defined IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

80

Ephone (Cont.): Example Multiple Ephones Configuration Configuration example CMERouter(config)#ephone-dn 10 dual-line CMERouter(config-ephone-dn)#number 1004 CMERouter(config)#ephone-dn 11 dual-line CMERouter(config-ephone-dn)#number 1005 CMERouter(config)#ephone-dn 12dual-line CMERouter(config-ephone-dn)#number 1006 CMERouter(config)#ephone-dn 13 dual-line CMERouter(config-ephone-dn)#number 1007 CMERouter(config)#ephone 1 CMERouter(config-ephone)#mac-address 000F.2470.F8F1 CMERouter(config-ephone)#button 1:10 CMERouter(config)#ephone 2 CMERouter(config-ephone)#mac-address 000F.2470.A302 CMERouter(config-ephone)#button 1:11 CMERouter(config)#ephone 3 CMERouter(config-ephone)#mac-address 000F.2470.66F6 CMERouter(config-ephone)#button 1:12 CMERouter(config)#ephone 4 CMERouter(config-ephone)#mac-address 000F.2470.7B54 CMERouter(config-ephone)#type ata CMERouter(config-ephone)#button 1:13

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

81

Ephone (Cont.): Multiple Ephone-dns

Button 1

1008 on line 1 1009 on line 2

Button 2

1008 1008 1009 1009

1010 on line 1 1011 on line 6

Button 1

• Two physical phones

Button 6

1010 1010 1011 1011

• Four dual line ephone-dns defined • Two ephones defined IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

82

Ephone (Cont.): Multiple Ephone-dns Configuration Example Multiple line ephone configuration example CMERouter(config)#ephone-dn 14 dual-line CMERouter(config-ephone-dn)#number 1008 CMERouter(config)#ephone-dn 15 dual-line CMERouter(config-ephone-dn)#number 1009 CMERouter(config)#ephone-dn 16 dual-line CMERouter(config-ephone-dn)#number 1010 CMERouter(config)#ephone-dn 17 dual-line CMERouter(config-ephone-dn)#number 1011 CMERouter(config)#ephone 5 CMERouter(config-ephone)#mac-address CMERouter(config-ephone)#button 1:14 CMERouter(config)#ephone 6 CMERouter(config-ephone)#mac-address CMERouter(config-ephone)#button 1:16 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

000F.2470.FAA1 2:15 000F.2470.A7E2 6:17 Cisco Public

83

Type of Ephone-dns: Overview Six types of ephone-dns • Single-line ephone-dn

Single line

1002 Dual line

• Dual-line ephone-dn • Primary and secondary extension on ephone-dn

1001

Primary and secondary extension on a single or dual line ephone-dn

1002

1004 and 1005

• Shared ephone-dn • Multiple ephone-dns • Overlay ephone-dn

Shared single or dual line ephone-dn Multiple single or dual line ephonedns on one or more ephones

Overlay ephonedns on an ephone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

1006

1006

1003

1003

1003

1003

1007 Cisco Public

84

Single Line Ephone-dn One virtual voice port

One channels

1001

CMERouter(Config)#ephone-dn 1 CMERouter(Config-ephone-dn)#number 1001 • The ephone-dn creates one virtual voice port • One call to or from this ephone-dn at any one time

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

85

Dual Line Ephone-dn One virtual voice port

Two channels

1002 1002

CMERouter(Config)#ephone-dn 2 dual-line CMERouter(Config-ephone-dn)#number 1002 • The ephone-dn creates one virtual voice port • The “dual-line” keyword indicates two voice channels for calls to terminate on an ephone-dn extension • Use on ephone-dns that need call waiting, consultative transfer, or conferencing on one button • Cannot be used on ephone-dns used for intercoms, paging, MWI or MoH feeds

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

86

Primary and Secondary Extension Number on Ephone-dn One virtual voice port

One channels

1005 and 2065559005

CMERouter(Config)#ephone-dn 6 CMERouter(Config-ephone-dn)#number 1005 secondary 2065559005 no-reg primary

• The ephone-dn creates one virtual voice port • Two different directory numbers can be dialed to reach this ephone-dn • One call connection allowed if configured as a single-line ephone-dn • Two call connections allowed if configured as a dual-line ephone-dn • Allows two numbers to be configured without using an extra ephone-dn • The secondary number will be registered to the H.323 gatekeeper

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

87

Shared Ephone-dn

Button 1

1006 on line 1

1006 1006

1100 on line 2 Button 2

1100

1007 on line 1 1100 on line 2

Button 1

• One ephone-dn applied on two different ephones • Only one phone can use the ephone-dn at a time • Both phones ring when a call arrives at the ephone-dn

Button 2

1007 1007

1100

• Only one ephone can pick up the call ensuring privacy • If a call is placed on hold either ephone can retrieve the call IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

88

Shared Ephone-dn Configuration Example Shared line appearance configuration example CMERouter(config)#ephone-dn 7 dual-line CMERouter(config-ephone-dn)#number 1006 CMERouter(config)#ephone-dn 8 dual-line CMERouter(config-ephone-dn)#number 1007 CMERouter(config)#ephone-dn 9 CMERouter(config-ephone-dn)#number 1100 CMERouter(config)#ephone 7 CMERouter(config-ephone)#mac-address 000F.2470.FAA1 CMERouter(config-ephone)#button 1:7 2:9 CMERouter(config)#ephone 8 CMERouter(config-ephone)#mac-address 000F.2470.A7E2 CMERouter(config-ephone)#button 1:8 2:9

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

89

Two Ephone-dns with one extension number Multiple ephone-dns

Ephone 3

• On the same ephone Used when more than two calls to the same extension are needed

1003

Button 1

1003 1003

Button 2

1003

preference 0 no huntstop preference 1 huntstop

• On different ephones Used when two different ephones need the same number Not a shared line Only one ephone will ring at a time A call on hold can be retrieved only by the ephone that put the call on hold IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Ephone 4 1004

Button 2

1004

preference 0 no huntstop

Ephone 5 1004

Button 2

1004

preference 1 huntstop

Cisco Public

90

Preference and Huntstop Commands

router(config-ephone-dn)#

preference preference {0-10} {0-10}

• Sets the dial-peer preference order router(config-ephone-dn)#

huntstop huntstop [channel] [channel]

• Discontinues the call hunting behavior for an extension (ephone-dn) or an extension line (dual-line)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

91

Huntstop 1020 DN Preference 0

no huntstop

Call arrives at first ephone-dn

Ephone-dn 10

no huntstop channel Channel 1 Busy

Channel 2

1020 DN Preference 1

no huntstop

Ephone-dn 11

Busy

no huntstop channel Channel 1 Busy

Channel 2

1020 DN Preference 2

huntstop

Ephone-dn 12

Busy

no huntstop channel Channel 1 Busy

Channel 2

1020 DN

Ephone-dn 13 Channel 1

Preference 3

* Same DN on the ephone-dns IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Channel 2

X * Ring no answer timeout of 10 seconds set globally Cisco Public

92

Huntstop Channel 1020 DN Preference 0

no huntstop

Call arrives at first ephone-dn

Ephone-dn 10

huntstop channel Channel 1

Channel 2 Busy

1020 DN Preference 1

no huntstop

Ephone-dn 11

huntstop channel Channel 1

Channel 2 Busy

1020 DN Preference 2

huntstop

Ephone-dn 12

no huntstop channel Channel 1 Busy

Channel 2

1020 DN

Ephone-dn 13 Channel 1

Preference 3

Channel 2 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

X * Ring no answer timeout of 10 seconds set globally Cisco Public

93

Two Ephone-dns/One Number/Same Ephone 1003 on line button 1 1003 on line button 2

Ephone 3 1003

Button 1

1003 1003

Button 2

1003

preference 0 no huntstop preference 1 huntstop

• If either of the two voice channels are available, the ephone-dn assigned to line button 1 will be used when an incoming call is setup • When the two voice channels on the ephone-dn are being used on line button 1, an incoming call will roll to the ephone-dn assigned to line button 2 • A fifth call will receive busy treatment when both voice channels on both ephone-dns are being used on line button 1 and 2 • The preference of 0 is more preferred than a preference of 1. The default is 0 • The “no huntstop” on the line button 1 ephone-dn allows the call to hunt to the second ephone-dn when the first ephone-dn is busy • The “huntstop” on the line button 2 ephone-dn stops the hunting behavior and applies the busy treatment IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

94

Two Ephone-dns/One Number/Same Ephone Two ephone-dns with one number on the same ephone configuration example CMERouter(config)#ephone-dn 3 CMERouter(config-ephone-dn)#number 1003 CMERouter(config-ephone-dn)#preference 0 CMERouter(config-ephone-dn)#no huntstop CMERouter(config)#ephone-dn 4 CMERouter(config-ephone-dn)#number 1003 CMERouter(config-ephone-dn)#preference 1 CMERouter(config-ephone-dn)#huntstop CMERouter(config)#ephone 3 CMERouter(config-ephone)#mac-address 000F.2470.FAA1 CMERouter(config-ephone)#button 1:3 2:4

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

95

Two Ephone-dns/One Number/Diff Ephones 1004 on line button 2 Ephone 4

Button 2

1004

preference 0 no huntstop

Ephone 5

Button 2

1004

preference 1 huntstop

1004 on line button 2 • Ephone 4 will be used first if available

• When the first ephone-dn is being used on ephone 4, an incoming call will use the ephone-dn assigned to ephone 5 • A third call will receive busy treatment when both ephone-dns are being used on line ephone 4 and 5 • The preference of 0 is more preferred than a preference of 1; the default is 0 • The “no huntstop” on the ephone-dn on ephone 4 allows the call to hunt to the second ephone-dn on ephone 5 when the first ephone-dn is busy • The “huntstop” on the ephone-dn on ephone 5 stops the hunting behavior and applies the busy treatment for the third call • Unlike a share line appearance, if a call is placed on hold, only the original phone will be able to retrieve the call IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

96

Two Ephone-dns/One Number/Diff Ephones Two ephone-dns with one number on different ephones configuration example CMERouter(config)#ephone-dn 5 dual line CMERouter(config-ephone-dn)#number 1004 CMERouter(config-ephone-dn)#preference 0 CMERouter(config-ephone-dn)#no huntstop CMERouter(config)#ephone-dn 6 dual line CMERouter(config-ephone-dn)#number 1004 CMERouter(config-ephone-dn)#preference 1 CMERouter(config-ephone-dn)#huntstop CMERouter(config)#ephone 4 CMERouter(config-ephone)#mac-address 000F.2470.F131 CMERouter(config-ephone)#button 2:5 CMERouter(config)#ephone 5 CMERouter(config-ephone)#mac-address 000F.2470.FA5B CMERouter(config-ephone)#button 2:6 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

97

Overlay Ephone-dn Button 4

1101 Preference 0 no huntstop

1101 on line 4 1101 on line 4

Button 4

1101 Preference 1 huntstop

1101 on line 4

Button 4

1101 on line 4

1101 Preference 0 no huntstop

• Two or more ephone-dns applied to the same ephone line button • Up to ten ephone-dns per line button on the phone

Button 4

1101 Preference 1 huntstop

• All ephone-dns in the overlay set must be either single-line or all must be dual-line • The ephone-dns are usually applied on more than one phone • Allows up to ten calls (depending on the number of ephone-dns) to the same phone number that resides on multiple ephones • Call waiting and call pickup not supported • A call placed on hold can be retrieved by only the phone that placed the call on hold IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

98

Type of Ephone-dns (Cont.) Overlay Configuration Example Overlay configuration example CMERouter(config)#ephone-dn 10 CMERouter(config-ephone-dn)#number 1101 CMERouter(config-ephone-dn)#no huntstop CMERouter(config)#ephone-dn 11 CMERouter(config-ephone-dn)#number 1101 CMERouter(config-ephone-dn)#preference 1 CMERouter(config)#ephone 9 CMERouter(config-ephone)#mac-address 000F.2470.FA31 CMERouter(config-ephone)#button 4o10,11 CMERouter(config)#ephone 10 CMERouter(config-ephone)#mac-address 000F.2470.A2E2 CMERouter(config-ephone)#button 4o10,11

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

99

Number of Ephone-dns max-dn Command router(config-telephone)#

max-dn max-dn max-dn max-dn

• Sets the maximum definable number of ephone-dns that may be configured in the system

• The maximum number of ephone-dns supported is a function of the license and hardware platform • The default is zero

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

100

Number of Ephone-dns (Cont.) DN

DN

DN

DN

DN

DN

DN

DN

DN

DN

CMERouter(config-telephony)#max-dn 10

Attempting to create an 11th ephone-dn will fail IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

101

Ephone-dn (Cont.): Basic Configuration One virtual voice port

One Line or channel

1001

CMERouter(Config)#ephone-dn 7 CMERouter(Config-ephone-dn)#number 1001

• Assigns a primary extension number to an ephone-dn

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

102

Cisco CME Files

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

103

Cisco CallManager Express Files FLASH

TFTP or FTP server GUI files firmware Music on Hold IOS

copy tftp flash or copy ftp flash

• Load firmware for IP phones and devices • Used to upgrade Cisco CME • Load music on hold files IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

104

Cisco CallManager Express Files (Cont.) Bundled Files

Bundled Cisco CME File

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

105

Cisco CallManager Express Files (Cont.) Bundled Files • GUI Files cme-gui-3.1.1.zip

• Cisco TAPI file CiscoIOSTSP.zip

• Firmware files ATA 7902

cme-3.1.1.tar or cme-3.1.1.zip extracted yields

7905 7912 7914 7914 Expansion Module 7920 7935 7936 7940 7960

• Music on Hold music-on-hold.au IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

106

Cisco CallManager Express Files (Cont.) Individual Files Individual Cisco CME Files • Firmware files • Basic Cisco CME tar • GUI tar

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

107

Cisco CallManager Express Files (Cont.) GUI Files GUI Files

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

108

Cisco CallManager Express Files (Cont.) GUI Files • XMLTemplate xml.template

• GUI files admin_user.html admin_user.js CiscoLogo.gif Delete.gif

cme-gui-3.1.1.tar extracted yields

dom.js downarrow.gif ephone_admin.html logohome.gif normal_user.html normal_user.js Plus.gif sxiconad.gif Tab.gif telephony_service.html uparrow.gif xml-test.html

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

109

Cisco CallManager Express Files (Cont.) TAPI Integration Cisco CME - TAPI Integration

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

110

Cisco CallManager Express Files (Cont.) TAPI Integration

CiscoIOSTSP1.2.zip

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

111

Cisco CallManager Express Files (Cont.) Additional Files music-on-hold.au • Use the music-on-hold.au audio file to provide music for external callers on hold when you are not using a live feed

xml.template • Use the xml.template file to allow or restrict the GUI functions that are available to an optional customer administrator

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

112

Initial Phone Setup

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

113

Phones Setup in Cisco CallManager Express System Three ways to setup phones: • Manual Numerous commands from the CLI Requires knowledge of Cisco CME commands Phones entered manually

• Partially automated Numerous commands from the CLI Requires knowledge of Cisco CME commands Simplifies deployment of many IP phones

• Automated Few commands needed from the CLI Requires little knowledge of Cisco CME commands Simplifies deployments IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

114

Automated Setup: Overview Automated Setup • Simple to configure • Question and answer interface • Good for inexperienced administrators • Created IOS commands in the background • Deployment and configuration are automated • Must be no existing telephony service configuration

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

115

Automated Setup (Cont.) • Configure NTP prior to running the setup utility • Load the firmware files into flash RAM prior to running the setup utility • Enter the automated setup mode by entering the command “telephony-service setup” • A question and answer session will start asking for basic parameters • CTRL + c keystroke can be used at any time to break out of the setup mode

CMERouter1(config)#telephony-service setup --- Cisco IOS Telephony Services Setup --Do you want to setup DHCP service for your IP Phones? [yes/no]: y Configuring DHCP Pool for Cisco IOS Telephony Services : IP network for telephony-service DHCP Pool:10.90.0.0 Subnet mask for DHCP network :255.255.255.0 TFTP Server IP address (Option 150) :10.90.0.1 Default Router for DHCP Pool :10.90.0.1 Do you want to start telephony-service setup? [yes/no]: y Configuring Cisco IOS Telephony Services : Enter the IP source address for Cisco IOS Telephony Services :10.90.0.1 Enter the Skinny Port for Cisco IOS Telephony Services : [2000]:2000 How many IP phones do you want to configure : [0]: 10 Do you want dual-line extensions assigned to phones? [yes/no]: y What Language do you want on IP phones : 0 English 6 Dutch 1 French 7 Norwegian 2 German 8 Portuguese 3 Russian 9 Danish 4 Spanish 10 Swedish 5 Italian [0]: 0

• No changes are committed until the end IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

116

Automated Setup (Cont.) • When configuration is committed the settings show up in the running-config

IP Telephony

Which Call Progress tone set do you want on IP phones : 0 United States 1 France 2 Germany 3 Russia 4 Spain 5 Italy 6 Netherlands 7 Norway 8 Portugal 9 UK 10 Denmark 11 Switzerland 12 Sweden 13 Austria 14 Canada [0]: 0 What is the first extension number you want to configure : [0]: 9000 Do you have Direct-Inward-Dial service for all your phones? [yes/no]: y Enter the full E.164 number for the first phone :2095559000 Do you want to forward calls to a voice message service? [yes/no]: y Enter extension or pilot number of the voice message service:9999 Call forward No Answer Timeout : [18]: 10 Do you wish to change any of the above information? [yes/no]: n ---- Setup completed config ---

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

117

Automated Setup (Cont.): Results ip dhcp pool ITS

DHCP pool created

network 10.90.0.0 255.255.255.0 default-router 10.90.0.1

Firmware available to TFTP server Flash is searched and if firmware is found it will be loaded

option 150 ip 10.90.0.1 tftp-server flash:P00303020214.bin tftp-server flash:P00403020214.bin telephony-service load 7910 P00403020214 load 7960-7940 P00303020214

Creates SEP XML files at boot up and load to RAM

create cnf-files max-ephones 10 max-dn 10

Telephony-service configuration results

ip source-address 10.10.0.1 port 2000 voicemail 9999 auto assign 1 to 10

DID configuration Firmware is searched and if MoH is found this entry is made The selected number of ephonedns are configured IP Telephony

dialplan-pattern 1 2095559... extension-length 4 extensionpattern 1... moh music-on-hold.au ephone-dn 1 dual-line number 401 call-forward busy 9999 call-forward noans 9999 timeout 10

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

118

Partially Automated Setup: Overview • Partially Automated Setup • Is the same as a manual setup except for deploying phones • Deployment of IP phones is automated • Uses the “auto assign” command • All ephone-dns must be the same type (single-line or dual-line)

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

119

Partially Automated Setup (Cont.) Auto Assign Command CMERouter(config-telephony-service)#

auto auto assign assign start-dn start-dn to to stop-dn stop-dn [type [type model] model] [cfw [cfw number number timeout timeout seconds] seconds]

• Automatically assigns the ephone-dns configured to new ephones

Auto assign usage guidelines • Can take up to 5 minutes for phones to register • Wait for all phones to register before saving the configuration • cfw setting defines the call forward busy number and timeout value for phones that register IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

120

Phones Setup in Cisco CallManager Express System

New phone plugs in • When an new IP phone registers with the Cisco CME system, this creates a new ephone with the MAC address of the IP phone • A pre-existing ephone-dn is assigned to the new ephone; this is selected from the range defined for the type of phone

telephony-service auto assign

1 to 10 type 7920

auto assign 11 to 20 type 7940 auto assign 21 to 40 type 7960 auto assign 41 to 50 ... ephone-dn 1 dual-line number 1000 ...

• The lowest unassigned ephone-dn in matching statement range will be used • If all ephone-dns in a range have been assigned, some phones may not receive an ephone-dn or may overflow to the general auto assign without a type • If the new IP phone does not match any auto assign with a type, then the auto assign without a type will be used IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

121

Manual Setup: Overview • All commands can be entered from the CLI • Good for experienced administrators • Leverages IOS knowledge • Full functionality through IOS commands • Deployment of IP phones can be batched or scripted through a text file

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

122

Manual Setup (Cont.): Commands Overview Commands needed to configure a basic telephony service • tftp-server flash:filename • telephony-service • max-ephones max-ephones • max-dn max-directory-numbers • load phone-type firmware-file • ip source-address ip-address [port port] • create cnf-files • keepalive seconds • dialplan-pattern tag pattern extension-length length extension-pattern pattern IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

123

Manual Setup (Cont.): tftp-server Command CMERouter(config)#

tftp-server tftp-server flash:filename flash:filename

• Allows a file in flash to be downloadable with TFTP 7940/60 Firmware 7920 Firmware

Available through TFTP

7910 Firmware

tftp-server flash:P00303020214.bin tftp-server flash:cmterm_7920.3.3-01-06.bin tftp-server flash:P00403020214.bin

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

124

Manual Setup (Cont.): Telephony Service Commands CMERouter(config)#

telephony-service telephony-service

• Enters telephony service mode CMERouter(config-telephony-service)#

max-ephone max-ephone maximum-ephones maximum-ephones

• Sets the maximum number of ephones that may be defined in the system (default is 0) CMERouter(config-telephony-service)#

max-dn max-dn maximum-directory-numbers maximum-directory-numbers

• Sets the maximum number of ephone-dn that may be defined in the system (default is 0) IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

125

Manual Setup (Cont.): Firmware Association CMERouter(config-telephony-service)#

load load model model firmware-file firmware-file

• Associates a firmware file with the model of IP phone telephony-service

7940/60 Firmware

7940/7960

load 7960-7940 P00303020214 load 7920 cmterm_7920.3.3-01-06.bin load 7910 P00403020214 7920 Firmware

Filenames are case-sensitive

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

7910 Firmware

7920

7910

Cisco Public

126

Manual Setup (Cont.): Source IP and Port CMERouter(config-telephony-service)#

ip ip source-address source-address ip-address ip-address [port [port port] port]

• Identifies the address and port through which IP phones communicate with Cisco CME Default

XML

10.90.0.1

telephony-service ip source-address 10.90.0.1 port 2000

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

127

Manual Setup (Cont.): Create XML Files CMERouter(config-telephony-service)#

create create cnf-files cnf-files

• Builds the specific XML files necessary for the IP phones SEP

SEP000F2473AB14.cnf.xml

XML 000F.2473.AB14 10.90.0.1

telephony-service create cnf-files

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

128

Manual Setup (Cont.): Keepalive CMERouter(config-telephony-service)#

keepalive keepalive seconds seconds

• Sets the length of the time interval between keepalive message from the IP phones to Cisco CME telephony-service keepalive 10 Keepalive Keepalive

• Default is 30 seconds, range is 10 – 65535 seconds • If 3 keepalives are missed in a row, the device will have to register again IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

129

Manual Setup (Cont.): DID Configuration Commands CMERouter(config-telephony-service)#

dialplan-pattern dialplan-pattern tag tag pattern pattern extension-length extension-length length length extension-pattern extension-pattern pattern pattern [no-reg] [no-reg]

• Sets a dial plan pattern which can expand extension numbers to E.164 numbers that can be used for DIDs DN 1000

PSTN

ISDN PRI DIDs assigned 2015559000 thru



DN 10XX DN 1099

2015559099

telephony-service dialplay-pattern 1 20155590.. extension-length 4 extension pattern 10..

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

130

Manual Setup (Cont.): Example Manual Setup of the Cisco CME tftp-server flash:P00303020214.bin tftp-server flash:P00403020214.bin telephony-service load 7910 P00403020214 load 7960-7940 P00303020214 create cnf-files max-ephones 10 max-dn 10 ip source-address 10.10.0.1 port 2000 dialplan-pattern 1 2095559... extension-length 4 extension-pattern 1... ephone-dn 1 dual-line

Manually configured see module 3 lesson 3

number 401 call-forward busy 1999 call-forward noans 1999 timeout 10 ephone 1 mac-address 000F.2745.2AD8 button 1:1

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

131

Setup Troubleshooting: Verify IP Addressing Verify the IP addressing on the IP phone • Use the Settings button and select “Network Configuration” • Verify IP and subnet mask are correct • Verify the TFTP server is the Cisco CME router • Verify the default gateway is correct

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

132

Setup Tips (Cont.): Verify the Correct Files in Flash Show flash CMERouter#show flash -#- --length-- -----date/time------ path 1 399514 Mar 1 2002 12:56:28 P00305000301.sbn 2 22649180 Mar 1 2002 12:38:00 c3725-ipvoice-mz.123-7.T.bin 3 321939 Mar 1 2002 12:55:58 CP7902010200SCCP031023A.sbin 4 317171 Mar 1 2002 12:56:06 CP7905010200SCCP031023A.sbin 5 317968 Mar 1 2002 12:56:10 CP7912010200SCCP031023A.sbin 6 369950 Mar 1 2002 12:56:22 P00303020214.bin 7 333822 Mar 1 2002 12:56:30 P00403020214.bin 8 47904 Mar 1 2002 12:56:54 S00103020002.bin 9 301298 Mar 1 2002 12:56:56 ata18x-v2-16-ms-030327b.zup 10 496521 Mar 1 2002 12:57:22 music-on-hold.au 11 1908762 Mar 1 2002 12:56:54 P00503010100.bin 12 21 Mar 1 2002 12:56:18 OS7920.txt 13 839984 Mar 1 2002 12:57:18 cmterm_7920.3.3-01-06.bin 14 307067 Mar 1 2002 12:56:02 CP79050101SCCP030530B31.zup ...

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

133

Optional Parameters: Locale Parameters Allow changes to: • Language of phone display

Danish

Italian

• Locale for call progress tones and cadences

Spanish

Dutch

Norwegian Swedish

French

Portuguese

English German

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Russian Federation

Cisco Public

134

Optional Parameters: Locale Parameters

CMERouter(config-telephony-service)#

user-locale user-locale language-code language-code

• Specifies the language for display on an IP phone CMERouter(config-telephony-service)#

network-locale network-locale language-code language-code

• Specifies the set of call progress tones and cadence on the IP phone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

135

Optional Parameters: Date and Time

CMERouter(config-telephony-service)#

date-format date-format {mm-dd-yy {mm-dd-yy || dd-mm-yy dd-mm-yy || yy-dd-mm yy-dd-mm || yy-mm-dd} yy-mm-dd}

• Sets the date format for IP phone displays CMERouter(config-telephony-service)#

time-format time-format {12 {12 || 24} 24}

• Specifies the set of call progress tones and cadence on the IP phone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

136

Rebooting Cisco CallManager Express Phones

Reset Command

Restart Command

• Hard reboot

• Soft reboot

• Phone firmware changes

• Phone buttons changes

• User locales changes

• Phone lines changes

• Network locales changes

• Speed-dial number changes

• URL parameters changes

• No DHCP or TFTP invoked

• DHCP and TFTP invoked

• System message changes

• Takes longer than restart

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

137

Router Configuration: Two Commands (Cont.)

CMERouter(config-telephony-service)#

reset reset {all {all [time-interval] [time-interval] || cancel cancel || mac-address mac-address || sequence-all} sequence-all}

• Sets the date format for IP phone displays CMERouter(config-ephone)#

reset reset

• Resets a specific ephone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

138

Router Configuration: Two Commands (Cont.)

CMERouter(config-telephony-service)#

restart restart {all {all [time-interval] [time-interval] || mac-address} mac-address}

• Sets the date format for IP phone displays CMERouter(config-ephone)#

restart restart

• Restarts the ephone

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

139

Setup Troubleshooting Troubleshooting setup overview • Verify that a correct IP address and scope options are received on the IP phone • Verify the correct files are in flash • Debug the tftp server • Verify phone firmware install • Verify locale is correct • Verify phone setup • Review configuration

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

140

Verifying Cisco CallManager Express Phone Configuration Verify ephone-dn Configurations show running-config telephony-service load 7910 P00403020214 load 7960-7940 P00303020214 max-ephones 10 max-dn 10 ip source-address 10.90.0.1 port 2000 auto assign 1 to 10 create cnf-files dialplan-pattern 1 2015559... extension-length 4 extension-pattern 1... voicemail 9999 max-conferences 8 ! ephone-dn 1 dual-line number 9000 ! ephone 1 mac-address 000F.2470.F8F8 button 1:1

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

141

Setup Tips (Cont.): Debug tftp events command Debug tftp events command CMERouter#debug tftp Mar 2 19:32:59.333: Mar 2 19:32:59.337: Mar 2 19:32:59.681: process 131 Mar 2 19:32:59.685: process 131 Mar 2 19:33:02.713: Mar 2 19:33:02.713: process 131 Mar 2 19:33:02.745: process 131

events TFTP: Looking for OS79XX.TXT TFTP: Looking for SEP000F2470F8F8.cnf.xml TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for TFTP: Looking for SEP000F2470F8F8.cnf.xml TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for

• Can verify if the SEP file for the phone is found • Can verify the downloading of the correct firmware

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

142

Verifying Cisco CallManager Express Phone Configuration (Cont.) Verify Phone Firmware Installation debug ephone register Mar 2 15:16:57.582: New Skinny socket accepted [1] (2 active) Mar 2 15:16:57.582: sin_family 2, sin_port 49692, in_addr 10.90.0.11 Mar 2 15:16:57.582: skinny_add_socket 1 10.90.0.11 49692 Mar 2 15:16:57.766: %IPPHONE-6-REG_ALARM: 20: Name=SEP000F2470F8F8 Load=3.2(2.14) Last=Phone-Keypad Mar 2 15:16:57.766: Skinny StationAlarmMessage on socket [1] 10.90.0.11 SEP000F2470F8F8 Mar 2 15:16:57.766: severityInformational p1=2368 [0x940] p2=184551946 [0xB000A0A] Mar 2 15:16:57.766: 20: Name=SEP000F2470F8F8 Load=3.2(2.14) Last=Phone-Keypad Mar 2 15:16:57.766: ephone-(1)[1] StationRegisterMessage (1/2/2) from 10.90.0.11 Mar 2 15:16:57.766: ephone-(1)[1] Register StationIdentifier DeviceName SEP000F2470F8F8 Mar 2 15:16:57.766: ephone-(1)[1] StationIdentifier Instance 1 deviceType 7 Mar 2 15:16:57.766: ephone-1[-1]:stationIpAddr 10.90.0.11 Mar 2 15:16:57.766: ephone-1[1]:phone SEP000F2470F8F8 re-associate OK on socket [1] Mar 2 15:16:57.766: %IPPHONE-6-REGISTER: ephone-1:SEP000F2470F8F8 IP:10.90.0.11 has registered. Mar 2 15:16:57.766: Phone 0 socket 1 Mar 2 15:16:57.766: Skinny Local IP address = 10.95.0.1 on port 2000 ... Mar 2 15:16:57.766: Skinny Phone IP address = 10.90.0.11 49692 Mar 2 15:16:57.766: ephone-1[1]:Date Format M/D/Y Mar 2 15:16:57.766: ephone-1[1][SEP000F2470F8F8]:RegisterAck sent to ephone 1: keepalive period 30 IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

143

Verifying Cisco CallManager Express Phone Configuration (Cont.) Verify Locale-Specific Files CMERouter1#show telephony-service tftp-bindings tftp-server system:/its/SEPDEFAULT.cnf tftp-server system:/its/SEPDEFAULT.cnf alias SEPDefault.cnf tftp-server system:/its/XMLDefault.cnf.xml alias XMLDefault.cnf.xml tftp-server system:/its/ATADefault.cnf.xml tftp-server system:/its/united_states/7960-tones.xml alias United_States/7960-tones.xml tftp-server system:/its/united_states/7960-font.xml alias English_United_States/7960-font.xml tftp-server system:/its/united_states/7960-dictionary.xml alias English_United_States/7960dictionary.xml tftp-server system:/its/united_states/7960-kate.xml alias English_United_States/7960-kate.xml tftp-server system:/its/united_states/SCCP-dictionary.xml alias English_United_States/SCCPdictionary.xml tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F2470F8F8.cnf.xml tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F23FC9CF0.cnf.xml

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

144

Verifying Cisco CallManager Express Phone Configuration (Cont.) Verify Cisco IP Phone Setup CMERouter1#show ephone ephone-1 Mac:000F.2470.F8F8 TCP socket:[1] activeLine:0 REGISTERED mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:1 IP:10.10.0.11 49692 Telecaster 7960 button 1: dn 1

number 1000 CH1

keepalive 29 max_line 6

IDLE

CH2

IDLE

ephone-2 Mac:000F.23FC.9CF0 TCP socket:[2] activeLine:0 REGISTERED mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:1 IP:10.10.0.13 52633 Telecaster 7960 button 1: dn 2

IP Telephony

number 1001 CH1

© 2005 Cisco Systems, Inc. All rights reserved.

keepalive 135 max_line 6

IDLE

CH2

IDLE

Cisco Public

145

IP Telephony

© 2005 Cisco Systems, Inc. All rights reserved.

Cisco Public

146

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF