[Freeswitch-users] Audi record using uuid_record

Peter Olsson peter.olsson at visionutveckling.se
Mon May 11 07:42:43 PDT 2009

I've confirmed that recording to wav files works just fine. So it seems to be somthing strange with the native files in FS?


Från: Peter Olsson
Skickat: den 11 maj 2009 16:16
Till: 'freeswitch-users at lists.freeswitch.org'
Ämne: RE: [Freeswitch-users] Audi record using uuid_record

In this case it is pure PCMA, all the way from the phone. I just dial in to number 2100 (using SIP, codec PCMA), and then I have a event socket connected that sees the ivr-test flag. I then play some files (PCMA), and then start a recording.

    <extension name="ivr-test2">
      <condition field="destination_number" expression="^2100$">
      <action application="set" data="ivr-test=true"/>
      <action application="answer"/>
      <action application="park"/>

I understand that it works with wav, however, the application I'm working on already exists, and it makes lots of trouble for me to change the file format during the recording - I have lots of other parts of the software that needs to be changed as well. I've used yate for this application before this - so everything does exist, I'm just porting it to FreeSWITCH.


Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Brian West
Skickat: den 11 maj 2009 15:58
Till: freeswitch-users at lists.freeswitch.org
Ämne: Re: [Freeswitch-users] Audi record using uuid_record

Chances are if both legs are NOT already alaw you'll need to record it with .wav or .al files.  .PCMU or .PCMA are native file formats if any transcoding is taking place you probably can't get way with .PCMA.


On May 11, 2009, at 8:39 AM, Peter Olsson wrote:

Hello again,

I also have a problem when I try to record messages. I record to .PCMA-files, and the file is created perfectly. But it's just distorted audio in it. It sounds to me that there might be a codec issue. The media stream is PCMA all the way from the phone to FreeSWITCH, and to start recording I simply call "uuid_record UUID start c:\test.PCMA".

According to the docs the file should automatically be recorded as PCMA when the file is named .PCMA.

Any ideas what I can be doing wrong?


Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org<mailto:Freeswitch-users at lists.freeswitch.org>

Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

-- Meet us at ClueCon!  http://www.cluecon.com<http://www.cluecon.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090511/1245f637/attachment-0002.html 

More information about the FreeSWITCH-users mailing list