Conrad Wood wrote: > Does the patch add any functionality to atftp that tftpd-hpa[1] doesn't > have?
This patch adds only GS BT phones recognition funcionality. tftpd-hpa does not correct handle the OPTION parameters in the TFTP packet ;( At first I tired to implement it into tftpd-hpa, but after debuging the code I give it up. The tftpd-hpa reads the parameters from the TFTP packet as they are in the packet and after each option it do the associated command. The packet from GS BT looks like --- cut --- Opcode: Read Request (1) Source File: boot.bin Type: octet Option: blksize = 1024 Option: tsize = 0 Option: timeout = 4 Option: grandstream_MODEL = BT-100 Option: grandstream_NAT = 1 Option: grandstream_ID = 000b8203e0e9 Option: grandstream_REV_BOOT = 001.000.001.000 Option: grandstream_REV_PHONE = 001.000.006.007 Option: grandstream_REV_VOC = 001.000.001.000 Option: grandstream_REV_HTML = 001.000.000.049 Option: grandstream_REV_RING1 = 001.000.000.000 Option: grandstream_REV_RING2 = 001.000.000.000 Option: grandstream_REV_RING3 = 000.000.000.000 --- cut --- So it reads ... Opcoce - do something Source File - send the file to the client ... Reads the Options from packet. So in the time or sending requested file, there I have no information about the phone. I was too lazy to correct this ;( hudecof > > [1] http://packages.debian.org/stable/net/tftpd-hpa > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- "Linux hackers are funny people: They count the time in patchlevels." -- Martin Josefsson _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users