[asterisk-users] OT - How to organize TFTP root directory ?
Steve Edwards
asterisk.org at sedwards.com
Thu Oct 22 16:12:25 CDT 2009
On Thu, 22 Oct 2009, Benny Amorsen wrote:
> A lot of IP phones support HTTP instead of TFTP. This helps, because it
> is fairly easy to write a script which dynamically generates the
> configuration.
>
> Someone really ought to write a TFTP daemon with the same feature... Or
> a TFTP plugin for apache perhaps.
atftpd can do PCRE substitutions to transform a requested file name into
something else. I've not used this facility, but I'm guessing you could
transform:
SIPDefault.cnf -> cisco/SIPDefault.cnf
sip.cfg -> polycom/sip.cfg
spa841.cfg -> sipura/spa841.cfg
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list