© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Configuring Cisco CallManager Express Understanding Initial Phone Setup
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Three Ways to Set Up Phones Manual –Requires numerous commands from the CLI –Requires knowledge of Cisco CallManager Express commands –Requires that phones be entered manually in IOS software Partially automated –Requires numerous commands from the CLI –Requires knowledge of Cisco CallManager Express commands –Simplifies deployment Automated –Needs few commands from the CLI –Requires little knowledge of Cisco CallManager Express commands –Simplifies deployment
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Manual Setup Overview All commands can be entered from the CLI. Manual setup is best performed by experienced administrators. Administrators leverage their knowledge of IOS software. Full functionality is achieved through IOS commands. Deployment of IP Phones can be batched or scripted through a text file.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Commands Overview Commands that are needed to configure a basic telephony service are as follows: tftp-server flash:filename telephony-service 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
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v tftp-server flash:filename CMERouter(config)# Allows a file in flash to be downloadable with TFTP tftp-server Command tftp-server flash:P bin tftp-server flash:cmterm_ tftp-server flash:P bin Available through TFTP
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v telephony-service CMERouter(config)# Enters telephony-service mode max-ephone maximum-ephones CMERouter(config-telephony-service)# Sets the maximum number of ephones that may be defined in the system (default is 0) max-dn maximum-directory-numbers CMERouter(config-telephony-service)# Sets the maximum number of ephone-dns that may be defined in the system (default is 0) Telephony Service Commands
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v load model firmware-file CMERouter(config-telephony-service)# Associates a firmware file with the model of IP Phone Firmware Association 7940G and 7960G G+SW telephony-service load P load 7920 cmterm_ bin load 7910 P Filenames are case sensitive.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v ip source-address ip-address [port port] CMERouter(config-telephony-service)# Identifies the address and port through which IP Phones communicate with Cisco CallManager Express Source IP and Port telephony-service ip source-address port
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v create cnf-files CMERouter(config-telephony-service)# Builds the specific XML files that are necessary for the IP Phones Create XML Files telephony-service create cnf-files F.2473.AB14 SEP000F2473AB14.cnf.xml
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v keepalive seconds CMERouter(config-telephony-service)# Sets the time interval between keepalive messages from the IP Phones to Cisco CallManager Express Keepalive telephony-service keepalive 10 Keepalive Default is 30 seconds, range is 10–65535 seconds If three successive keepalives missed, device must register again
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v dialplan-pattern tag pattern extension-length length extension-pattern pattern [no-reg] CMERouter(config-telephony-service)# Sets a dial plan pattern that can expand extension numbers to fully qualified E.164 numbers, which can be used for DID numbers Direct Inward Dial Configuration Commands ISDN PRI Extension 1000 Extension 1099 Extension 10XX DID numbers assigned: through … telephony-service dialplan-pattern extension-length 4 extension pattern 10.. PSTN
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example: Manual Setup of Cisco CallManager Express tftp-server flash:P bin tftp-server flash:P bin telephony-service load 7910 P load P create cnf-files max-ephones 10 max-dn 10 ip source-address port 2000 dialplan-pattern extension-length 4 extension-pattern 1... ephone-dn 1 dual-line number 401 call-forward busy 1999 call-forward noans 1999 timeout 10 ephone 1 mac-address 000F AD8 button 1:1 See the lesson Defining Ephone-dn and Ephone for manual configuration information.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Overview of Partially Automated Setup In a partially automated setup, you dont have to configure ephones. Deployment of IP Phones is automated. The auto assign command is used. All ephone-dns must be the same type (single-line or dual-line).
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v auto assign start-dn to stop-dn [type phone-type] [cfw number timeout seconds] CMERouter(config-telephony-service)# The ephone-dns that are configured to new ephones are automatically assigned. Phones can take up to five minutes to register. Wait for all Phones to register before saving the configuration. The cfw keyword defines the call forward busy number and timeout value for Phones that register. auto assign Command
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example: auto assign Command New Phone Plugs In 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 ephone-dn 1 dual-line number When a new IP Phone registers with a Cisco CallManager Express system, a new ephone is created with the MAC address of the IP Phone. A preexisting ephone-dn is assigned to the new ephone from the range defined for the type of phone. The lowest unassigned ephone-dn in the matching statement range is 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 a new IP Phone does not match any auto assign with a type, the auto assign without a type is used.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Overview of Automated Setup Is simple to configure Has a question-and-answer interface Is designed for inexperienced administrators Creates IOS commands in the background Automates deployment Must be no preexisting telephony service configuration
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Running the Automated Setup Utility 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: Subnet mask for DHCP network : TFTP Server IP address (Option 150) : Default Router for DHCP Pool : 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 : 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 English6 Dutch 1 French7 Norwegian 2 German8 Portuguese 3 Russian9 Danish 4 Spanish 10 Swedish 5 Italian [0]: 0 Configure NTP prior to running the setup utility. Load the firmware files into flash memory prior to running the setup utility. Enter the automated setup mode using the telephony- service setup command. A question-and-answer session starts, asking for basic parameters. The CTRL-C keystroke can be used at any time to interrupt or exit the setup utility. No changes are committed until the end.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Running the Automated Setup Utility (Cont.) 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 : 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 --- When the configuration is committed, the settings selected will appear in the running configuration.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Example: Complete Automated Setup ip dhcp pool ITS network default-router option 150 ip tftp-server flash:P bin tftp-server flash:P bin telephony-service load 7910 P load P create cnf-files max-ephones 10 max-dn 10 ip source-address port 2000 voic 9999 auto assign 1 to 10 dialplan-pattern extension-length 4 extension- pattern 1... moh music-on-hold.au ephone-dn 1 dual-line number 401 call-forward busy 9999 call-forward noans 9999 timeout 10 DHCP pool created Firmware available to TFTP server Flash is searched for firmware; if found, it will be loaded Firmware is searched for MOH; if found, this entry is made DID configuration Firmware is searched; if MOH is found this entry is made Selected number of ephone-dns are configured SEP XML files created at bootup and loaded to RAM
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Locale Parameters Language of Phone display Locale for call progress tones and cadences Danish Dutch French German Swedish Spanish Portuguese Norwegian Italian Russian English Japanese
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v user-locale language-code CMERouter(config-telephony-service)# Specifies the language to be displayed on an IP Phone network-locale language-code CMERouter(config-telephony-service)# Specifies the set of call progress tones and cadences on the IP Phone Router Configuration for Locale Parameters
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v date-format {mm-dd-yy | dd-mm-yy | yy-dd-mm | yy-mm-dd} CMERouter(config-telephony-service)# Sets the date format for IP Phone displays time-format {12 | 24} CMERouter(config-telephony-service)# Selects a 12-hour or 24-hour clock for IP Phone displays Date and Time Parameters
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Rebooting with the reset and restart Commands reset Command Hard reboot Phone firmware changes User locale changes Network locale changes URL parameter changes DHCP and TFTP invoked More time-consuming than restart restart Command Soft reboot Phone button changes Phone line changes Speed dial number changes System message changes DHCP and TFTP not invoked
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v reset {all [time-interval] | cancel | mac-address | sequence-all} CMERouter(config-telephony-service)# Resets one or all phones reset CMERouter(config-ephone)# Resets a specific ephone reset Command Configuration
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v restart {all [time-interval] | mac-address} CMERouter(config-telephony-service)# Restarts one or all phones restart CMERouter(config-ephone)# Restarts the ephone restart Command Configuration
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Setup Troubleshooting Overview Verify that a correct IP address and scope options are received on the IP Phone. Verify that the correct files are in flash memory. Debug the TFTP server. Verify the Phones firmware installation. Verify that the locale is correct. Verify Phone setup. Review the configuration.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying IP Addressing Use the Settings button and select Network Configuration. Verify that the IP address and subnet mask are correct. Verify that the TFTP server is the Cisco CallManager Express router. Verify that the default gateway is correct.
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying Correct Firmware Files Are in Flash show flash Command CMERouter#show flash -#- --length date/time path Mar :56:28 P sbn Mar :38:00 c3725-ipvoice-mz XL.bin Mar :55:58 CP SCCP040701A.sbin Mar :56:06 CP SCCP040701A.sbin Mar :56:10 CP SCCP040701A.sbin Mar :56:22 P bin Mar :56:30 P bin Mar :56:54 S bin Mar :56:56 ATA030100SCCP040211A.zup Mar :57:22 music-on-hold.au Mar :56:54 P bin Mar :57:18 cmterm_ bin Mar :56:02 CP SCCP030530B31.zup...
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying Cisco CallManager Express Phone Configuration show running-config telephony-service load 7910 P load P max-ephones 10 max-dn 10 ip source-address port 2000 auto assign 1 to 10 create cnf-files dialplan-pattern extension-length 4 extension-pattern 1... voic 9999 max-conferences 8 ! ephone-dn 1 dual-line number 9000 ! ephone 1 mac-address 000F.2470.F8F8 button 1:1
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v debug tftp events Command CMERouter#debug tftp events Mar 2 19:32:59.333: TFTP: Looking for OS79XX.TXT Mar 2 19:32:59.337: TFTP: Looking for SEP000F2470F8F8.cnf.xml Mar 2 19:32:59.681: TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for process 131 Mar 2 19:32:59.685: TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for process 131 Mar 2 19:33:02.713: TFTP: Looking for SEP000F2470F8F8.cnf.xml Mar 2 19:33:02.713: TFTP: Opened system:/its/XMLDefault7960.cnf.xml, fd 0, size 784 for process 131 Mar 2 19:33:02.745: TFTP: Finished system:/its/XMLDefault7960.cnf.xml, time 00:00:00 for process 131 Can verify if the SEP file for the Phone is found Can verify that the correct firmware has been downloaded
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying 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 Mar 2 15:16:57.582: skinny_add_socket 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] SEP000F2470F8F8 Mar 2 15:16:57.766: severityInformational p1=2368 [0x940] p2= [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 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 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: has registered. Mar 2 15:16:57.766: Phone 0 socket 1 Mar 2 15:16:57.766: Skinny Local IP address = on port Mar 2 15:16:57.766: Skinny Phone IP address = 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
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying 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/7960- dictionary.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/SCCP- dictionary.xml tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F2470F8F8.cnf.xml tftp-server system:/its/XMLDefault7960.cnf.xml alias SEP000F23FC9CF0.cnf.xml
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Verifying 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: Telecaster 7960 keepalive 29 max_line 6 button 1: dn 1 number 1000 CH1 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: Telecaster 7960 keepalive 135 max_line 6 button 1: dn 2 number 1001 CH1 IDLE CH2 IDLE
© 2005 Cisco Systems, Inc. All rights reserved. IPTX v Summary Cisco CallManager Express requires firmware files to be copied to the flash memory on the router and shared using TFTP. There are three ways to create a Phone setup in Cisco CallManager Express: manual, partially automated, and automated. After changing the configuration of an IP Phone, you must reboot the IP Phone for the changes to take effect. When troubleshooting, there are many show and debug commands available.