On Thu, 2009-09-10 at 11:44 -0400, Dale Worley wrote:
> On Thu, 2009-09-10 at 11:41 -0400, Scott Lawrence wrote:
> > How do you think you can get its MAC address?  Don't assume that the
> > phone is on the same subnet - it might not be, and if not then the only
> > MAC address that will be in the arp cache is that of the next-hop
> > router.  An auto-provisioning feature is most useful specifically in
> > larger enterprises where multiple subnets are more likely.
> 
> Get the MAC address from the name of the file that the provisioning
> request asks for.  (Actually, we don't need to know the MAC address to
> synthesize the configuration, we need to know the file name.  But all
> phones that I know of encode the MAC address in the file name.)

Which isn't where Paul started on this discussion (using the all-zeros
file name).

This is pretty easily implementable in apache by making the directory
access for the configuration directory be active.  If the phone asks for
001B38BFFEF4.cfg and that file exists, the file is served - if the file
does not exist, then the active component (a cgi, in effect) for the
directory is invoked and gets that name as an argument.


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to