Re: [asterisk-users] Mp3 for IVR prompts

2009-10-11 Thread Tilghman Lesher
On Saturday 10 October 2009 21:45:37 RSCL Mumbai wrote:
 Can I convert my .WAV IVR greetings, MOH and other recordings into G729
 format to prevent transcoding and hence CPU usage ?

You can do it with a one-time conversion.  This will require a single g729
license:

*CLI file convert foo.wav foo.g729

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Mp3 for IVR prompts

2009-10-11 Thread Michael Graves
On Sun, 11 Oct 2009 09:10:27 -0500, Tilghman Lesher wrote:

On Saturday 10 October 2009 21:45:37 RSCL Mumbai wrote:
 Can I convert my .WAV IVR greetings, MOH and other recordings into G729
 format to prevent transcoding and hence CPU usage ?

You can do it with a one-time conversion.  This will require a single g729
license:

*CLI file convert foo.wav foo.g729


There are embedded Astrisk distros like Astlinux that target small form
factor hardware. They have distributed the standard prompts in various
encodings for quite some time. I think that they may have been amonst
the first to do so. Platforms like the Soekris Net4801 could only
sustain a couple of G.729 transcodes, making native prompts a practical
necessity.

Michael
--
Michael Graves
mgravesatmstvp.com
http://www.mgraves.org
o713-861-4005
c713-201-1262
sip:mgra...@mstvp.onsip.com
skype mjgraves
Twitter mjgraves




___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Mp3 for IVR prompts

2009-10-10 Thread gergis.rasmy

can i use MP3 files as an IVR prompts directly without converting to .gsm 
format? ___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Mp3 for IVR prompts

2009-10-10 Thread Steve Edwards
On Sat, 10 Oct 2009, gergis.rasmy wrote:

 can i use MP3 files as an IVR prompts directly without converting to 
 .gsm format?

You don't want to do this.

Asterisk will attempt to use prompts encoded with the same codec being 
used for the channel. So, unless you have a channel that is using MP3, 
Asterisk would have to transcode the prompt every time it is used. Why 
would you want to burn CPU cycles for this useless activity?

You should strive to have prompts available in all the channel encodings 
actually used by your system. I have systems that only use ULAW, so all of 
my prompts are encoded as ULAW. (Sometimes I cheat and use WAV files 
since they are easier to work with and transcoding from WAV to ULAW is 
cheap.)

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Mp3 for IVR prompts

2009-10-10 Thread RSCL Mumbai
On Sat, Oct 10, 2009 at 7:59 PM, Steve Edwards asterisk@sedwards.comwrote:

 On Sat, 10 Oct 2009, gergis.rasmy wrote:

  can i use MP3 files as an IVR prompts directly without converting to
  .gsm format?

 You don't want to do this.

 Asterisk will attempt to use prompts encoded with the same codec being
 used for the channel. So, unless you have a channel that is using MP3,
 Asterisk would have to transcode the prompt every time it is used. Why
 would you want to burn CPU cycles for this useless activity?

 You should strive to have prompts available in all the channel encodings
 actually used by your system. I have systems that only use ULAW, so all of
 my prompts are encoded as ULAW. (Sometimes I cheat and use WAV files
 since they are easier to work with and transcoding from WAV to ULAW is
 cheap.)


How should I convert my .wav prompts into aLaw, uLaw, G729 ?

Thx
Vai
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Mp3 for IVR prompts

2009-10-10 Thread Steve Edwards
On Sat, 10 Oct 2009, RSCL Mumbai wrote:

 How should I convert my .wav prompts into aLaw, uLaw, G729 ?

The standard Asterisk prompts are already available in a wide variety of 
encodings.

Try googling for asterisk convert mp3 to wav

Some will suggest to use Asterisk. Besides appearing to use a sledgehammer 
for a fly-swatter, I don't like using a mission critical resource when 
there are better alternatives like sox -- especially for scripting.

g729 will be a bit of a bitch, however.

I cobbled up a script to use mpg123 (to convert from MP3 to WAV), sox, 
and normalize.

-- 
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Mp3 for IVR prompts

2009-10-10 Thread RSCL Mumbai
On Sat, Oct 10, 2009 at 11:47 PM, Steve Edwards
asterisk@sedwards.comwrote:

 On Sat, 10 Oct 2009, RSCL Mumbai wrote:

  How should I convert my .wav prompts into aLaw, uLaw, G729 ?

 The standard Asterisk prompts are already available in a wide variety of
 encodings.

 Try googling for asterisk convert mp3 to wav

 Some will suggest to use Asterisk. Besides appearing to use a sledgehammer
 for a fly-swatter, I don't like using a mission critical resource when
 there are better alternatives like sox -- especially for scripting.

 g729 will be a bit of a bitch, however.

 I cobbled up a script to use mpg123 (to convert from MP3 to WAV), sox,
 and normalize.



My IVR prompts are in .WAV format.

Refering to your previous post :
`
You should strive to have prompts available in all the channel encodings
actually used by your system. I have systems that only use ULAW, so all of
my prompts are encoded as ULAW. (Sometimes I cheat and use WAV files
since they are easier to work with and transcoding from WAV to ULAW is
cheap.)
`

Can I convert my .WAV IVR greetings, MOH and other recordings into G729
format to prevent transcoding and hence CPU usage ?

Thx
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users