Cisco 7960 Issue

Zipster90
Posts: 51
Member Since:
2008-03-18

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!

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Anybody?

Anybody?

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



SkykingOH
Posts: 2678
Member Since:
2007-12-17
Please tell us more. What

Please tell us more. What version trix? Did you load the SIP firmware on the server?

Is it getting an IP address (check messages log for DHCP), is it pulling anything from tftp (check the atftpd.log)?

--

Scott

aka "Skyking"



Zipster90
Posts: 51
Member Since:
2008-03-18
I'm running 2.2.12, and I

I'm running 2.2.12, and I think the 7960's we have already have the SIP firmware. The phones do appear to both get an IP address and download from the TFTP server.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



anchor85
Posts: 544
Member Since:
2006-06-07
Cisco 7960 upgrade /config

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.

--

John
Cat24.net



Zipster90
Posts: 51
Member Since:
2008-03-18
My atftpd logs look fine.

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

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



jingxi02
Posts: 75
Member Since:
2007-05-19
Check the file list

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.cnf
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



Zipster90
Posts: 51
Member Since:
2008-03-18
Okay. I've checked all of

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!

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Same result. Still sitting

Same result. Still sitting at "Configuring Phone". The phone did pull all of the files from the TFTP, though.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Oops. Spoke too soon. The

Oops. Spoke too soon. The tftp logs now say "main thread exiting", so according to your tutorial, John, it's messed up. I'll try an earlier version tomorrow, unless any of you guys have another plan. For now, it's quittin' time!

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



jingxi02
Posts: 75
Member Since:
2007-05-19
Do a factory reset on the phone and use newer firmware

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.



Zipster90
Posts: 51
Member Since:
2008-03-18
Hello again. Well, I've

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

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



jingxi02
Posts: 75
Member Since:
2007-05-19
You have wrong file name in the SIPDefault.cnf

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.



kerryg
Posts: 6140
Member Since:
2006-05-31
Edit the extension you are

Edit the extension you are trying to use and set NAT=never

--

Kerry Garrison
trixbox Community Director
FtOCC Training Sept 16-18
http://trixbox.com/support-and-training/training



jingxi02
Posts: 75
Member Since:
2007-05-19
Qualify=yes also

If the extension uses Qualify=no, I have seen the TB is not able to determine the phone is offline or not and refuse the phone to re-register until you do a sip reload.



Zipster90
Posts: 51
Member Since:
2008-03-18
No dice, again. It now shows

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.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



CMCLAIN
Posts: 135
Member Since:
2007-01-24
XMLDefault.cnf.xml

You must edit XMLDefault.cnf.xml & xmlDefault.CNF.XML to use the "P003-08-9-00" image.



Zipster90
Posts: 51
Member Since:
2008-03-18
But I'm using the 8.6

But I'm using the 8.6 firmware.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



CMCLAIN
Posts: 135
Member Since:
2007-01-24
P003-08-9-00

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/



CMCLAIN
Posts: 135
Member Since:
2007-01-24
Regardless

Regardless which version you use the hangup seems to be:
You must edit XMLDefault.cnf.xml & xmlDefault.CNF.XML to use the "P003-XX-X-00" image.
replace P003-XX-X-00 "whatever it is now" with what you want it to be.



Zipster90
Posts: 51
Member Since:
2008-03-18
Alright. I'll give that a

Alright. I'll give that a try.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Even with 8.9, it still

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?

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Even with 8.9, it still

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?

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Whoops. Double post. Sorry.

Whoops. Double post. Sorry.

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Zipster90
Posts: 51
Member Since:
2008-03-18
Okay. I must be stupid! I've

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?

--

Zach Peterson
Texonics, Inc.
IT Technician
www.texonics.com



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.