Michael J. Tubby B.Sc (Hons) G8TIC
2006-May-16 07:55 UTC
[Asterisk-Users] Re: [Astlinux-users] British English Female files ready for download
Mark, While these samples are pretty good they do not work "out of the box" - there are a couple of issues: 1. the samples are 44100 samples/second and Asterisk needs them to be at 8000 samples/second. This is what happens if you prune out all of the Amercian voicemail prompts and substitute yours: Asterisk 1.2.7, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================Connected to Asterisk 1.2.7 currently running on pabx (pid = 17392) Verbosity is at least 3 -- Remote UNIX connection -- Executing VoiceMailMain("SIP/2002-2dff", "2002") in new stack May 16 13:06:10 WARNING[24406]: format_wav.c:169 check_header: Unexpected freqency 44100 May 16 13:06:10 WARNING[24406]: file.c:433 ast_filehelper: Unable to open file on /var/lib/asterisk/sounds/vm-password.wav May 16 13:06:10 WARNING[24406]: file.c:821 ast_streamfile: Unable to open vm-password (format alaw): No such file or directory May 16 13:06:10 WARNING[24406]: app_voicemail.c:5002 vm_authenticate: Unable to stream password file -- Executing Hangup("SIP/2002-2dff", "") in new stack == Spawn extension (from-local-phone, 6000, 2) exited non-zero on 'SIP/2002-2dff' pabx*CLI> quit I've fixed this with a bit of shell script (below): #!/bin/bash # # conv.sh -- convert the Alison Keenan Asterisk files # Author: Mike Tubby mike@tubby.org # # This shell script converts the Alison Keenan Asterisk # files supplied in 44100 samples/second to 8000 samples # second so they work with Asterisk # # Put this script where you unpacked the tarball and # execute it - the converted files will be in a subdirectory # as specified by OUTDIR (below) # OUTDIR="./converted" ASTDIR="/var/lib/sounds" # make the directories mkdir -p $OUTDIR/digits $OUTDIR/letters $OUTDIR/phonetic $OUTDIR/dictate # locate the files and push them through 'sox' find . -name "*.wav" -exec sox {} -r 8000 $OUTDIR/{} \; # copy them into asterisk #cp -arv $OUTDIR $ASTDIR 2. some of the filenames do not match precisely with the commedian voicemail system resulting in the system doing a "file not found" and hanging up in the middle of use. So far I have found vm-old.wav needs to be: vm-Old.wav vm-pressonefor.wav needs to be: vm-onefor.wav and I've got stuck with option 2 (change folders) here: -- Playing '/var/spool/asterisk/voicemail/default/2002/Old/msg0000' (language 'en') -- Playing 'vm-advopts' (language 'en') -- Playing 'vm-deleted' (language 'en') -- Playing 'vm-nomore' (language 'en') -- Playing 'vm-advopts' (language 'en') -- Playing 'vm-repeat' (language 'en') -- Playing 'vm-undelete' (language 'en') -- Playing 'vm-changeto' (language 'en') -- Playing 'vm-press' (language 'en') -- Playing 'digits/0' (language 'en') -- Playing 'vm-for' (language 'en') May 16 15:29:41 WARNING[27178]: file.c:509 ast_openstream_full: File vm-INBOX does not exist in any format May 16 15:29:41 WARNING[27178]: file.c:821 ast_streamfile: Unable to open vm-INBOX (format alaw): No such file or directory == Spawn extension (from-local-phone, 6000, 1) exited non-zero on 'SIP/2002-b543' where you appear to have no equivalent prompt for "vm-INBOX.wav" Another little observation is that a few of the samples sound a bit "clicky", like they don't start cleanly on a zero crossing... and a couple have variable volume/level... have you put them through something like Audacity and cleaned them up? Regards Mike Tubby G8TIC PS. We do IVR recordings too ... you can call our "virtual switchboard" on: 01905 756700 (UK) or +44 1905 756 700 (Intl) where you'll hear my friend Heidi ... or 845-613 1328 if you're in the USA! ----- Original Message ----- From: "Peter Bowyer" <peter@bowyer.org> To: "Michael J. Tubby G8TIC" <mike.tubby@thorcom.co.uk> Sent: Tuesday, May 16, 2006 7:37 AM Subject: Fwd: [Astlinux-users] British English Female files ready for download These are good.... ---------- Forwarded message ---------- From: Mark Phillips <g7ltt@g7ltt.com> Date: 16-May-2006 04:30 Subject: [Astlinux-users] British English Female files ready for download To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com>, Discussion of AstLinux - Asterisk on Compact Flash <astlinux-users@jail1.krisk.org>, Commercial and Business-Oriented Asterisk Discussion <asterisk-biz@lists.digium.com> With thanks to comedienne Alison Keenan, the female British English audio files are ready for download at http://www.enicomms.com/cutglassivr/ The files are currently only available in wav format (71MB) but will be converted to other formats as time permits. Please read the licence information prior to use. Thanks Mark _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.kriscompanies.com http://lists.kriscompanies.com/mailman/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to paypal@krisk.org. -- Peter Bowyer Email: peter@bowyer.org