Jason Lixfeld
2006-Sep-10 08:54 UTC
[asterisk-users] Take 3 -- Trying to get SIP firmware on a 7970G
Ok, this is the 3rd RMA replacement I've gotten from Cisco. None of the phones were bad, but I have been trying to upgrade them to SIP firmware from Skinny and I've always managed to turn them into doorstops because I've factory reset them and afterwards realize I can't do anything with them unless I have Call Manager to restore the firmware (or so Cisco says). So, I just powered on the latest replacement, checked the firmware in the settings menu, and it appears to have be using 5.0.3.0S Skinny code on it (Load File: TERM70.5-0-3-0S). Checking in the TFTP logs (using utftpd from FreeBSD Ports) after the phone boots and gets an IP from DHDP,and sure enough, it's looking for the SEP<MAC>.cnf.xml file as expected, but it doesn't download it: ==> /var/log/tftpd.log <=Sep 10 15:41:21 bubbles utftpd[64385]: did chdir/root to /tftpboot Sep 10 15:41:21 bubbles utftpd[64386]: connect from 192.168.100.246 Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG uid=65534 Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG dir=/ Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG read=/ Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG write=/ Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG create=/ Sep 10 15:41:21 bubbles utftpd[64386]: did chdir to / Sep 10 15:41:21 bubbles utftpd[64386]: peer requests SEP00131A4D39F4.cnf.xml, conversion octet Sep 10 15:41:21 bubbles utftpd[64386]: unterminated option value in init packet Sep 10 15:41:21 bubbles utftpd[64386]: unterminated option value in init packet This file *DOES* actually exist and *IS* readable by the TFTP server: [root@bubbles /tftpboot]# file /tftpboot/SEP00131A4D39F4.cnf.xml /tftpboot/SEP00131A4D39F4.cnf.xml: ASCII text [root@bubbles /tftpboot]# wc -l /tftpboot/SEP00131A4D39F4.cnf.xml 229 /tftpboot/SEP00131A4D39F4.cnf.xml [[root@bubbles /tftpboot]# ls -al /tftpboot/SEP00131A4D39F4.cnf.xml -rw-r--r-- 1 root wheel 7644 Sep 10 11:32 /tftpboot/ SEP00131A4D39F4.cnf.xml [root@bubbles /tftpboot]# The SEP<MAC>.xml.cnf file does include the tags for the SIP code: <[root@bubbles /tftpboot]# grep loadInformation /tftpboot/ SEP00131A4D39F4.cnf.xml <loadInformation>SIP70.8-0-2SR1S</loadInformation> [root@bubbles /tftpboot]# Even though the phone isn't asking for it, I've also verified the / tftpboot/XMLDefault.cnf.xml file: [root@bubbles /tftpboot]# more XMLDefault.cnf.xml <Default> <callManagerGroup> <members> <member priority="0"> <callManager> <ports> <ethernetPhonePort>2000</ethernetPhonePort> <mgcpPorts> <listen>2427</listen> <keepAlive>2428</keepAlive> </mgcpPorts> </ports> <processNodeName></processNodeName> </callManager> </member> </members> </callManagerGroup> <loadInformation7 model="IP Phone 7960">P0S3-08-4-00</loadInformation7> <loadInformation30006 model="IP Phone 7970">SIP70.8-0-2SR1S</ loadInformation30006> <authenticationURL></authenticationURL> <directoryURL></directoryURL> <idleURL></idleURL> <informationURL></informationURL> <messagesURL></messagesURL> <servicesURL></servicesURL> </Default> [root@bubbles /tftpboot]# The firmware exists as well. I've verified it a gazillion times: [root@bubbles /tftpboot]# tar -zxvf cmterm-7970_7971-sip.8-0-2SR1.cop x SIP70.8-0-2SR1S.loads x apps70.1-1-1-15.sbn x cnu70.3-1-1-15.sbn x copstart.sh x cvm70sip.8-0-1-18.sbn x dsp70.1-1-1-15.sbn x jar70sip.8-0-1-18.sbn x load119.txt x load30006.txt x signed/ x signed/cmterm-7970_7971-sip.8-0-2SR1.cop x term70.default.loads x term71.default.loads [root@bubbles /tftpboot]# I'm stumped. I seem to be doing everything the wiki is telling me to, but I'm obviously dense and missing something somewhere. Anyone have any ideas here?
Chris Jones
2006-Sep-10 10:58 UTC
[asterisk-users] Take 3 -- Trying to get SIP firmware on a 7970G
Jason Lixfeld wrote:> Ok, this is the 3rd RMA replacement I've gotten from Cisco. None of > the phones were bad, but I have been trying to upgrade them to SIP > firmware from Skinny and I've always managed to turn them into > doorstops because I've factory reset them and afterwards realize I > can't do anything with them unless I have Call Manager to restore the > firmware (or so Cisco says). > > So, I just powered on the latest replacement, checked the firmware in > the settings menu, and it appears to have be using 5.0.3.0S Skinny > code on it (Load File: TERM70.5-0-3-0S). > > Checking in the TFTP logs (using utftpd from FreeBSD Ports) after the > phone boots and gets an IP from DHDP,and sure enough, it's looking for > the SEP<MAC>.cnf.xml file as expected, but it doesn't download it: >Try using a different TFTP server. I've found that sometimes, there can be incompatibilities within the TFTP server itself that stop the phones from talking to it. I'm using the default TFTP server that comes with CentOS, with no problems.> ==> /var/log/tftpd.log <=> Sep 10 15:41:21 bubbles utftpd[64385]: did chdir/root to /tftpboot > Sep 10 15:41:21 bubbles utftpd[64386]: connect from 192.168.100.246 > Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG uid=65534 > Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG dir=/ > Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG read=/ > Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG write=/ > Sep 10 15:41:21 bubbles utftpd[64386]: CONFIG create=/ > Sep 10 15:41:21 bubbles utftpd[64386]: did chdir to / > Sep 10 15:41:21 bubbles utftpd[64386]: peer requests > SEP00131A4D39F4.cnf.xml, conversion octet > Sep 10 15:41:21 bubbles utftpd[64386]: unterminated option value in > init packet > Sep 10 15:41:21 bubbles utftpd[64386]: unterminated option value in > init packet > > This file *DOES* actually exist and *IS* readable by the TFTP server: > > [root@bubbles /tftpboot]# file /tftpboot/SEP00131A4D39F4.cnf.xml > /tftpboot/SEP00131A4D39F4.cnf.xml: ASCII text > [root@bubbles /tftpboot]# wc -l /tftpboot/SEP00131A4D39F4.cnf.xml > 229 /tftpboot/SEP00131A4D39F4.cnf.xml > [[root@bubbles /tftpboot]# ls -al /tftpboot/SEP00131A4D39F4.cnf.xml > -rw-r--r-- 1 root wheel 7644 Sep 10 11:32 > /tftpboot/SEP00131A4D39F4.cnf.xml > [root@bubbles /tftpboot]# > > The SEP<MAC>.xml.cnf file does include the tags for the SIP code: > > <[root@bubbles /tftpboot]# grep loadInformation > /tftpboot/SEP00131A4D39F4.cnf.xml > <loadInformation>SIP70.8-0-2SR1S</loadInformation> > [root@bubbles /tftpboot]# > > Even though the phone isn't asking for it, I've also verified the > /tftpboot/XMLDefault.cnf.xml file: > > [root@bubbles /tftpboot]# more XMLDefault.cnf.xml > <Default> > <callManagerGroup> > <members> > <member priority="0"> > <callManager> > <ports> > <ethernetPhonePort>2000</ethernetPhonePort> > <mgcpPorts> > <listen>2427</listen> > <keepAlive>2428</keepAlive> > </mgcpPorts> > </ports> > <processNodeName></processNodeName> > </callManager> > </member> > </members> > </callManagerGroup> > <loadInformation7 model="IP Phone 7960">P0S3-08-4-00</loadInformation7> > <loadInformation30006 model="IP Phone > 7970">SIP70.8-0-2SR1S</loadInformation30006> > <authenticationURL></authenticationURL> > <directoryURL></directoryURL> > <idleURL></idleURL> > <informationURL></informationURL> > <messagesURL></messagesURL> > <servicesURL></servicesURL> > </Default> > [root@bubbles /tftpboot]# > > The firmware exists as well. I've verified it a gazillion times: > > [root@bubbles /tftpboot]# tar -zxvf cmterm-7970_7971-sip.8-0-2SR1.cop > x SIP70.8-0-2SR1S.loads > x apps70.1-1-1-15.sbn > x cnu70.3-1-1-15.sbn > x copstart.sh > x cvm70sip.8-0-1-18.sbn > x dsp70.1-1-1-15.sbn > x jar70sip.8-0-1-18.sbn > x load119.txt > x load30006.txt > x signed/ > x signed/cmterm-7970_7971-sip.8-0-2SR1.cop > x term70.default.loads > x term71.default.loads > [root@bubbles /tftpboot]# > > I'm stumped. I seem to be doing everything the wiki is telling me to, > but I'm obviously dense and missing something somewhere. > > Anyone have any ideas here? > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Chris Jones // Network Administrator Top Level Internet e: chrisj@toplevel.net.au p: (08) 8397-8503
Tomislav ParĨina
2006-Sep-12 00:17 UTC
[asterisk-users] Re: Take 3 -- Trying to get SIP firmware on a 7970G
In article <D1A92C06-E324-4A4B-AE88-7779DC86E7F9@lixfeld.ca>, jason+lists.asterisk@lixfeld.ca says...> The loadInformation line in the SEP file reads like this: > <loadInformation>SIP70.8-0-4SR1S</loadInformation> > > - Here are TFTP server logs to illustrate that I'm using the correct > case'd XmlDefault.cnf.xml file: > > Sep 10 21:57:55 bubbles tftpd[89195]: jalc7970.sip : read request > for SEP00131A4D39F4.cnf.xml: File not found > Sep 10 21:57:55 bubbles tftpd[89197]: jalc7970.sip : read request > for //XmlDefault.cnf.xml: success > > - All the files from the .cop are 100% unmodified. I just tar -zxvf > cmterm-7970_7971-sip.8-0-4SR1.cop and the files are extracted into > the tftpd root directory, which is the same place the SEP and > XmlDefault file are located. > > /stumped.Hi Jason! Try those two things: - don't use 8.0.4 firmware, use 8.0.2 - I didn't get my firmware from cop file, I have downloaded zip file -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)495148 Mob.: +385(91)1212148 SIP: tomo@pbx.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr