RE : [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware)
I'm running on Linux box (redhat 9). After some tests, it's the script when filling the header wich cause some trouble. When the checksum is ok, I've 1 extra byte. By example the Ringtone filename start at offset 0x11, and the audio stream at 0x201 When the checksum is false, the file length is write on 3 bytes following by the checksum... The audio stream begin at offset 0x203 Perhaps it's a missconfiguration of my Perl ?? Olivier. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Tony Mountifield Envoyé : mercredi 2 juin 2004 16:33 À : [EMAIL PROTECTED] Objet : [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware) In article <[EMAIL PROTECTED]>, vv <[EMAIL PROTECTED]> wrote: > It seem there are trouble with some sound file about checksum > calculation > > By example I have a wav file = 99kb after converted in ul = 39 kb , > but makering give me checksum error !! I trying a wav file recorded > with voice recorder, work fine , just "chunk error" message > > > checksum before = db8e > checksum after = 4db2 > checksum failed Are you running the perl program on Unix/Linux or on Windows? It has only been tested on Linux, and may need "binmode STDIN;" if running under Windows. Cheers, Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephen R. Besch > Sent: Wednesday, 2 June 2004 11:05 PM > To: [EMAIL PROTECTED] > Subject: [Asterisk-Users] Re: Grandstream ringtone maker (was > Re: Grandstream v1.0.4.68 firmware) > Can't say I haven't wondered that myself. Given that there > are no serial > numbers visible on the phones, I suspect that one could use the MAC > address as a serial number, since these are probably allocated > sequentially. Only the last 6 digits should change. My first phone > (bought as an evaluator) has last 6 digits of 002175. The second > shipment has numbers in the range of 002935 and up. It would be > interesting to know if the MAC's from the phones that work are > significantly higher than these. My first phone (which does work) ends with 006258. The other is 00ac44 which also works and has different positioning of the lights (not to mention being a nice black colour). > Stephen R. Besch -Shaun ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephen R. Besch > Sent: Wednesday, 2 June 2004 5:24 AM > To: [EMAIL PROTECTED] > Subject: [Asterisk-Users] Re: Grandstream ringtone maker (was > Re: Grandstream v1.0.4.68 firmware) > > Now if I could only get my GS phones to load the ring tone files. The > TFTP log shows all the requests for the usual boot files and the cfg > files but NO requests for the ring tones, not even file not found > responses. I can't believe that this is the tftp server. I > have tried it > on at least three different phones, purchased in 2 different lots and > still no luck. Maybe the phones just don't like me. Maybe :-) I successfully converted some of the ringtones I had for our 7940/7960 phones which were loaded onto the GS phones with no problems. I just spotted the response from Tony Mountifield - if that's the case, make sure they're not bigger than 65536 bytes. Ours are all around the 3 bytes mark. -Shaun ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware)
Stephen R. Besch wrote: See near the bottom for the interesting bit :-) OK, while composing this post I decided to write a perl program to read a uLaw stream on standard input and create a suitable header, writing the result to an output file. It can be found at http://www.softins.co.uk/makering.pl.txt Now if I could only get my GS phones to load the ring tone files. The TFTP log shows all the requests for the usual boot files and the cfg files but NO requests for the ring tones, not even file not found responses. I can't believe that this is the tftp server. I have tried it on at least three different phones, purchased in 2 different lots and still no luck. Maybe the phones just don't like me. The funny thing is that some phones requests the *all* the files and some dont. I dont see the difference between the phones, and Yes they are from the same lot May 31 20:59:51 galaxy tftpd[31324]: Serving bootload.bin to nnn.113.84.34:61383 May 31 20:59:57 galaxy tftpd[31325]: Serving bootload.bin to nnn.113.84.34:61383 May 31 20:59:57 galaxy tftpd[31326]: Serving bt100.bin to nnn.113.84.34:61385 May 31 21:00:12 galaxy tftpd[31347]: Serving voc.bin to nnn.113.84.34:61387 May 31 21:00:25 galaxy tftpd[31348]: Serving html100.bin to nnn.113.84.34:61389 May 31 21:00:29 galaxy tftpd[31349]: Serving ring1.bin to nnn.113.84.34:61391 May 31 21:00:34 galaxy tftpd[31350]: Serving ring2.bin to nnn.113.84.34:61393 May 31 21:00:40 galaxy tftpd[31351]: Serving ring3.bin to nnn.113.84.34:61395 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Re: Grandstream ringtone maker (was Re: Grandstream v1.0.4.68 firmware)
>Now if I could only get my GS phones to load the ring tone files. The >TFTP log shows all the requests for the usual boot files and the cfg >files but NO requests for the ring tones, not even file not found >responses. I can't believe that this is the tftp server. I have tried it >on at least three different phones, purchased in 2 different lots and >still no luck. Maybe the phones just don't like me. I have exactly the same problem. Could there be different hardware versions? Stig ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users