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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org Brian West br...@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com ___ 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
Re: [Freeswitch-users] Audi record using uuid_record
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: 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
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-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@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.orgmailto: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 br...@freeswitch.orgmailto:br...@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.comhttp://www.cluecon.com/ !DSPAM:4a0830b432933740610192! ___ 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
Re: [Freeswitch-users] Audi record using uuid_record
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-boun...@lists.freeswitch.org [mailto:freeswitch-users-boun...@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.orgmailto: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 br...@freeswitch.orgmailto:br...@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.comhttp://www.cluecon.com/ !DSPAM:4a0830b432933740610192! ___ 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