Generating Configuration Files For Phones
Generating Configuration Files For Phones
This chapter describes how to generate configuration files for Cisco Unified IP phones that are
connected to a Cisco Unified Communications Manager Express (Cisco Unified CME) router.
Contents
• Information About Configuration Files, page 265
• How to Generate Configuration Files for Phones, page 267
• Where to Go Next, page 274
• Additional References, page 275
By default, there is one shared XML configuration file located in system:/its/ for all Cisco Unified IP
phones that are running SCCP. For SIP phones directly connected to Cisco Unified CME, an individual
configuration profile is created for each phone and stored in system:/cme/sipphone/.
When an IP phone comes online or is rebooted, it automatically gets information about itself from the
appropriate configuration file.
The Cisco universal application loader for phone firmware files allows you to add additional phone
features across all protocols. To do this, a hunt algorithm searches for multiple configuration files. After
a phone is reset or restarted, the phone automatically selects protocol depending on which matching
configuration file is found first. To ensure that Cisco Unified IP phones download the appropriate
configuration for the desired protocol, SCCP or SIP, you must properly configure the IP phones before
connecting or rebooting the phones. The hunt algorithm searches for files in the following order:
1. CTLSEP<mac> file for a SCCP phone—For example, CTLSEP003094C25D2E.tlv
2. SEP <mac> file for a SCCP phone—For example, SEP003094C25D2E.cnf.xml
3. SIP <mac> file for a SIP phone—For example, SIP003094C25D2E.cnf or gk003069C25D2E
4. XML default file for SCCP phones—For example, SEPDefault.cnf.xmls
5. XML default file for SIP phones—For example, SIPDefault.cnf.
In Cisco Unified CME 4.0 and later for SCCP and in Cisco CME 3.4 and later for SIP, you can designate
one of the following locations in which to store configuration files:
• System (Default)—For SCCP phones, one configuration file is created, stored, and used for all
phones in the system. For SIP phones, an individual configuration profile is created for each phone.
• Flash or slot 0—When flash or slot 0 memory on the router is the storage location, you can create
additional configuration files to be applied per phone type or per individual phone, such as user or
network locales.
• TFTP—When an external TFTP server is the storage location, you can create additional
configuration files to be applied per phone type or per individual phone, which are required for
multiple user and network locales.
Restrictions
• Externally stored and per-phone configuration files are not supported on the Cisco Unified IP Phone
7902G, 7910, 7910G, or 7920, or the Cisco Unified IP Conference Station 7935 and 7936.
• TFTP does not support file deletion. When configuration files are updated, they overwrite any
existing configuration files with the same name. If you change the configuration file location, files
are not deleted from the TFTP server.
• Generating configuration files on flash or slot 0 can take up to a minute, depending on the number
of files being generated.
• For smaller routers such as Cisco 2600 series routers, you must manually enter the squeeze
command to erase files after changing the configuration file location or entering any commands that
trigger the deletion of configuration files. Unless you use the squeeze command, the space used by
the moved or deleted configuration files is not usable by other files.
SUMMARY STEPS
1. enable
2. configure terminal
3. telephony-service
4. create cnf-files
5. end
DETAILED STEPS
Example:
Router# configure terminal
Step 3 telephony-service Enters telephony-service configuration mode.
Example:
Router(config)# telephony-service
Step 4 create cnf-files Builds the XML configuration files required for IP phones.
Example:
Router(config-telephony)# create cnf-files
Step 5 end Returns to privileged EXEC mode.
Example:
Router(config-telephony)# end
Examples
The following example selects flash memory as the configuration file storage location and per-phone as
the type of configuration files that the system generates.
telephony-service
cnf-file location flash:
cnf-file perphone
SUMMARY STEPS
DETAILED STEPS
CONFIG (Version=4.0(0))
=====================
Version 4.0(0)
Cisco Unified CallManager Express
For on-line documentation please see:
www.cisco.com/en/US/products/sw/voicesw/ps4625/tsd_products_support_series_home.html
ephone-dn 1
number 5001
huntstop
ephone-dn 2
number 5002
huntstop
call-forward noan 5001 timeout 8
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/XMLDefault7960.cnf.xml alias SEP00036B54BB15.cnf.xml
tftp-server system:/its/germany/7960-font.xml alias German_Germany/7960-font.xml
tftp-server system:/its/germany/7960-dictionary.xml alias
German_Germany/7960-dictionary.xml
tftp-server system:/its/germany/7960-kate.xml alias German_Germany/7960-kate.xml
tftp-server system:/its/germany/SCCP-dictionary.xml alias
German_Germany/SCCP-dictionary.xml
tftp-server system:/its/germany/7960-tones.xml alias Germany/7960-tones.xml
Caution If your Cisco Unified CME system supports SCCP and also SIP phones, do not connect your SIP phones
to the network until after you have verified the phone configuration profiles.
Prerequisites
• Cisco Unified CME 3.4 or a later version.
• The mode cme command must be enabled in Cisco Unified CME.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice register global
4. file text
5. create profile
6. end
DETAILED STEPS
Example:
Router# configure terminal
SUMMARY STEPS
DETAILED STEPS
Note To generate ASCII text files of the configuration profiles for Cisco Unified IP Phone 7905s and 7905Gs,
Cisco Unified IP Phone 7912s and 7912Gs, Cisco ATA-186s, and Cisco ATA-188s, use the file text
command.
The following is sample output from this command displaying information in the configuration profile
for voice register pool 4.
Router# show voice register profile text 4
Pool Tag: 4
# txt
AutoLookUp:0
DirectoriesUrl:0
…
CallWaiting:1
CallForwardNumber:0
Conference:1
AttendedTransfer:1
BlindTransfer:1
…
SIPRegOn:1
UseTftp:1
UseLoginID:0
UIPassword:0
NTPIP:0.0.0.0
UID:2468
…
image_version: "P0S3-07-4-00";
proxy1_address: "10.1.18.100";
proxy2_address: "";
proxy3_address: "";
proxy4_address: "";
proxy5_address: "";
proxy6_address: "";
proxy1_port: "5060";
proxy2_port: "";
proxy3_port: "";
proxy4_port: "";
proxy5_port: "";
proxy6_port: "";
proxy_register: "1";
time_zone: "EST";
dst_auto_adjust: "1";
dst_start_month: "April";
dst_start_day: "";
dst_start_day_of_week: "Sun";
dst_start_week_of_month: "1";
dst_start_time: "02:00";
dst_stop_month: "October";
dst_stop_day: "";
dst_stop_day_of_week: "Sun";
dst_stop_week_of_month: "8";
dst_stop_time: "02:00";
date_format: "M/D/Y";
time_format_24hr: "0";
local_cfwd_enable: "1";
directory_url: "";
messages_uri: "2000";
services_url: "";
logo_url: "";
stutter_msg_waiting: "0";
sync: "0000200155330856";
telnet_level: "1";
autocomplete: "1";
call_stats: "0";
Domain_Name: "";
dtmf_avt_payload: "101";
dtmf_db_level: "3";
dtmf_inband: "1";
dtmf_outofband: "avt";
dyn_dns_addr_1: "";
dyn_dns_addr_2: "";
dyn_tftp_addr: "";
end_media_port: "32766";
http_proxy_addr: "";
http_proxy_port: "80";
nat_address: "";
nat_enable: "0";
nat_received_processing: "0";
network_media_type: "Auto";
network_port2_type: "Hub/Switch";
outbound_proxy: "";
outbound_proxy_port: "5060";
proxy_backup: "";
proxy_backup_port: "5060";
proxy_emergency: "";
proxy_emergency_port: "5060";
remote_party_id: "0";
sip_invite_retx: "6";
sip_retx: "10";
sntp_mode: "directedbroadcast";
sntp_server: "0.0.0.0";
start_media_port: "16384";
tftp_cfg_dir: "";
timer_invite_expires: "180";
timer_register_delta: "5";
timer_register_expires: "3600";
timer_t1: "500";
timer_t2: "4000";
tos_media: "5";
voip_control_port: "5060";
image_version: "P0S3-07-4-00";
user_info: "phone";
line1_name: "1051";
line1_displayname: "";
line1_shortname: "";
line1_authname: "1051";
line1_password: "ww";
line2_name: "";
line2_displayname: "";
line2_shortname: "";
line2_authname: "";
line2_password: "";
auto_answer: "0";
speed_line1: "";
speed_label1: "";
speed_line2: "";
speed_label2: "";
speed_line3: "";
speed_label3: "";
speed_line4: "";
speed_label4: "";
speed_line5: "";
speed_label5: "";
call_hold_ringback: "0";
dnd_control: "0";
anonymous_call_block: "0";
callerid_blocking: "0";
enable_vad: "0";
semi_attended_transfer: "1";
call_waiting: "1";
cfwd_url: "";
cnf_join_enable: "1";
phone_label: "";
preferred_codec: "g711ulaw";
Where to Go Next
After you generate a configuration file for a Cisco Unified IP phone connected to the
Cisco Unified CME router, you are ready to download the file to the phone to be configured. See
“Resetting and Restarting Phones” on page 277.
Additional References
The following sections provide references related to Cisco Unified CME features.
Related Documents
Related Topic Document Title
Cisco Unified CME configuration • Cisco Unified CME Command Reference
• Cisco Unified CME Documentation Roadmap
Cisco IOS commands • Cisco IOS Voice Command Reference
• Cisco IOS Software Releases 12.4T Command References
Cisco IOS configuration • Cisco IOS Voice Configuration Library
• Cisco IOS Software Releases 12.4T Configuration Guides
Phone documentation for Cisco Unified CME • Quick Reference Cards
• User Guides
Technical Assistance
Description Link
The Cisco Support website provides extensive online http://www.cisco.com/techsupport
resources, including documentation and tools for
troubleshooting and resolving technical issues with
Cisco products and technologies. Access to most tools
on the Cisco Support website requires a Cisco.com user
ID and password. If you have a valid service contract
but do not have a user ID or password, you can register
on Cisco.com.