We use cisco phones, (not 7970s) and figuring out if they are actually getting 
the tftp files is very very important. Here is how we confirm that they are 
getting the files:

1. Edit your /etc/xinetd.d/tftp config file. In server_args add a "-v". This 
enables the logging on the tftp server
2. restart xinetd or restart the server
3. follow your /var/log/messages using tail -f /var/log/messages

now, when the phone boots, you should see the ftp logs in the /var/log/messages:

Apr  6 09:56:30 crl-ucs1 xinetd[2194]: START: tftp pid=10668 from=172.25.1.128
Apr  6 09:56:30 crl-ucs1 in.tftpd[10669]: RRQ from 172.25.1.128 filename 
CTLSEP00270DBF2A8F.tlv
Apr  6 09:56:30 crl-ucs1 in.tftpd[10670]: RRQ from 172.25.1.128 filename 
SEP00270DBF2A8F.cnf.xml
Apr  6 09:56:31 crl-ucs1 snmpd[2146]: Connection from UDP: [127.0.0.1]:53406
Apr  6 09:56:31 crl-ucs1 snmpd[2146]: Received SNMP packet(s) from UDP: 
[127.0.0.1]:53406
Apr  6 09:56:36 crl-ucs1 in.tftpd[10673]: RRQ from 172.25.1.128 filename 
/mk-sip.jar
Apr  6 09:56:36 crl-ucs1 in.tftpd[10674]: RRQ from 172.25.1.128 filename 
/g3-tones.xml
Apr  6 09:56:38 crl-ucs1 in.tftpd[10675]: RRQ from 172.25.1.128 filename 
dialplan.xml

now you can check these requests with what is in your tftp directory. be aware 
though, that not all of these are needed in sipx. I think g3-tones.xml doesn't 
exist and the .tlv file does not exist either.

This can also be helpful for diagnosing problems with ringtones and background 
images, as well as tftp firmware loads from the phone:
Apr  6 09:59:57 crl-ucs1 in.tftpd[12706]: RRQ from 172.25.1.128 filename ringlis
t.xml
Apr  6 10:00:04 crl-ucs1 in.tftpd[12714]: RRQ from 172.25.1.128 filename Desktop
s/320x196x4/List.xml
Apr  6 10:00:04 crl-ucs1 in.tftpd[12715]: RRQ from 172.25.1.128 filename Desktop
s/320x196x4/TN-CRL-LOGO.png
Apr  6 10:00:05 crl-ucs1 in.tftpd[12716]: RRQ from 172.25.1.128 filename Desktop
s/320x196x4/TN-Fry.png
Apr  6 10:00:05 crl-ucs1 in.tftpd[12717]: RRQ from 172.25.1.128 filename Desktop
s/320x196x4/TN-CRL-LOGO.png
Apr  6 10:00:06 crl-ucs1 snmpd[2146]: Connection from UDP: [127.0.0.1]:34764
Apr  6 10:00:06 crl-ucs1 snmpd[2146]: Received SNMP packet(s) from UDP: [127.0.0
.1]:34764
Apr  6 10:00:10 crl-ucs1 in.tftpd[12724]: RRQ from 172.25.1.128 filename Desktop
s/320x196x4/CRL-LOGO.png


if you really run into problems then wireshark is your only friend. With 
wireshark you can very easily see if the phone actually downloaded the file.

Dylan

From: sipx-users-boun...@list.sipfoundry.org 
[mailto:sipx-users-boun...@list.sipfoundry.org] On Behalf Of Ben Wannan
Sent: Monday, April 05, 2010 6:26 PM
To: Rhon
Cc: sipx-users@list.sipfoundry.org
Subject: Re: [sipx-users] Cisco 7970G Firmware Upgrade

Rhon,

I'm still convinced its the dial plan, as thats what the symptom's relating 
too. try ssh'ing in to the server, and copy the dialplan in both UPPER and 
lowercase in the tftproot, some cisco's are looking for upper or lowercase 
only, afaik, you cant re-upload the same filename, so u need to ssh in to do it.

to update the firmware on those models, get yourself a tftpserver on your 
desktop, isolate the phone to that machine, run a dhcp for it locally (should 
come with said server), point the tftp to the firmware folder and make sure you 
have a MACADDRESS.xml file for each phone.


the entire cisco + sipx is a complicated thing, easy once you've done it, but 
.....involved. hpoefully this can be tidy'd up in newer versions.


Regards,

Ben

On Tue, Apr 6, 2010 at 7:50 AM, Rhon 
<c4rdi...@gmail.com<mailto:c4rdi...@gmail.com>> wrote:
Hi All,

I want to upgrade our Cisco phone SIP firmware to a new firmware because of a 
problem making the Cisco 7970 phone work with SipXecs.
After adding a Managed Phone, User, Add Line.. the phone remained useless! 
Picking up the handset gives you a dial tone but pressing even a single number 
will drop the call instantaneously.

We loaded the Dila Plan via Unmanaged TFTP as suggested on our previous post 
and modified the processNodeName but the problem remains.

Now our only hope is to upload the new firmware. However, I noticed that in the 
Device files upload only Cisco 7941/7960 phone is only supported. Or this other 
approach to do this?

Thanks in advance.

Rhon



_______________________________________________
sipx-users mailing list 
sipx-users@list.sipfoundry.org<mailto:sipx-users@list.sipfoundry.org>
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

_______________________________________________
sipx-users mailing list sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to