Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Audi record using uuid_record


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
peter.olsson at vision...
Guest





PostPosted: Mon May 11, 2009 8:40 am    Post subject: [Freeswitch-users] Audi record using uuid_record Reply with quote

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?

Regards,

Peter
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon May 11, 2009 8:58 am    Post subject: [Freeswitch-users] Audi record using uuid_record Reply with quote

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.

/b

On May 11, 2009, at 8:39 AM, Peter Olsson wrote:
Quote:
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?

Regards,

Peter

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Mon May 11, 2009 9:07 am    Post subject: [Freeswitch-users] Audi record using uuid_record Reply with quote

I record them to file.wav and they play perfectly. I think it's recorded
in a raw-format here. See:
http://www.nabble.com/Recording-ULAW-files-td21587474.html

Best regards
Peter

Peter Olsson schrieb:
Quote:

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?



Regards,



Peter

------------------------------------------------------------------------

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon May 11, 2009 9:17 am    Post subject: [Freeswitch-users] Audi record using uuid_record Reply with quote

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"/>
      </condition>
    </extension>

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.

//Peter

Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West
Skickat: den 11 maj 2009 15:58
Till: freeswitch-users@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.


/b


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?



Regards,



Peter


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Brian West

brian@freeswitch.org (brian@freeswitch.org)




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









!DSPAM:4a0830b432933740610192!
Back to top
peter.olsson at vision...
Guest





PostPosted: Mon May 11, 2009 9:52 am    Post subject: [Freeswitch-users] Audi record using uuid_record Reply with quote

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

/Peter


Från: Peter Olsson
Skickat: den 11 maj 2009 16:16
Till: 'freeswitch-users@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"/>
</condition>
</extension>

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.

//Peter

Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian West
Skickat: den 11 maj 2009 15:58
Till: freeswitch-users@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.


/b


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?



Regards,



Peter


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Brian West

brian@freeswitch.org (brian@freeswitch.org)




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









!DSPAM:4a0830b432933740610192!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services