[asterisk-users] Take 3 -- Trying to get SIP firmware on a 7970G

Jason Lixfeld jason+lists.asterisk at lixfeld.ca
Sun Sep 10 19:04:35 MST 2006


On 10-Sep-06, at 1:58 PM, Chris Jones wrote:

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

Ok, using the standard FreeBSD tftpd, I got a little closer, but  
still no joy.

- With the SEP<MAC>.cnf.xml in place (which was taken from voip-info  
(http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+7970+SIP  
under "This worked for me...")), I get "Load ID Incorrect" on the  
phone display after it boots.

The loadInformation line in the SEP file reads like this:

<loadInformation>SIP70.8-0-4SR1S</loadInformation>

- If I remove the SEP file, the phone requests XmlDefault.cnf.xml.  I  
create the xml file based on the example from the same link above,  
the phone grabs the file, but doesn't upgrade.  It just sits in a  
loop of: release IP => renew IP => look for SEP, fail => look for  
XmlDefault, find and load XmlDefault => release IP...  The  
loadInformation line in the XmlDefault.cnf.xml file reads like this:

<loadInformation6 model="IP Phone 7970">SIP70.8-0-4SR1S</ 
loadInformation6>

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

>> ==> /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 at bubbles /tftpboot]# file /tftpboot/SEP00131A4D39F4.cnf.xml
>> /tftpboot/SEP00131A4D39F4.cnf.xml: ASCII text
>> [root at bubbles /tftpboot]# wc -l /tftpboot/SEP00131A4D39F4.cnf.xml
>>      229 /tftpboot/SEP00131A4D39F4.cnf.xml
>> [[root at bubbles /tftpboot]# ls -al /tftpboot/SEP00131A4D39F4.cnf.xml
>> -rw-r--r--  1 root  wheel  7644 Sep 10 11:32 /tftpboot/ 
>> SEP00131A4D39F4.cnf.xml
>> [root at bubbles /tftpboot]#
>>
>> The SEP<MAC>.xml.cnf file does include the tags for the SIP code:
>>
>> <[root at bubbles /tftpboot]# grep loadInformation /tftpboot/ 
>> SEP00131A4D39F4.cnf.xml
>> <loadInformation>SIP70.8-0-2SR1S</loadInformation>
>> [root at bubbles /tftpboot]#
>>
>> Even though the phone isn't asking for it, I've also verified the / 
>> tftpboot/XMLDefault.cnf.xml file:
>>
>> [root at 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 at bubbles /tftpboot]#
>>
>> The firmware exists as well.  I've verified it a gazillion times:
>>
>> [root at 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 at 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 at toplevel.net.au
> p: (08) 8397-8503
>
>
>
> _______________________________________________
> --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
>



More information about the asterisk-users mailing list