====== CCME SCCP ======
===== Configuration =====
==== Telephony Service ====
* Max-dn is default to 0.
* Do not set this number higher than what's required as it consumes memory
* This number also restricts the ephone-dn tag that can be configured e.g. Max-dn of 30 will not allow ephone-dn 31 to be created.
* If you don't want all the ephone-dn to register with the gatekeeper by default, configure "[no-reg both]" globally to turn it off globally. May need to reboot the router for changes to take effect.
* Max-ephones is default to 0.
* Again do not set this number higher than what's required as it consumes memory
* It only limits the maximum number of ephone that can be registered
* It does not limit the number of ephone that can be configured
* Specify the IP Port - port is default to 2000
* Create phone configuration files
telephony-service
max-dn [no reg both]
max-ephones
!
ip source-address [port ]
!
create cnf-files
===== Auto Registration =====
* Enable by default
telephony-service
auto-reg-ephone
* To show all auto registration attempt
Router# show ephone attempted-registration
* To auto assign DN
* All DN must be of the same type either single or dual-line but not mix
* The type if not specified will catch all
* cfw provide the Call Forward Busy Number and timeout value
* The DN needs to be defined as well
telephony-service
auto assign to [type phone-type] [cfw timeout ]
!
ephone-dn dual-line
number 1000
...
ephone-dn dual-line
number 1999
===== Keepalive =====
* Default is 30s
* If three successive keepalive are missed, the device must register again
telephony-service
keepalive
===== Locale and Languages =====
* Specify the language to be displayed
telephony-service
user-locale
* Specify the call progress tones and cadence
telephony-service
network-locale
* Debug/Verify locales that is to be utilized by these devices
Router# show telephony-service tftp-bindings
===== Date and Time =====
telephony-service
date-format {mm-dd-yy | dd-mm-yy | yy-dd-mm | yy-mm-dd}
time-format {12 | 24}
===== Loopback =====
* Use a loopback interface to bind H.323
interface loopback 0
ip address
h323-gateway voip interface
h323-gateway voip bind srcaddr
===== Debug =====
* Provides detail information sorted and filtered using the options
CCME# show telephony-service [options]
* To see that the active ephone configuration
CCME_Router#show telephony-service dial-peer
dial-peer voice 20002 pots
destination-pattern 7301$
huntstop
progress_ind setup enable 3
port 50/0/1
CCME_Router#
* Use this command to verify which phone firmware is installed on a particular ephone. The DeviceName includes the MAC address for the IP phone.
Router# show ephone phone-load
DeviceName CurrentPhoneload PreviousPhoneload LastReset
=====================================================================
SEP000A8A2C8C6E 7.3(3.02) Initialized
* Debug tftp events
* The following sample from the debug tftp event command shows how the Cisco phone firmware for a Cisco Unified IP Phone 7940G is upgraded from SCCP 5.X to SIP 6.3
Router# debug tftp event
...
*May 6 17:37:03.737: %IPPHONE-6-UNREGISTER_NORMAL: ephone-1:SEP000ED7DF7932 IP:1.5.49.84 Socket:4
DeviceType:Phone has unregistered normally.
*May 6 17:37:35.949: TFTP: Looking for OS79XX.TXT
*May 6 17:37:36.413: TFTP: Opened system:/cme/sipphone/OS79XX.TXT, fd 4, size 13 for process 81
*May 6 17:37:36.413: TFTP: Finished system:/cme/sipphone/OS79XX.TXT, time 00:00:00 for process 81
*May 6 17:37:40.533: TFTP: Looking for P0S3-06-3-00.sbn
*May 6 17:37:40.541: TFTP: Opened flash:P0S3-06-3-00.sbn, fd 4, size 487198 for process 81
*May 6 17:37:48.225: TFTP: Finished flash:P0S3-06-3-00.sbn, time 00:00:07 for process 81
*May 6 17:40:26.925: TFTP: Looking for OS79XX.TXT
*May 6 17:40:26.925: TFTP: Opened system:/cme/sipphone/OS79XX.TXT, fd 4, size 13 for process 81
*May 6 17:40:26.925: TFTP: Finished system:/cme/sipphone/OS79XX.TXT, time 00:00:00 for process 81
*May 6 17:40:26.929: TFTP: Looking for SIPDefault.cnf
*May 6 17:40:26.929: TFTP: Opened system:/cme/sipphone/SIPDefault.cnf, fd 4, size 1558 for process 81
*May 6 17:40:26.937: TFTP: Finished system:/cme/sipphone/SIPDefault.cnf, time 00:00:00 for process 81
*May 6 17:40:27.053: TFTP: Looking for SIP000ED7DF7932.cnf
*May 6 17:40:27.053: TFTP: Opened system:/cme/sipphone/SIP000ED7DF7932.cnf, fd 4, size 789 for process 81
*May 6 17:40:27.057: TFTP: Finished system:/cme/sipphone/SIP000ED7DF7932.cnf, time 00:00:00 for process 81
* The following sample from the debug tftp event command shows how the Cisco phone firmware for a Cisco Unified IP Phone 7940G is upgraded from SIP 6.3 to SIP 7.0 after the phone is rebooted or reset:
Router# debug tftp event
...
*May 6 17:42:35.581: TFTP: Looking for OS79XX.TXT
*May 6 17:42:35.585: TFTP: Opened system:/cme/sipphone/OS79XX.TXT, fd 5, size 13 for process 81
*May 6 17:42:35.585: TFTP: Finished system:/cme/sipphone/OS79XX.TXT, time 00:00:00 for process 81
*May 6 17:42:35.969: TFTP: Looking for P003-07-4-00.sbn
*May 6 17:42:35.977: TFTP: Opened slot0:P003-07-4-00.sbn, fd 5, size 129876 for process 81
*May 6 17:42:37.937: TFTP: Finished slot0:P003-07-4-00.sbn, time 00:00:01 for process 81
*May 6 17:44:31.037: TFTP: Looking for CTLSEP000ED7DF7932.tlv
*May 6 17:44:31.057: TFTP: Looking for SEP000ED7DF7932.cnf.xml
*May 6 17:44:31.089: TFTP: Looking for SIP000ED7DF7932.cnf
*May 6 17:44:31.089: TFTP: Opened system:/cme/sipphone/SIP000ED7DF7932.cnf, fd 5, size 789 for process 81
*May 6 17:44:31.089: TFTP: Finished system:/cme/sipphone/SIP000ED7DF7932.cnf, time 00:00:00 for process 81
*May 6 17:44:31.125: TFTP: Looking for P0S3-07-4-00.loads
*May 6 17:44:31.133: TFTP: Opened slot0:P0S3-07-4-00.loads, fd 5, size 461 for process 81
*May 6 17:44:31.141: TFTP: Finished slot0:P0S3-07-4-00.loads, time 00:00:00 for process 81
*May 6 17:44:31.673: TFTP: Looking for P0S3-07-4-00.sb2
*May 6 17:44:31.681: TFTP: Opened slot0:P0S3-07-4-00.sb2, fd 5, size 592626 for process 81
*May 6 17:44:33.989: TFTP: Finished slot0:P0S3-07-4-00.sb2, time 00:00:02 for process 81