Cisco 7960 SIP Upgrade

I have a 7960 that was setup with chan_sccp. All was well until my client moved their office. The Cisco then had call quality issues (no other phone did). I decided to setup a new Asterisk build (1.2.14 vs. 1.0.7) and a new chan_sccp.

The Cisco was a PITA to get working. I noticed that I could download the SIP image from Cisco’s site (publicly available), so I did. I figured to heck with all of this SCCP business, let’s just go to SIP.

No such luck with that one either.

I worked with guides on voip-info, asteriskguru, and Julian Dunn’s Journal.

The image currently on the 7960 is P00307010200. I am trying to load P003-08-2-00.

The tftp server is logging the following activities:

Dec 23 02:42:48 tftp in.tftpd[7452]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:42:48 tftp in.tftpd[7452]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:42:48 tftp in.tftpd[7453]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:42:48 tftp in.tftpd[7453]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:42:48 tftp in.tftpd[7454]: RRQ from 10.1.2.239 filename SIP0007EB1837B4.cnf Dec 23 02:42:48 tftp in.tftpd[7455]: RRQ from 10.1.2.239 filename P0S3-08-2-00.loads Dec 23 02:42:49 tftp in.tftpd[7456]: RRQ from 10.1.2.239 filename P003-08-2-00.sbn Dec 23 02:43:43 tftp in.tftpd[7462]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:43:43 tftp in.tftpd[7462]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:43:43 tftp in.tftpd[7463]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:43:43 tftp in.tftpd[7463]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:43:43 tftp in.tftpd[7464]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:45:07 tftp in.tftpd[7512]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:45:07 tftp in.tftpd[7512]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:45:07 tftp in.tftpd[7513]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:45:07 tftp in.tftpd[7513]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:45:07 tftp in.tftpd[7514]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:45:13 tftp in.tftpd[7515]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:45:13 tftp in.tftpd[7515]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:45:13 tftp in.tftpd[7516]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:45:13 tftp in.tftpd[7516]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:45:13 tftp in.tftpd[7517]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:46:45 tftp in.tftpd[7536]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:46:45 tftp in.tftpd[7536]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:46:45 tftp in.tftpd[7537]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:46:45 tftp in.tftpd[7537]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:46:45 tftp in.tftpd[7538]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:46:50 tftp in.tftpd[7539]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:46:50 tftp in.tftpd[7539]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:46:50 tftp in.tftpd[7540]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:46:50 tftp in.tftpd[7540]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:46:50 tftp in.tftpd[7541]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:46:52 tftp in.tftpd[7538]: tftpd: read(ack): Connection refused Dec 23 02:48:09 tftp in.tftpd[7545]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:48:09 tftp in.tftpd[7545]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:48:09 tftp in.tftpd[7546]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:48:09 tftp in.tftpd[7546]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:48:09 tftp in.tftpd[7547]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:48:15 tftp in.tftpd[7548]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:48:15 tftp in.tftpd[7548]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:48:15 tftp in.tftpd[7549]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:48:15 tftp in.tftpd[7549]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:48:15 tftp in.tftpd[7550]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:49:48 tftp in.tftpd[7557]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:49:48 tftp in.tftpd[7557]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:49:48 tftp in.tftpd[7559]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:49:48 tftp in.tftpd[7559]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:49:48 tftp in.tftpd[7560]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:49:53 tftp in.tftpd[7561]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:49:53 tftp in.tftpd[7561]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:49:53 tftp in.tftpd[7562]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:49:53 tftp in.tftpd[7562]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:49:53 tftp in.tftpd[7563]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:49:55 tftp in.tftpd[7560]: tftpd: read(ack): Connection refused Dec 23 02:51:12 tftp in.tftpd[7629]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:51:12 tftp in.tftpd[7629]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:51:12 tftp in.tftpd[7630]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:51:12 tftp in.tftpd[7630]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:51:12 tftp in.tftpd[7631]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml Dec 23 02:51:18 tftp in.tftpd[7632]: RRQ from 10.1.2.239 filename CTLSEP0007EB1837B4.tlv Dec 23 02:51:18 tftp in.tftpd[7632]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:51:18 tftp in.tftpd[7633]: RRQ from 10.1.2.239 filename SEP0007EB1837B4.cnf.xml Dec 23 02:51:18 tftp in.tftpd[7633]: sending NAK (1, File not found) to 10.1.2.239 Dec 23 02:51:18 tftp in.tftpd[7634]: RRQ from 10.1.2.239 filename XMLDefault.cnf.xml
The beginning looks unique. There is a fair amount of repetition as the phone cycles, but there is a refusal from time to time (unknown why).

My tftp folder looks like this:

[root@tftp tftp]# ls -al total 1068 drwxr-xr-x 3 root root 4096 Dec 22 20:53 . drwxr-xr-x 3 root root 4096 Dec 19 15:31 .. lrwxrwxrwx 1 root root 10 Dec 22 17:57 OS7960.TXT -> OS79XX.TXT -rw-r--r-- 1 root root 13 Dec 22 20:32 OS79XX.TXT -rw-r--r-- 1 root root 129240 Dec 22 17:39 P003-08-2-00.bin -rw-r--r-- 1 root root 129644 Dec 22 17:39 P003-08-2-00.sbn lrwxrwxrwx 1 root root 16 Dec 22 17:49 P00308200.bin -> P003-08-2-00.bin lrwxrwxrwx 1 root root 16 Dec 22 17:49 P00308200.sbn -> P003-08-2-00.sbn -rw-r--r-- 1 root root 461 Dec 22 17:39 P0S3-08-2-00.loads -rw-r--r-- 1 root root 785338 Dec 22 17:39 P0S3-08-2-00.sb2 lrwxrwxrwx 1 root root 18 Dec 22 17:49 P0S308200.loads -> P0S3-08-2-00.loads lrwxrwxrwx 1 root root 16 Dec 22 17:49 P0S308200.sb2 -> P0S3-08-2-00.sb2 drwxr-xr-x 3 root root 4096 Dec 22 20:53 SCCP -rw-r--r-- 1 root root 631 Dec 22 20:33 SIP0007EB1837B4.cnf -rw-r--r-- 1 root root 546 Dec 22 18:23 SipDefault.cnf -rw-r--r-- 1 root root 597 Dec 22 20:32 XMLDefault.cnf.xml lrwxrwxrwx 1 root root 18 Dec 22 17:44 xmlDefault.CNF.XML -> XMLDefault.cnf.xml

The SCCP folder contains my work from when I was trying to get SCCP to work. The links are my various attempts at addressing issues of presense (or lack thereof) of dashes and case.

Here are the contents of various files:

[root@tftp tftp]# cat OS79XX.TXT P0S3-08-2-00

[code][root@tftp tftp]# cat SIP0007EB1837B4.cnf
image_version: P0S3-08-2-00

Sip Config for Extension: 223

Line 1 Setup

line1_name: "Marco"
line1_authname: "Marco"
line1_shortname: "223"
line1_password: "Abc.123"
line1_displayname: “Marco”; # Line 1 Display Name (Display name to use for SIP messaging)

Phone Label (Text desired to be displayed in upper right corner)

phone_label: “Marco” ; Has no effect on SIP messaging

Phone Password (Password to be used for console or telnet login)

phone_password: “cisco” ; Limited to 31 characters (Default - cisco)

User classifcation used when Registering [ none(default), phone, ip ]

user_info: none

telnet_level: 2[/code]

[code][root@tftp tftp]# cat SipDefault.cnf
proxy1_address: “10.1.5.112” ; Can be dotted IP or FQDN
proxy2_address: “” ; Can be dotted IP or FQDN
proxy3_address: “” ; Can be dotted IP or FQDN
proxy4_address: “” ; Can be dotted IP or FQDN
proxy5_address: “” ; Can be dotted IP or FQDN
proxy6_address: “” ; Can be dotted IP or FQDN

proxy_register: 1

messages_uri: “298”

phone_password: “cisco” ; Limited to 31 characters (Default - cisco)

sntp_server: 10.1.2.1
time_zone: CST

dial_template: DIALPLAN[/code]

[root@tftp tftp]# cat XMLDefault.cnf.xml <Default> <callManagerGroup> <members> <member priority="0"> <callManager> <ports> <ethernetPhonePort>2000</ethernetPhonePort> </ports> <processNodeName>10.1.5.112</processNodeName> </callManager> </member> </members> </callManagerGroup> <loadInformation7 model="Cisco 7960">P0S3-08-2-00</loadInformation7> <directoryURL></directoryURL> <idleURL></idleURL> <informationURL></informationURL> <messagesURL></messagesURL> <servicesURL></servicesURL> </Default>

Ideas on what is going on and what to do to resolve it?

bump

I had the same problem and it took me ages to fix. The upgrade procedure requires going through several steps.

I fixed it by upgrading from default SCCP to SIP POS30202. When you upgrade make sure the SIPDefault.cnf file only has the “image version” line. If it’s the full file it won’t work.

Upgrade SIP POS3-07-5-00

Upgrade to POS3-8-6-00

Once i followed these steps it works everytime…