----- Original Message ----- From: "Paul Belanger" <[email protected]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]> Sent: Tuesday, 29 June, 2010 10:22:18 PM Subject: Re: [asterisk-users] Voiceprompts i.e. voicemail and conferencing in multiple codecs
On Tue, Jun 29, 2010 at 12:51 PM, Kenny Watson <[email protected]> wrote: > Is it simply a case of converting the prompts into other codecs and asterisk > will pick these up? > Yes, install both g729 and ulaw/alaw prompts to avoid trans-coding altogether. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: [email protected] | IRC: pabelanger (Freenode) blog.polybeacon.com -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Not sure if this will help anyone else but I wrote a small script to convert the sound files in my uk folder to g729 using asterisk (with some help from the net). The script is below, thanks Kenny for i in `ls -R /var/lib/asterisk/sounds/uk/*wav`; # do recursive ls and only list wav files and loop through each one do # start do loop CONV=`echo $i|sed 's/.wav/.g729/g'` # set CONV variable as filename with wav swapped for G729 asterisk -rx "file convert $i $CONV" # run convert command placing original filename and new filename in command done # end loop -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
