Davin O'Neill
2005-Apr-05 09:42 UTC
[Asterisk-Users] Cisco 7940/60 failed to take SIP image from tftp server
I have been trying.so far unsuccessfully to load a SIP image (2.1 first) on my Cisco 7940 and 7960 phones. I know this is a popular topic and common problem and have looked at various resources including Cisco's documentation, wiki and this user group. I have followed all the steps as illustrated in these references: <http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx> http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx <http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a008 0094584.shtml#topic2> http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a0080 094584.shtml#topic2 I have the following files in my /tftpboot folder. OS79XX.TXT P0S30201.bin SIPmac_address.cnf SIPDefault.cnf I have verified that my tftp server is running by using a tftp client on the same host. I was able to 'get' the files with my tftp client The OS79XX.TXT and SIPDefault.cnf both point to the P0S30201 image. When monitoring the network traffic with tcpdump I see the phone hunting for these files: OS79XX.TXT SEPmac.cnf.xml XMLDefault.cnf.xml SEPmac.cnf SEPDefault.cnf The phone simply will not take the SIP image from the tftp server. The phone will cycle through and keep requesting the above files. I found this messages in /var/log/messages xinetd[25674]: warning: can't get client address: Transport endpoint is not connected I didn't find any other tftp related messages in the log file. Is there somewhere else I should be looking? Any assistance or lessons learned would be greatly appreciated. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050405/9c38ddd5/attachment.htm
John Breeden
2005-Apr-05 11:18 UTC
[Asterisk-Users] Cisco 7940/60 failed to take SIP image from tftp server
You don't need the xml files, they arn't supported until V 7.X and even then aren't needed. I avoid the whole bsd tftpd/inetd thingy altogether. It's always proved somewhat flakey for me over the years. Instead I use atftp (ftp://ftp.mamalinux.com/pub/atftp/) which can run as a standalone deamon. Hope this helps ... Davin O'Neill wrote:>I have been trying.so far unsuccessfully to load a SIP image (2.1 first) on >my Cisco 7940 and 7960 phones. I know this is a popular topic and common >problem and have looked at various resources including Cisco's >documentation, wiki and this user group. I have followed all the steps as >illustrated in these references: > > > > <http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx> >http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx > > > > ><http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a008 >0094584.shtml#topic2> >http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a0080 >094584.shtml#topic2 > > > >I have the following files in my /tftpboot folder. > > > >OS79XX.TXT > >P0S30201.bin > >SIPmac_address.cnf > >SIPDefault.cnf > > > >I have verified that my tftp server is running by using a tftp client on the >same host. I was able to 'get' the files with my tftp client > > > >The OS79XX.TXT and SIPDefault.cnf both point to the P0S30201 image. > > > >When monitoring the network traffic with tcpdump I see the phone hunting for >these files: > > > >OS79XX.TXT > >SEPmac.cnf.xml > >XMLDefault.cnf.xml > >SEPmac.cnf > >SEPDefault.cnf > > > >The phone simply will not take the SIP image from the tftp server. The >phone will cycle through and keep requesting the above files. > > > >I found this messages in /var/log/messages > > > >xinetd[25674]: warning: can't get client address: Transport endpoint is not >connected > > > >I didn't find any other tftp related messages in the log file. Is there >somewhere else I should be looking? > > > >Any assistance or lessons learned would be greatly appreciated. Thanks! > > > > > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Ron Wellsted
2005-Apr-05 12:40 UTC
[Asterisk-Users] Cisco 7940/60 failed to take SIP image from tftp server
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Davin O'Neill wrote:> I have been trying?so far unsuccessfully to load a SIP image (2.1 first) > on my Cisco 7940 and 7960 phones. I know this is a popular topic and > common problem and have looked at various resources including Cisco?s > documentation, wiki and this user group. I have followed all the steps > as illustrated in these references: > > > > http://www.voip-info.org/wiki-Asterisk+phone+cisco+79xx > > > > http://www.cisco.com/en/US/tech/tk652/tk701/technologies_tech_note09186a0080094584.shtml#topic2 > > > > I have the following files in my /tftpboot folder. > > > > OS79XX.TXT > > P0S30201.bin > > SIP/mac_address/.cnf > > SIPDefault.cnf > > > > I have verified that my tftp server is running by using a tftp client on > the same host. I was able to ?get? the files with my tftp client > > > > The OS79XX.TXT and SIPDefault.cnf both point to the P0S30201 image. > > > > When monitoring the network traffic with tcpdump I see the phone hunting > for these files: > > > > OS79XX.TXT > > SEPmac.cnf.xml > > XMLDefault.cnf.xml > > SEPmac.cnf > > SEPDefault.cnf > > > > The phone simply will not take the SIP image from the tftp server. The > phone will cycle through and keep requesting the above files. > > > > I found this messages in /var/log/messages > > > > xinetd[25674]: warning: can't get client address: Transport endpoint is > not connected > > > > I didn?t find any other tftp related messages in the log file. Is there > somewhere else I should be looking? > > > > Any assistance or lessons learned would be greatly appreciated. Thanks!Create the SEPmac.cnf.xml file in your tftpboot directory and edit it to contain: - - - - - CUT HERE - - - - <Default> <loadInformation8 model="IP Phone 7940">P0S30201</loadInformation8> <loadInformation7 model="IP Phone 7960">P0S30201</loadInformation7> </Default> - - - - - CUT HERE - - - - This worked for me. - -- Ron Wellsted http://www.wellsted.org.uk ron@wellsted.org.uk FWD:519961 Gossiptel:9309811 N 52.567623, W 2.137621 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQlLpqUtP/KMNOfRbAQJosAf+IZxOb03porNw3xdsgTRUjInR+tONNShr 0I/iyaHCuV/hnDHM7pKeJ/YPl/5q+MafzJOe12pLnuDDOV3OpMvU91DSI1zJ2uQ0 onlEyogWIzq7nwj6yPTSijsy3Hqb+Fp+3jZM6EI9Sk5+7iabyCV67xgt1ImHZSN+ 0kagS84xzC9sX86Ic8V6bk3HFAiawJv17UcT2va9lTUF2Iz3HTIrpZpo2/aHpL2P BT/9JlL9NmQCMbuKruvRUvzSu3ydIFws5CwMWH3YQQ/Z9PtJ649V9bmfUfOO9Aci pgmtUFk2q4zIZj1IqCwk7rOq1abBlyL69t7WrSNBCXR/Uxth+OyYEg==662Z -----END PGP SIGNATURE-----
Davin O'Neill
2005-Apr-05 14:09 UTC
[Asterisk-Users] Cisco 7940/60 failed to take SIP image from tftp server
Thanks! That did the trick. My tftp server sent the OS79XX.TXT file and the P0S30201.bin image file. The systems logs show: atftp: severing OS79XX.TXT to Phone IP address atftp: severing P0S30201.bin to Phone IP address However, I did not see the SIPmac_address.cnf or SIPDefault.cnf being sent. The display on the phone shows: "Defaulting CM to TFTP Server" The buttons on the bottom flash, but progress stops there. Hopefully I'll be able to figure out the rest tomorrow. Thanks again. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050405/218b95aa/attachment.htm