5-65
Cisco IOS Telephony Service, Version 2.02
Chapter 5 Command Reference
ip source-address (telephony-service)
The ip source-address command enables the router to receive messages from the Cisco IP phones
through the specified IP address and port.
The ip source-address command helps the router to autogenerate the SEPDEFAULT.cnf file and the
XMLDefault.cnf.xml file, which are stored in the router’s Flash memory. The SEPDEFAULT.cnf file
contains the IP address of one of the Ethernet ports of the router to which the phone should register; the
XMLDefault.cnf.xml file contains the IP address of one of the Ethernet ports of the router to which the
ATA adapter should register.
Note The SEPDEFAULT.cnf file and the XMLDefault.cnf.xml file are specific to the router and cannot be
shared by multiple routers.
At some point, you must use the following commands to enable access to the SEPDEFAULT.cnf file and
XMLDefault.cnf.xml file:
Router# tftp-server flash:SEPDEFAULT.cnf
Router# tftp-server flash:XMLDefault.cnf.xml
The Flash file system on some routers limits the number of times the Flash file can be written to or
modified. After this limit is exceeded, the Flash memory must be manually erased and the files contained
in the Flash file must be reloaded.
The ip source-address command can write or modify the SEPDEFAULT.cnf file or the
XMLDefault.cnf.xml file only when parameters are actually changed. The file is not deleted by
executing the no ip source-address command. However, the SEPDEFAULT.cnf file or the
XMLDefault.cnf.xml file can be manually removed using the delete command.
If the ip source-address command is executed with changed parameters after the Flash file write limit
is exceeded, the command fails. To see the detailed operation of the ip source-address command, turn
on the debug ephone detail command.
Examples The following example shows how to set the IP source address and port:
Router(config)# telephony-service
Router(config-telephony-service)# ip source-address 1.6.21.4 port 2000 strict-match
Related Commands Command Description
ephone Enters ephone configuration mode to register Cisco IP phones.
ephone-dn Enters ephone-dn configuration mode and configures the directory numbers
for the Cisco IP phone lines.
max-dn Sets the maximum number of directory numbers that can be supported by
the router.
max-ephones Configures the maximum number of Cisco IP phones that can be supported
by the router.
telephony-service Enables Cisco IOS Telephony Service and enters telephony-service
configuration mode.
tftp-server Enables TFTP access to firmware files on the TFTP server so that the
Cisco IP phone can get the file.
Comments to this Manuals