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       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to