Thomas Peters
2018-Feb-28 20:48 UTC
[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my
I'd like to start configuring my Avaya 9608G phones for use on Asterisk / FreePBX / PBX-In-a-Flash. I'm using a variety of other phones on my system without major issues. I've read the discussion back in March, May and August of 2016, but unfortunately, my difficulty is much more basic. I think it has to do with DHCP, specifically, what options I'm offering the phone via DHCP. 1. I haven't even gotten the phone to look for any files on my asterisk server. I know this because the only traffic on my asterisk server going to or from the phone is ARP packets. Here's a tcpdump: $ tcpdump -v -vv host 10.194.138.245 tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 10:07:57.256579 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 48) dhcpserver.mcts.org > 10.194.138.245: ICMP echo request, id 47332, seq 0, length 28 10:07:59.215981 arp who-has 10.194.138.245 (Broadcast) tell 0.0.0.0 10:08:00.216237 arp who-has 10.194.138.245 (Broadcast) tell 0.0.0.0 10:08:02.563742 arp who-has firewall.mcts.org (Broadcast) tell 10.194.138.245 1. The question of boot protocol isn't settled at all-many people say go ahead and use tftp (which would be nice, since all my other phones do) but there's this document https://downloads.avaya.com/css/P8/documents/100176078 that says in part: (page 56) HTTP Generic Setup You can store the binary file, upgrade file, and settings file on an HTTP server. With proper administration, the deskphone seeks out and uses that material. Some functionality might be lost by a reset if the HTTP server is unavailable. Note: If you used TFTP to provide the binary, upgrade, and settings files to older Avaya IP telephones, note that 9600 Series IP Telephones do not support TFTP; you must use HTTP or HTTPS instead. This shouldn't matter, as I think I have provided for both- I added a new directory to my apache config files on my asterisk server, which opens fine in a web browser: http://astserver.mcts.org/voipcfg/<http://ad-apbx.mcts.org/voipcfg/> And I do have those same files in the tftpboot directory, so if it was trying to use tftp, I'd see that. /tftpboot is r-x to everyone, so are all the subdirectories, and the avaya files are all 744 (owned by root.) It contains an index page that just says "hello world" and all the config and upgrade files I downloaded from Avaya. But the phone never looks for anything on this server. It's got 46xxsettings.txt 96x1Supgrade.txt and some tar files and bin files. But the tcpdump tells me it never checks. 1. The docs I've been able to find talk about DHCP option 242 and 176, which I've never used before. All I know about are options like this: pool { range dynamic-bootp 10.194.138.241 10.194.138.254; allow members of "avaya-phones"; deny members of "sophos"; # 10.194.141.251 is asterisk server #option tftp161 "http://10.194.141.251"; option tftp161 "10.194.141.251"; option tftp162 "/voipcfg"; next-server 10.194.141.251; } DHCP is doing some things right for this phone: 14:22:14.020926 arp who-has 10.194.138.245 tell dhcpserver 14:22:15.001014 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 330) dhcpserver.bootps > 10.194.138.245.bootpc: BOOTP/DHCP, Reply, length: 302, xid:0x2c46f14e, flags: [none] Your IP: 10.194.138.245 Server IP: astserver.mcts.org Client Ethernet Address: 50:cd:22:b4:7c:a6 (oui Unknown) Vendor-rfc1048: DHCP:OFFER SID:dhcpserver LT:144000 SM:255.255.0.0 DG:firewall.mcts.org DN:"transit.mcts.org" NS:domainc1.transit.mcts.org,domainc2.transit.mcts.org NTP:dhcpserver 14:22:15.020927 arp who-has 10.194.138.245 tell dhcpserver 14:22:16.020925 arp who-has 10.194.138.245 tell dhcpserver 14:22:16.061936 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto: UDP (17), length: 330) dhcpserver.bootps > 10.194.138.245.bootpc: BOOTP/DHCP, Reply, length: 302, xid:0x2c46f14e, flags: [none] Your IP: 10.194.138.245 Server IP: astserver.mcts.org Client Ethernet Address: 50:cd:22:b4:7c:a6 (oui Unknown) Vendor-rfc1048: DHCP:ACK SID:dhcpserver LT:144000 SM:255.255.0.0 DG:firewall.mcts.org DN:"transit.mcts.org" NS:domainc1.transit.mcts.org,domainc2.transit.mcts.org NTP:dhcpserver 14:22:16.232035 arp who-has 10.194.138.245 (Broadcast) tell 0.0.0.0 14:22:17.232318 arp who-has 10.194.138.245 (Broadcast) tell 0.0.0.0 14:22:19.575743 arp who-has firewall.mcts.org (Broadcast) tell 10.194.138.245 Anyone have any clues? Thomas M. Peters | Sr. Systems Administrator | tpeters at mcts.org<mailto:tpeters at mcts.org> Desk: 414.343.1720 | Helpdesk: x3400 or helpdesk at mcts.org<mailto:helpdesk at mcts.org> Milwaukee County Transit System <http://www.ridemcts.com/> 1942 N 17th Street | Milwaukee, WI 53205 Check us out on Facebook<https://www.facebook.com/mcts> & Twitter <https://twitter.com/RideMCTS> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180228/67631d0e/attachment.html>
Doug Lytle
2018-Feb-28 21:06 UTC
[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my
>>> but unfortunately, my difficulty is much more basic. I think it has to do with DHCP, specifically, what options I?m offering the phone via DHCP.I'm using ISC DHCP with the following: option tftp-server-name "10.30.100.109"; next-server 10.30.100.109; That provides enough information for my Polycom phones to find their server. Doug
Thomas Peters
2018-Feb-28 22:15 UTC
[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my
Doug: Not sure these phones understand TFTP. Docs say they don't. But I made changes like what you suggested. No luck; the phone still never bothers the asterisk server for anything. I still see only broadcasts (only ARPs.) -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle Sent: Wednesday, February 28, 2018 3:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my>>> but unfortunately, my difficulty is much more basic. I think it has to do with DHCP, specifically, what options I?m offering the phone via DHCP.I'm using ISC DHCP with the following: option tftp-server-name "10.30.100.109"; next-server 10.30.100.109; That provides enough information for my Polycom phones to find their server. Doug -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Daniel Tryba
2018-Mar-01 09:42 UTC
[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my
On Wed, Feb 28, 2018 at 08:48:38PM +0000, Thomas Peters wrote:> I'd like to start configuring my Avaya 9608G phones for use on > Asterisk / FreePBX / PBX-In-a-Flash. I'm using a variety of other > phones on my system without major issues. > > I've read the discussion back in March, May and August of 2016, but > unfortunately, my difficulty is much more basic. I think it has to do > with DHCP, specifically, what options I'm offering the phone via DHCP.So you might want to start without configurations from DHCP. Enter the file/http server in the phone manually and point it to a http server containing the needed firmware files and a correct 46xxsettings.txt for you asterisk. Avaya uses other dhcp options for these phone (242): https://downloads.avaya.com/elmodocs2/one-X_Deskphone_Edition/R1.5/output/16_300698_4/admn054.html BTW these phones are a terrible waste when used with Asterisk. They only provided minimal functionality (calls and transfer).
Thomas Peters
2018-Mar-01 14:46 UTC
[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my
Right-- I've seen the Avaya document you cite below. It says "To administer DHCP option 242, make a copy of an existing option 176" but I don't have any example of option 176 or 242 to copy, and don't know what to do to /etc/dhcpd.conf to make it offer option 242. Then there's this long table of parameters to use with (presumably) option 242. I was hoping someone had a working minimal example of a dhcp option 242 config I could copy and modify. They only have minimal function? No speed dials, BLFs, etc? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Daniel Tryba Sent: Thursday, March 01, 2018 3:42 AM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Subject: Re: [asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my On Wed, Feb 28, 2018 at 08:48:38PM +0000, Thomas Peters wrote:> I'd like to start configuring my Avaya 9608G phones for use on > Asterisk / FreePBX / PBX-In-a-Flash. I'm using a variety of other > phones on my system without major issues. > > I've read the discussion back in March, May and August of 2016, but > unfortunately, my difficulty is much more basic. I think it has to do > with DHCP, specifically, what options I'm offering the phone via DHCP.So you might want to start without configurations from DHCP. Enter the file/http server in the phone manually and point it to a http server containing the needed firmware files and a correct 46xxsettings.txt for you asterisk. Avaya uses other dhcp options for these phone (242): https://downloads.avaya.com/elmodocs2/one-X_Deskphone_Edition/R1.5/output/16_300698_4/admn054.html BTW these phones are a terrible waste when used with Asterisk. They only provided minimal functionality (calls and transfer). -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users