[asterisk-users] Recording from g729 to wav means transcoding ?

Gordon Henderson gordon+asterisk at drogon.net
Wed Jul 14 06:39:20 CDT 2010


On Wed, 14 Jul 2010, Jonas Kellens wrote:

> On 07/14/2010 08:55 AM, Gordon Henderson wrote:
>> On Tue, 13 Jul 2010, Paul Belanger wrote:
>>
>>> On Tue, Jul 13, 2010 at 7:41 AM, Jonas Kellens<jonas.kellens at telenet.be>  wrote:
>>>
>>>> I have no licenses and I want to avoid transcoding all together.
>>>>
>>> For terminating a call into Asterisk, you need g729 licenses.  It is
>>> that simple.
>>>
>> The sounds package is avalable in g729 formats and voicemail can write in
>> g729 format too without transcoding from a g729 source. So what else is
>> there if you're not interfacing with PSTN hardware or using meetme?
>>
> And how about Monitor() to record conversations ?? The only format in
> which you can choose to record is wav|wav49|gsm.

Hm. you're right, and I've just checked the code:


                 snprintf(tmp,sizeof(tmp) - 1,"%s/%s.%s",urlprefix,fname_base,
                         ((strcmp(format,"gsm")) ? "wav" : "gsm"));

That appears to force the filename into .wav or .gsm.

I can understand why MixMonitor might not be able to handle g729 as they 
presumably have to be transcoded to a format that can be mixed then 
transcoded back to g729, but not a simple Monitor which is writing 2 
files...

So pure g729 is possible if you're not using

   MeetMe
   Monitor
   MixMonitor
   PSTN

Although you should be able to use PSTN if it's local to the site and not 
being sent via the Internet - so a local phone which understands both G711 
and G729 ought to work with local PSTN and a VoIP trunk in G729....

And it's nice to have a choice of vendors to buy G729 from now too. 
Doesn't help on weedy hardware though.

Gordon



More information about the asterisk-users mailing list