ntp for cisco 7940 phone

yesmat

New Member
Joined
Nov 18, 2007
Messages
116
Reaction score
0
I am having a problem with pushing the time to a cisco 7940 phone via t*f*t*p.

I am running PIAF1.1 and have configured /tftboot folder and copied all the files from my TB2.2, which I have been using for long time to /tftpboot. other aspects of t*f*t*p work fine (including the logo) except time.

I have seen other posts in this regards but without any fix.

Any feedback is appreciated.
 
firewall

PBXiaF comes with iptables (firewall) ON by default. TB2.2 didn't have this extra security.
The NTP (udp) port 123 is blocked by default.
You will have to open this up yourself (using webmin), or, (if you feel you're safe) run disable-iptables from the command line, then REBOOT.
 
Hi tel0p,

It worked, many thanks for your help. I guess we have to get used to having iptables enabled as opposed to TB, which is wide open by default.

Cheers
 
Which is the best way, appart from webmin, to change the rules of iptables.
i.e. which file to edit /etc/sysconfig/iptables.save? or do we edit etc/sysconfig/iptables directly?
then we have to run iptables-restore < <filename>

cheers
 
oops sorry it is not working still. I thought I got it to work. But even with disable-iptables still no time on the phone.

Do we have to change permissions for the /tftpboot directory?

like chmod 777 /tftpboot/ ?
 
hmm

As for editing iptables, even doing it from WebMin gives me the jitters. If you're not familiar with it, don't mess it up.

My box is behind a firewall thus I've disabled iptables.

Try running disable-iptables again and make sure that you reboot after. Also confirm what the phone says in its settings for current NTP server (it should be the exact IP of your PBXiaF box).

I also assume you have already setup NTP on the PBXiaF side, if not, this link may be helpful:
http://www.elviswoo.com/?p=15

PS My tftpboot directory permissions are 755.
PPS t*f*t*p uses (UDP) port 69, pretty sure it's enabled in PBXiaF hopefully UDP 123 will be defaulted to open in the next release.
 
HINT: Suggestions for changes to the build that are buried in these threads never make it to the radar. Add a separate note in the Wish List section or Developers Section (pw: boo) with what is needed and why. :smile5:
 
Yesmat,
I'm about to receive my first batch of 7940's. I've never configured them before, do you have any tips or links on how to configure it on PiaF?
 
The first step is to change the firmware to a SIP based version. The best option is to ask for the COP file with the latest firmware from the vendor of the phones.

These need to be uploaded to the phone via t*f*t*p. Do you have a DHCP server configured that allows you to sepcify option 66?

The actual process is described (very cryptically) here and again here. But really neither are helpful.

Then start drinking lots of water because by the time you get it all working you will be sweating blood! (just jokes) PM me if you want some sample config files.

One alternative is of course to donate to the project. It might just encourage Tom a little harder to get a workable end point manager going. And you might not have to sweat blood after all!!!
 
Thanks for your reply gaijin,
I'm purchasing them from some refurbisher off of ebay. I don't know if he'll have the file?
is it easily downloadable?
I can setup a t*f*t*p. but don't know what option 66 on a DHCP is?
I've done PAP2 modding using t*f*t*p before, is the process similar?

I found cmterm-7940-7960-8.6.00-sip.cop.sgn and cmterm-7940-7960-8.6.00-sip.cop
from here will these work?
 
I have commissioned several of these. In the beginning it was a long process but now I have it nailed down that it has become plug and play. All you have to do is the following:

1- make sure you have a DHCP server that provides the phone with option 150 which points to your PIAF server. I also have option 66 pointing to the server as well. I am sure we don't need both but for now it works fine

2- under /tftpboot you will need to upload your firmware, I use version 8.4. Unzip the firmware and copy all files to /tftpboot and chmod 755

3- You will also need to copy XMLDefault.cnf.xml and xmlDefault.CNF.XML from cisco _utils back to /tftboot.

4- Make sure you edit these two files to include the correct version of firmware you will be using
5- Now edit your SIPDefault.cnf to include your correct image Version, the rest of the file is self explanatory.
6- Copy across a SIP<MAC>.cnf file with relevant parameters for this account.
7- BOot the phone, it will upgrade to SIP and copy the config file
good luck
 
Thanks Yesmat and Gaijin,
I finally got it. Using a DHCP/t*f*t*p server on a windows machine I finally got the phones firmwares upgraded. since the DHCP server only allows one option at a time, I tried 150 and 66. But only Option 66 worked for me. 150 did not. Also, I only have xmlDefault.CNF not the XMLDefault.cnf in the t*f*t*p folder. It seem to work fine.
I think it is also worth mentioning that one should do a factory reset on the phone prior to the procedure so that it will grab the address from the DHCP server.
For those in the future: Hold the # key right after power up, hold until the headset, mute, speaker lights flash sequence stops and the screen says reset sequence detected. then release the # key and immediately push 123456789*0# then 2 to erase network configuration.
I wonder if you guys have any sample dialplan.xml files for me to try out and learn from to modify, and any ringer files so I can put them in the ringlist.dat to try out?
Thanks again

BTW, in the xmlDefault.CNF file, what should the <ethernetPhonePort>2000</ethernetPhonePort> be set to? that is not the sip port right?
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top