| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| Oct » | ||||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | |
Posted on September 4th, 2006 by Chris Farris.
Categories: VOIP.
So work has all these Cisco 7960 phones (ever see 24?) that are sitting in a box. Here are instructions for installing the SIP image and getting rid of the annoying SCCP image.
Overview
The Cisco Phone ship with Cisco’s propritary voip protocol “Skinny” aka SCCP. To be useful the cisco phones need a SIP image installed. This is done by tftping the sip image over.
Process
Setup DHCP and TFTP server
This is what I put in my dhcpd.conf:
# Don't use screwed up ELNK DNS. Use Room17 instead.
option domain-name-servers 82.103.135.68;
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.10 192.168.3.250;
option routers 192.168.3.1;
next-server 192.168.3.1;
allow booting;
allow bootp;
filename "pxelinux.0";
}
The cisco phones will assume the dhcp-server is the tftp server. While there is an option to change this, I’ve yet to make it work. Just easier to install atftpd on the dhcp server.
Install atftpd. Others might work, I use this one. No config needed under SuSE Linux. The rest of this document assumes /tftpboot
Install tftpboot files
You will need:
* Cisco firmware for 07-04-00
* Cisco firmware for 08-03-00
* XMLDefault.cnf.xml
* dialplan.xml
* RINGLIST.DAT
* SIPDefault.cnf
* SIP-flash.cnf
* syncinfo.xml
Unzip 08-03 first. Then overwrite with 07-04. 07-04 has the working bootloader, 08-03 has the latest SIP firmware.
ln -s SIP-flash.cnf SIPMAC-ADDR-ALL-CAPS.cnf
Boot the phone
“*”, “6″, “Settings” is the ctrl-alt-del equlivant.
This is what you should see is syslog if *.* is enabled (comments in **):
chrisf@nimitz:/usr/local/home/chrisf> grep 192.168.3.240 /var/log/syslog Sep 1 13:16:44 nimitz dhcpd: DHCPOFFER on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:16:44 nimitz dhcpd: DHCPREQUEST for 192.168.3.240 (192.168.3.1) from 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:16:44 nimitz dhcpd: DHCPACK on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:16:45 nimitz atftpd[16077]: Serving OS79XX.TXT to 192.168.3.240:50877 ** This tells the phone to download the P003-07-4-00 bootloader image ** Sep 1 13:16:46 nimitz atftpd[16077]: Serving SEP0013809EA170.cnf.xml to 192.168.3.240:50878 Sep 1 13:16:46 nimitz atftpd[16077]: Serving XMLDefault.cnf.xml to 192.168.3.240:50879 Sep 1 13:16:52 nimitz atftpd[16077]: Serving P003-07-4-00.bin to 192.168.3.240:50880 ** here we download the boot loader ** Sep 1 13:17:24 nimitz dhcpd: DHCPOFFER on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:24 nimitz dhcpd: DHCPREQUEST for 192.168.3.240 (192.168.3.1) from 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:24 nimitz dhcpd: DHCPACK on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:24 nimitz atftpd[16077]: Serving CTLSEP0013809EA170.tlv to 192.168.3.240:50529 Sep 1 13:17:24 nimitz atftpd[16077]: Serving SEP0013809EA170.cnf.xml to 192.168.3.240:50530 Sep 1 13:17:24 nimitz atftpd[16077]: Serving SIP0013809EA170.cnf to 192.168.3.240:50531 ** this file needs to exist. It says the image to load is P0S-08-3-00.** Sep 1 13:17:24 nimitz atftpd[16077]: Serving P0S3-08-3-00.loads to 192.168.3.240:50532 Sep 1 13:17:25 nimitz atftpd[16077]: Serving P003-08-3-00.sbn to 192.168.3.240:50533 ** The Phone now reboots ** Sep 1 13:17:51 nimitz dhcpd: DHCPOFFER on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:51 nimitz dhcpd: DHCPREQUEST for 192.168.3.240 (192.168.3.1) from 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:51 nimitz dhcpd: DHCPACK on 192.168.3.240 to 00:13:80:9e:a1:70 (SEP0013809EA170) via eth0 Sep 1 13:17:51 nimitz atftpd[16077]: Serving CTLSEP0013809EA170.tlv to 192.168.3.240:50528 Sep 1 13:17:51 nimitz atftpd[16077]: Serving SEP0013809EA170.cnf.xml to 192.168.3.240:50529 Sep 1 13:17:51 nimitz atftpd[16077]: Serving SIP0013809EA170.cnf to 192.168.3.240:50530 Sep 1 13:17:51 nimitz atftpd[16077]: Serving P0S3-08-3-00.loads to 192.168.3.240:50531 Sep 1 13:17:52 nimitz atftpd[16077]: Serving P0S3-08-3-00.sb2 to 192.168.3.240:50532 ** Loads another SIP image, and reboots ** Sep 1 13:18:35 nimitz dhcpd: DHCPOFFER on 192.168.3.240 to 00:13:80:9e:a1:70 (SIP0013809EA170) via eth0 Sep 1 13:18:35 nimitz dhcpd: DHCPREQUEST for 192.168.3.240 (192.168.3.1) from 00:13:80:9e:a1:70 (SIP0013809EA170) via eth0 Sep 1 13:18:35 nimitz dhcpd: DHCPACK on 192.168.3.240 to 00:13:80:9e:a1:70 (SIP0013809EA170) via eth0 Sep 1 13:18:35 nimitz atftpd[16077]: Serving SIPDefault.cnf to 192.168.3.240:50507 Sep 1 13:18:35 nimitz atftpd[16077]: Serving SIP0013809EA170.cnf to 192.168.3.240:50508 Sep 1 13:18:37 nimitz atftpd[16077]: Serving RINGLIST.DAT to 192.168.3.240:50510 Sep 1 13:18:37 nimitz atftpd[16077]: Serving dialplan.xml to 192.168.3.240:50511 ** now it comes up normally **
Not all of those files will exist. In fact you need to make sure the CTLSEP* and SEP* files DO NOT exist, else it won't attempt to download the SIP* configs.
References
0 comments.
Comments can contain some xhtml. Names and emails are required (emails aren't displayed), url's are optional.
Powered by WordPress
© 2006 by Chris Farris. All rights reserved.
Background is Sky Song by Digital Blasphemy
Page Designed based on Vistered Little.