Steve Edwards <asterisk....@sedwards.com> writes:

> 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

Cute, but all that accomplishes is renaming. I want to run a script
which returns a different configuration based on the file name (and
possibly the client IP address). Unfortunately there is also no
UserAgent-header in TFTP...


/Benny


_______________________________________________
-- 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