James Sharp wrote: > On 3/13/12 5:53 PM, Danny Nicholas wrote: >> Ping the phones, then run arp. >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of >> [email protected] >> Sent: Tuesday, March 13, 2012 4:52 PM >> To: [email protected] >> Subject: [asterisk-users] Getting Mac Address on connected IP phones >> >> I am struggling to get the mac-addresses of IP phones that are connected >> to >> asterisk as the phone are in different VLAN with * and they were >> manually >> configured. I want to centralize their configuration using res_phoneprov >> or >> tftp >> >> I have tried nmap and arp in vain. >> >> Any idea? >> > > ping + arp isn't going to work if they're on a different VLAN. > I believe this will work: > > 1) Set up your TFTP server, but do not put any configuration files in > the /tftpboot directory (or whatever the directory is). > 2) Set the DHCP server on the phones' network to hand out the TFTP > server address. > 3) Reboot the phones > 4) Watch the TFTP server logs and you should see each phone request a > file based on its MAC. With no downloaded config file, the phone should > revert to what it already has in nvram. > 5) Collect MAC addresses out of the server logs > 6) Profit? >
Handy but working plan. Let me give it a try Thanks Sam -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
