[on-asterisk] Convert to g722

785 views
Skip to first unread message

Martin Glazer

unread,
Mar 23, 2010, 10:29:39 AM3/23/10
to Asterisk User Group
Hi,

I have some Asterisk prompts that I would like to get converted to g722
and so avoid the transcoding hit. I am running Asterisk 1.4 with the
g722 backport patch.

I found some posts from the asterisk mailing list referring to a utility
from Digium, but I couldn't get it compiled (I am not a programmer).
http://lists.digium.com/pipermail/asterisk-dev/2009-October/040205.html

Anybody know of a linux (preferable) or windows utility to create these
g722 files?

Thanks

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: asterisk-u...@uc.org
For additional commands, e-mail: asteri...@uc.org

Andre Courchesne

unread,
Mar 23, 2010, 10:32:30 AM3/23/10
to Martin Glazer, Asterisk User Group
This is probably the easiest way:

http://www.voip-info.org/wiki/view/Asterisk+file+convert

Maybe sox can do it, but not sure.

---

Andre Courchesne - Consultant

http://www.net-forces.com

MSN: cour...@net-forces.com

Skype: VoipForces

L'information contenue dans le présent document est la propriété de Andre Courchesne. Et est divulguée en toute confidentialité. Cette information ne doit pas être utilisée, divulguée à d'autres personnes ou reproduite sans le consentement écrit explicite de Andre Courchesne.

The information contained in this document is confidential and property of Andre Courchesne. It shall not be used, disclosed to others or reproduced without the express written consent of Andre Courchesne.

Bruce N

unread,
Mar 23, 2010, 12:34:59 PM3/23/10
to sourc...@glazer.ca, asterisk Mailing

Yes, it's here:

http://www.digium.com/en/products/ivr/audio-converter.php

Can convert to g.729, GSM, SLN, and 8KHz.

It maybe the easiest way of doing this going forward. I haven't used but would like to hear feedback.

-Bruce

> Date: Tue, 23 Mar 2010 08:29:39 -0600
> From: sourc...@glazer.ca
> To: aste...@uc.org
> Subject: [on-asterisk] Convert to g722

_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9712957

Kevin Vieyra

unread,
Mar 23, 2010, 4:56:01 PM3/23/10
to Martin Glazer, Asterisk User Group
This is a free audio editor "Cool edit 96" that I have found useful in the
past. The link to the download is on the bottom of this page. Not
necessarily the easy way :)

http://www.threechords.com/hammerhead/cool_edit_96.shtml

Open the file and then save changing the format.

Kevin Vieyra

-----Original Message-----
From: Martin Glazer [mailto:sourc...@glazer.ca]
Sent: Tuesday, March 23, 2010 10:30 AM
To: Asterisk User Group
Subject: [on-asterisk] Convert to g722

Martin Glazer

unread,
Mar 24, 2010, 1:10:59 AM3/24/10
to Bruce N, asterisk Mailing
Thanks Bruce - this doesn't appear to do g722 conversion, only 8KHz wav,
GSM, sln and g729.

> ------------------------------------------------------------------------
> Live connected with Messenger on your phone Learn more.
> <http://go.microsoft.com/?linkid=9712957>

Simon P. Ditner

unread,
Mar 24, 2010, 3:15:12 AM3/24/10
to Martin Glazer, Bruce N, asterisk Mailing
Like Andre said, asterisk has a convert command that you can call from the
asterisk console, or via the command line that will go between any of the
codecs that your asterisk installation supports:

asterisk -rx 'file convert /path/to/src.wav /path/to/dest.g722'

Martin Glazer

unread,
Mar 24, 2010, 4:16:17 AM3/24/10
to Simon P. Ditner, Bruce N, asterisk Mailing
Thanks - I thought this was limited to Asterisk 1.6.1

Using 1.4.30 with the g722 backport, I was able to make the conversion.

Martin

Simon P. Ditner wrote:
> Like Andre said, asterisk has a convert command that you can call from
> the asterisk console, or via the command line that will go between any
> of the codecs that your asterisk installation supports:
>
> asterisk -rx 'file convert /path/to/src.wav /path/to/dest.g722'
>
> On 24 March 2010 01:10, Martin Glazer <sourc...@glazer.ca

> <mailto:sourc...@glazer.ca>> wrote:
>
> Thanks Bruce - this doesn't appear to do g722 conversion, only 8KHz
> wav, GSM, sln and g729.
>
> Bruce N wrote:
>
> Yes, it's here:
> http://www.digium.com/en/products/ivr/audio-converter.php
> Can convert to g.729, GSM, SLN, and 8KHz.
> It maybe the easiest way of doing this going forward. I haven't
> used but would like to hear feedback.
> -Bruce
> > Date: Tue, 23 Mar 2010 08:29:39 -0600

> > From: sourc...@glazer.ca <mailto:sourc...@glazer.ca>
> > To: aste...@uc.org <mailto:aste...@uc.org>


> > Subject: [on-asterisk] Convert to g722
> >
> > Hi,
> >
> > I have some Asterisk prompts that I would like to get
> converted to g722
> > and so avoid the transcoding hit. I am running Asterisk 1.4
> with the
> > g722 backport patch.
> >
> > I found some posts from the asterisk mailing list referring
> to a utility
> > from Digium, but I couldn't get it compiled (I am not a
> programmer).
> >
> http://lists.digium.com/pipermail/asterisk-dev/2009-October/040205.html
> >
> > Anybody know of a linux (preferable) or windows utility to
> create these
> > g722 files?
> >
> > Thanks
> >
> > Martin
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: asterisk-u...@uc.org

> <mailto:asterisk-u...@uc.org>


> > For additional commands, e-mail: asteri...@uc.org

> <mailto:asteri...@uc.org>


> >
>
> ------------------------------------------------------------------------
> Live connected with Messenger on your phone Learn more.
> <http://go.microsoft.com/?linkid=9712957>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asterisk-u...@uc.org

> <mailto:asterisk-u...@uc.org>


> For additional commands, e-mail: asteri...@uc.org

> <mailto:asteri...@uc.org>

John Lange

unread,
Mar 24, 2010, 10:58:18 AM3/24/10
to aste...@uc.org
I didn't see it mentioned which file you are converting but just a
reminder that all the stock asterisk files are available in all the
supported formats.

Also, when making recordings in Asterisk you can record them in several
formats at the same time so you don't have to convert them later.

Regards,
--
John Lange
http://www.johnlange.ca

Reply all
Reply to author
Forward
0 new messages