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