<br><br><div class="gmail_quote">2009/6/11 Grygoriy Dobrovolskyy <span dir="ltr"><<a href="mailto:megahohol@gmail.com">megahohol@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote">2009/6/11 Olivier <span dir="ltr"><<a href="mailto:oza-4h07@myamail.com" target="_blank">oza-4h07@myamail.com</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I can't find a way to tailor DHCP/TFTP/HTTP environment so that brand new Aastra SIP phones can be auto-provisioned when config files are stored in a specific TFTP subdirectory instead of TFTP root directory.<br>
<br>For instance, TFTP root directory is /srv/tftp.<br>When config files are stored in /srv/tftp, a new Aastra can find its config files.<br>When config files are stored in /srv/tftp/aastra, a new Aastra can't find its config files.<br>
<br>I tried to using DHCP "root-path" option to tell Aastra phones to search the right subdirectory, but it doesn't seem to work.<br><br>Any advice on this ?<br><br>Regards</blockquote></div></div><div><br>
How about /srv/tftp/aastraphones ? </div>
</div></blockquote><div><br>Do you mean using /srv/tftp/aastraphones should work while /srv/tftp/aastra wouldn't ?<br><br>Anyway, I tried this and this doesn't change anything :<br>Jun 11 11:37:33 osiris2 in.tftpd[2476]: connect from 192.168.100.119 (192.168.100.119)<br>
Jun 11 11:37:33 osiris2 tftpd[2477]: tftpd: trying to get file: security.tuz<br>Jun 11 11:37:33 osiris2 tftpd[2477]: tftpd: serving file from /srv/tftp<br>Jun 11 11:37:33 osiris2 in.tftpd[2478]: connect from 192.168.100.119 (192.168.100.119)<br>
Jun 11 11:37:33 osiris2 tftpd[2479]: tftpd: trying to get file: aastra.cfg<br>Jun 11 11:37:33 osiris2 tftpd[2479]: tftpd: serving file from /srv/tftp<br>Jun 11 11:37:35 osiris2 in.tftpd[2480]: connect from 192.168.100.119 (192.168.100.119)<br>
Jun 11 11:37:35 osiris2 tftpd[2481]: tftpd: trying to get file: security.tuz<br><br>In /etc/dhcp3/dhcpd.conf, I included :<br>option root-path "/srv/tftp/aastraphones";<br><br>If I'm not mistaken, it seems :<br>
- DHCP should include in its DHCPOFFER, a TFTP path set to /srv/tftp/aastraphones (using Wireshark, I can't see any root-path related value in DCHPOFFER from DHCP server nor in any consecutive DHCP or TFTP request but I can't say if this is normal or not)<br>
- from then, TFTP request should include something telling files should be searched in aastraphones subdirectory.<br><br><br><br><br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>