Using the Asterisk/FreePBX image from about two weeks ago, v13.0.74. to provision some Polycom 331/335 phones with RasPBX via tftp, and it's generally working fine (they provision, can make calls, do voicemail, etc.), but I can't figure out how to get the log files uploaded.
Trying to keep an orderly directory setup, so I've put files in subdirectories, but even with defaults, logs and address books don't upload.
the /tftpboot and all it's subdirectories are 777 permission, so that shouldn't be the problem.
Did make a (mac address)-directory.xml file and the phone loaded it (from /tftpboot/polycom/directories/), just won't write new/updated stuff.
Tried doing some searching for "Asterisk FreePBX tftp write" and similar to see if i can findinfo, but what comes up talks about changing arguments to -c to /etc/xinetd.d/tftp but there is no xinetd.d in /etc/.
Seems like this is most likely the issue, but I don't know enough Linux to figure out where the config files are for this.
Ideas?
Cheers.
Trying to keep an orderly directory setup, so I've put files in subdirectories, but even with defaults, logs and address books don't upload.
the /tftpboot and all it's subdirectories are 777 permission, so that shouldn't be the problem.
Did make a (mac address)-directory.xml file and the phone loaded it (from /tftpboot/polycom/directories/), just won't write new/updated stuff.
Tried doing some searching for "Asterisk FreePBX tftp write" and similar to see if i can findinfo, but what comes up talks about changing arguments to -c to /etc/xinetd.d/tftp but there is no xinetd.d in /etc/.
Seems like this is most likely the issue, but I don't know enough Linux to figure out where the config files are for this.
Ideas?
Cheers.
find / -name "*inetd*"
find / -name "*ftp*"
may find it as a fallback.
Somone else with freepbx may be able to give more details.
Wasn't sure if I'd have much luck here since IP phones aren't the main focus, but hey, I already had an account here.
Have to head over to a more asterisk centric forum.
Thanks for the help though.
I was able to find the tftpd config file at /etc/xinetd.d/tftp when I logged into the console so at least on my machine it does appear to be there.
That is probably the difference (see my follow up), but thanks for looking.
Makes sense now why the global side of why everyone else was saying one thing and why the real world was different.
Good info to know should it come up again.
Follow up for future reference, RasPBX doesn't allow this in the current version, as it uses dnsmasq for TFTP, which is a read-only TFTP server.
-Edit-Reference : https://sourceforge.net/p/raspbx/discussion/general/thread/b9a3fa09/
Stupid forum, was supposed to be a reply to the first post to make it easy to find.