Chris Nighswonger
2012-Sep-06 14:46 UTC
[asterisk-users] Polycom Phone Configuration Overrides Not Saved
I have some Polycom 351 on Asterisk 10. On the same box as * I have a tftp server running to handle configs, etc. The Polycom phones have no problem grabbing config foo from the tftp server as well as writing log files back to the server. However, when I use the web-if on a phone to set a custom ring-tone, the web interface saves the change locally, but throws an error stating that it cannot write the override config to the tftp server. A look at a tcpdump shows that the phone indeed attempts to push the file to the server: 10:33:10.197294 IP 192.168.0.23.50672 > pbx1.campus.foundations.edu.tftp: 38 RRQ "0004f2a5b892.cfg" octet blksize 4096 10:33:10.473171 IP 192.168.0.23.29766 > pbx1.campus.foundations.edu.tftp: 43 RRQ "2345-12365-001.sip.ld" octet blksize 4096 10:33:10.711510 IP 192.168.0.23.33183 > pbx1.campus.foundations.edu.tftp: 42 RRQ "0004f2a5b892_reg.cfg" octet blksize 4096 10:33:10.758896 IP 192.168.0.23.28895 > pbx1.campus.foundations.edu.tftp: 29 RRQ "sip.cfg" octet blksize 4096 10:33:11.620103 IP 192.168.0.23.21917 > pbx1.campus.foundations.edu.tftp: 54 RRQ "overrides/0004f2a5b892-phone.cfg" octet blksize 4096 10:33:11.825803 IP 192.168.0.23.27460 > pbx1.campus.foundations.edu.tftp: 52 RRQ "overrides/0004f2a5b892-web.cfg" octet blksize 4096 10:33:11.850646 IP 192.168.0.23.18554 > pbx1.campus.foundations.edu.tftp: 55 RRQ "licenses/000000000000-license.cfg" octet blksize 4096 10:33:11.873077 IP 192.168.0.23.34766 > pbx1.campus.foundations.edu.tftp: 55 RRQ "licenses/0004f2a5b892-license.cfg" octet blksize 4096 10:33:26.294928 IP 192.168.0.23.25504 > pbx1.campus.foundations.edu.tftp: 37 WRQ "cq_de_ku4dd.wav" octet blksize 4096 10:33:36.238357 IP 192.168.0.23.63322 > pbx1.campus.foundations.edu.tftp: 52 WRQ "overrides/0004f2a5b892-web.cfg" octet blksize 4096 10:33:36.539747 IP 192.168.0.23.37433 > pbx1.campus.foundations.edu.tftp: 69 RRQ "languages/Website_dictionary_language_en-us.xml" octe A look at /var/log/messages shows: Sep 6 10:33:11 pbx1 in.tftpd[18368]: tftpd: read(ack): Connection refused Now why is it that the phone is refused only when writing the override file? Note that the only logging difference between a successful and unsuccessful write is the above line from the message log. The tcpdump looks the same. Kind Regards, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120906/fa1e2613/attachment.htm>
Paul Belanger
2012-Sep-06 18:30 UTC
[asterisk-users] Polycom Phone Configuration Overrides Not Saved
On 12-09-06 10:46 AM, Chris Nighswonger wrote:> I have some Polycom 351 on Asterisk 10. On the same box as * I have a tftp > server running to handle configs, etc. The Polycom phones have no problem > grabbing config foo from the tftp server as well as writing log files back > to the server. However, when I use the web-if on a phone to set a custom > ring-tone, the web interface saves the change locally, but throws an error > stating that it cannot write the override config to the tftp server. > > A look at a tcpdump shows that the phone indeed attempts to push the file > to the server: > > 10:33:10.197294 IP 192.168.0.23.50672 > pbx1.campus.foundations.edu.tftp: > 38 RRQ "0004f2a5b892.cfg" octet blksize 4096 > 10:33:10.473171 IP 192.168.0.23.29766 > pbx1.campus.foundations.edu.tftp: > 43 RRQ "2345-12365-001.sip.ld" octet blksize 4096 > 10:33:10.711510 IP 192.168.0.23.33183 > pbx1.campus.foundations.edu.tftp: > 42 RRQ "0004f2a5b892_reg.cfg" octet blksize 4096 > 10:33:10.758896 IP 192.168.0.23.28895 > pbx1.campus.foundations.edu.tftp: > 29 RRQ "sip.cfg" octet blksize 4096 > 10:33:11.620103 IP 192.168.0.23.21917 > pbx1.campus.foundations.edu.tftp: > 54 RRQ "overrides/0004f2a5b892-phone.cfg" octet blksize 4096 > 10:33:11.825803 IP 192.168.0.23.27460 > pbx1.campus.foundations.edu.tftp: > 52 RRQ "overrides/0004f2a5b892-web.cfg" octet blksize 4096 > 10:33:11.850646 IP 192.168.0.23.18554 > pbx1.campus.foundations.edu.tftp: > 55 RRQ "licenses/000000000000-license.cfg" octet blksize 4096 > 10:33:11.873077 IP 192.168.0.23.34766 > pbx1.campus.foundations.edu.tftp: > 55 RRQ "licenses/0004f2a5b892-license.cfg" octet blksize 4096 > 10:33:26.294928 IP 192.168.0.23.25504 > pbx1.campus.foundations.edu.tftp: > 37 WRQ "cq_de_ku4dd.wav" octet blksize 4096 > 10:33:36.238357 IP 192.168.0.23.63322 > pbx1.campus.foundations.edu.tftp: > 52 WRQ "overrides/0004f2a5b892-web.cfg" octet blksize 4096 > 10:33:36.539747 IP 192.168.0.23.37433 > pbx1.campus.foundations.edu.tftp: > 69 RRQ "languages/Website_dictionary_language_en-us.xml" octe > > > A look at /var/log/messages shows: > > Sep 6 10:33:11 pbx1 in.tftpd[18368]: tftpd: read(ack): Connection refused > > Now why is it that the phone is refused only when writing the override file? > > Note that the only logging difference between a successful and unsuccessful > write is the above line from the message log. The tcpdump looks the same. >Permissions issues? If you switched to FTP or HTTP does it work? -- Paul Belanger | PolyBeacon, Inc. Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger