[asterisk-users] Voiceprompts i.e. voicemail and conferencing in multiple codecs

Kenny Watson kwatson at geniusgroupltd.com
Fri Jul 2 04:41:08 CDT 2010


----- Original Message -----
From: "Paul Belanger" <paul.belanger at polybeacon.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
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
<kwatson at geniusgroupltd.com> 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: paul.belanger at polybeacon.com | 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



More information about the asterisk-users mailing list