Cisco 7960 Issue
I'm trying to configure a Cisco 7960 using the endpoint manager on my trixbox, but after it appears to have configured its IP and downloaded its firmware, it just sits there with the "configuring phone" message. It's been this way for about ten minutes, so I'm just wondering if there is something else I need to do or if I'm just being impatient and should shut up. Thanks!
Are you using “atftpd” running by default on trixbox?
It is very useful when atftpd is serving files to a phone to monitor the logs so that you can see what is happening “live”. To do this you need to watch the atftpd log file. For this run
tail -f /var/log/atftpd.log
Then reboot the phone with #6 and the settings key.
The atftp log displays the last 10 lines of the log file and automatically refreshes the display. To exit this ctrl^C. If the log is trying to serve the same file over and over again - then something is wrong. I covered the upgrading of 7940 / 7960 phones here, it may help you.
http://cat24.net/Cisco_Sip_Phones.html
If you check with the settings key on the phone you can find all the network settings and the firmware version etc.
My atftpd logs look fine. Here it is. Could I be sending the wrong files?
May 14 16:00:37 asterisk1.local atftpd[3781.-1208506048]: Advanced Trivial FTP server started (0.7)
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving CTLSEP0015632CDE66.tlv to 216.206.25.158:50327
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving SEP0015632CDE66.cnf.xml to 216.206.25.158:50328
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving SIP0015632CDE66.cnf to 216.206.25.158:50329
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving SIPDefault.cnf to 216.206.25.158:50330
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving ./SIP0015632CDE66.cnf to 216.206.25.158:50331
May 14 16:00:37 asterisk1.local atftpd[3781.-1208509520]: Serving P0S3-07-5-00.loads to 216.206.25.158:50332
May 14 16:00:38 asterisk1.local atftpd[3781.-1208509520]: Serving P0S3-07-5-00.sbn to 216.206.25.158:50333
Take a look you tftp server folder in /tftpboot. In order for a Cisco 7960 to boot properly, you have to make sure the tftpboot directory contains the right firmware files. Here is the files you need to have.
P003-08-9-00.bin
P003-08-9-00.sbn
P0S3-08-9-00.loads
P0S3-08-9-00.sb2
OS79XX.TXT
SIP
SIPDefault.cnf
xmlDefault.CNF.XML
XMLDefault.cnf.xml
You also need to check the content of the files to make sure it has entry matching the firmware version.
OS79XX.TXT - it should contains only one line start with P003-xx-x-xx. xx should be match the firmware file version. Some as other files.
SIPDefault.cnf - The second line in the file should show image_version: "P0S3-xx-x-xx"
xmlDefault.CNF.XML, XMLDefault.cnf.xml - it should also contains a line "loadInformation7 model="IP Phone 7960">P0S3-xx-x-xx
Okay. I've checked all of the files you've mentioned and changed the firmware version to the one I expect to use. I have all of the needed files except SIP.cnf. I do have SIPDefault.cnf, though. I'm rebooting the phone again to give it another shot and I'll get back to ya'll with the results. Thanks for the help so far!
The phone may have existing config in the NVRAM. It's very common if you got the phone somewhere else. If there is a hardcoded option in the phone itself, the SIPDefault.cnf file will be able to apply. To factroy reset, do the following.
1. Make sure your DHCP server has option 150 (TFTP Server IP address) to your TB.
2. Unplug the power from the phone.
3. Press and hold the the # key and reapply power.
4. Keep holding the # key and wait until "HEADSET, MUTE and SPEAKER" key flash.
5. Release # key, press 1,2,3,4,5,6,7,8,9,*,0,# in sequence with in 30 seconds.
6. The screen will ask to save network config or not, press 2.
7. The phone will erase NVRAM and reset to default.
I'm not sure if version 7 firmware able to use with TB or not. get a new firmware if you can.
Hello again.
Well, I've reset the phone to factory defaults, and now have version 8.6 firmware on the tftp server, but it still gives me the "main thread exiting" message. Here's the logs if you want to dig deeper:
May 16 15:54:26 asterisk1.local atftpd[6487.-1209017424]: Serving SEP0015632CDE66.cnf.xml to 216.206.25.158:50528
May 16 15:54:26 asterisk1.local atftpd[6487.-1209017424]: Serving SIP0015632CDE66.cnf to 216.206.25.158:50529
May 16 15:54:27 asterisk1.local atftpd[6487.-1209017424]: Serving SIPDefault.cnf to 216.206.25.158:50530
May 16 15:54:27 asterisk1.local atftpd[6487.-1209017424]: Serving ./SIP0015632CDE66.cnf to 216.206.25.158:50531
May 16 15:54:27 asterisk1.local atftpd[6487.-1209017424]: Serving P0O3-08-6-00.loads to 216.206.25.158:50532
May 16 15:54:28 asterisk1.local atftpd[6487.-1209017424]: Serving P0O3-08-6-00.sbn to 216.206.25.158:50533
May 16 15:54:43 asterisk1.local atftpd[6487.-1209017424]: Serving MGCDefault.cnf to 216.206.25.158:50513
May 16 15:54:43 asterisk1.local atftpd[6487.-1209017424]: Serving MGC0015632CDE66.cnf to 216.206.25.158:50514
May 16 15:54:45 asterisk1.local atftpd[6487.-1209017424]: Serving RINGLIST.DAT to 216.206.25.158:50515
May 16 15:54:45 asterisk1.local atftpd[6487.-1209017424]: Serving CARD.XML to 216.206.25.158:50516
May 16 15:59:45 asterisk1.local atftpd[6487.-1209013952]: atftpd terminating after 300 seconds
May 16 15:59:45 asterisk1.local atftpd[6487.-1209013952]: Main thread exiting
After the phone loads the SIPmac address.cnf, it should load P0S3-xx-x-xx.loads. The firmware file contains 4 main files. Two start with "P0S3", and other two start with "P003". The letter "P" is capital. "0" is number zero. You have "P0O3-08-6-00.loads" which contains a letter "O". Check your tftpboot folder to make sure you have the right files. Check my earlier post to make sure you have the right entry in each .cnf files. Don't mess up "P0S3" and "P003". it needs to be exactly match. P003 is the phone OS firmware and P0S3 is the phone application firmware.
No dice, again. It now shows the correctly spelled files, like below, but it still fails and the phone just sits there. I've also set my extension to NAT=never.
May 20 15:35:02 asterisk1.local atftpd[18157.-1208505424]: Serving P003-08-6-00.loads to 216.206.25.158:50530
May 20 15:35:03 asterisk1.local atftpd[18157.-1208505424]: Serving P003-08-6-00.sbn to 216.206.25.158:50531
I have noticed that I do not have a CARD.XML file, the file that the tftp seems to choke on. If I need to make one, what are the contents of this file? Thanks again everyone.
a simple google brings this up
http://livecalldata.com/
P003-08-9-00 is much more solid.
http://www.xs4all.nl/~graver1/cisco/SIP-7960/
Even with 8.9, it still hangs at "serving CARD.XML". I know I don't have one in the tftpboot folder, but I don't know what's in the file or where to get one. Cisco hasn't been of much help, since you have to have a service contract to access most of their website. Does anyone have this file?
Even with 8.9, it still hangs at "serving CARD.XML". I know I don't have one in the tftpboot folder, but I don't know what's in the file or where to get one. Cisco hasn't been of much help, since you have to have a service contract to access most of their website. Does anyone have this file?
Okay. I must be stupid! I've realized that I must first convert my MGCP Cisco phone to the SIP firmware. I wasn't aware that it was a two step process before reading a few more threads and websites. I've now set my OS79XX and SIPDefault files to P003-08-9-00, but the phone still chokes on the CARD.XML file, which isn't mentioned as a required file anywhere I look. Could someone please explain this?


Member Since:
2008-03-18