[asterisk-users] Avaya 9608G and DHCP and TFTP and HTTP oh my

Thomas Peters TPeters at mcts.org
Wed Feb 28 14:48:38 CST 2018


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>


More information about the asterisk-users mailing list