Polycom phone keeps rebooting - not registering via tftp

Asterisk 13.7
FreePBX 13.0.95

New polycom phone not registering, it keeps rebooting. I am not able to access the phone’s webpage through its ip.

10:46:12.087976 IP 10.19.2.xx.17266 > 192.168.xx.xx.tftp: 38 RRQ “0004f25d2dxx.cfg” octet blksize 4096
10:46:12.240686 IP 10.19.2.xx.17299 > 192.168.xx.xx.tftp: 53 RRQ “polycom/2/2345-12375-001.sip.ld” octet blksize 4096
10:46:12.320691 IP 10.19.2.xx.26753 > 192.168.xx.xx.tftp: 38 RRQ “polycom/2/sip.ld” octet blksize 4096
10:46:12.688877 IP 10.19.2.xx.31422 > 192.168.xx.xx.tftp: 43 WRQ “0004f25d2dxx-boot.log” octet blksize 4096

What does the file

Contain?

Why are we not seeing any responses from tftpd?

Newbie here. Eventhough, i have mentioned the log directory in the mac.cfg file, still I could not find this file created in that directory or anywhere else. Can you please help me with this? Thanks.

you will need to add -c to server options in your tftpd configuration, it would then be in the tftp directory so defined in the same file.

Finding files in Unix (from the console) is simple:

find / -name “filename”

where “filename” is the file you are looking for. The quotes are required if the file has any spaces. If there are special characters, you might need to use single quotes.

I don’t think you are going to find the file. I don’t think TFTP is running, or if it is, I don’t think a firewall is letting the traffic pass or the directory/files in the /tftpboot directory are set up correctly…

All the other phones have registered and are working. So, i guess its not a problem with the firewall/tftp. I am just wondering if there is some problem with the .cfg files created for that extension by the endpoint manager.

I will try the -c to server options in the tftpd configuration and see if i can get the log file.

Will reloading xinetd after changing the tftp file affect the other phones that are registered? I don’t want the phones to be offline during bussiness hours.

Thanks.

Only when the phones reboot, so no.

No boot log generated even after giving -c in server options in tftp configuration. Any other hints on how to resolve this rebooting issue.

Next thing

tcpdump port 69

output of tcpdump port 69

13:30:37.258406 IP 10.19.2.xx.17266 > 192.168.xx.xx.tftp: 38 RRQ “0004f25d2d30.cfg” octet blksize 4096
13:30:37.406261 IP 10.19.2.xx.17299 > 192.168.xx.xx.tftp: 53 RRQ “polycom/2/2345-12375-001.sip.ld” octet blksize 4096
13:30:37.481055 IP 10.19.2.xx.26753 > 192.168.xx.xx.tftp: 38 RRQ “polycom/2/sip.ld” octet blksize 4096
13:30:37.844234 IP 10.19.2.xx.31422 > 192.168.xx.xx.tftp: 43 WRQ “0004f25d2d30-boot.log” octet blksize 4096

Then to see if tftp is responding

tftp ip.of.ser.ver

If not

netstat -aun|grep 69

lsof -i :69

tftp is responding.

netstat -aun|grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:*
udp 0 0 192.168.xx.xx:4569 0.0.0.0:*
udp 0 0 192.168.xx.xx:13069 0.0.0.0:*

Add -vvv to your server options restart xinetd and

tailf /var/log/messages

Also try and get the file in your tftp client, it might be a firewall issue

It says “tftpd: read(ack): Connection refused”. You may be right, Maybe, it is a firewall issue.

Apr 22 14:09:53 freepbx-b pacemakerd[20870]: notice: crm_add_logfile: Additional logging available in /var/log/cluster/corosync.log
Apr 22 14:10:02 freepbx-b freepbx(asterisk_service)[21057]: INFO: 20 active channels 10 active calls 60812 calls processed
Apr 22 14:10:23 freepbx-b pacemakerd[21513]: notice: crm_add_logfile: Additional logging available in /var/log/cluster/corosync.log
Apr 22 14:10:32 freepbx-b freepbx(asterisk_service)[21637]: INFO: 22 active channels 11 active calls 60813 calls processed
Apr 22 14:10:34 freepbx-b in.tftpd[20227]: tftpd: read(ack): Connection refused
Apr 22 14:10:54 freepbx-b pacemakerd[22110]: notice: crm_add_logfile: Additional logging available in /var/log/cluster/corosync.log
Apr 22 14:11:02 freepbx-b freepbx(asterisk_service)[22295]: INFO: 24 active channels 12 active calls 60816 calls processed
Apr 22 14:11:24 freepbx-b pacemakerd[22762]: notice: crm_add_logfile: Additional logging available in /var/log/cluster/corosync.log
Apr 22 14:11:32 freepbx-b freepbx(asterisk_service)[22887]: INFO: 28 active channels 14 active calls 60819 calls processed
Apr 22 14:11:54 freepbx-b pacemakerd[23358]: notice: crm_add_logfile: Additional logging available in /var/log/cluster/corosync.log
Apr 22 14:12:02 freepbx-b freepbx(asterisk_service)[23545]: INFO: 28 active channels 14 active calls 60821 calls processed
Apr 22 14:12:03 freepbx-b in.tftpd[22379]: tftpd: read(ack): Connection refused

You apparently have the Schmooze HA thingy, I would take it to commercial modules support.