Freeswitch can't call recording native format of PCMA

260 views
Skip to first unread message

Mountain King

unread,
Jan 27, 2016, 5:02:12 AM1/27/16
to 2600hz-dev
The record command don't have any suffix of ".mp3" or ".wav", Excepting to record native format of pcma, but freeswitch return error information as below.

==================================
uuid_record 693d01a96898b0f5006526e836f84476@192.168.181.46 start /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46  3600
2016-01-27 12:10:58.216267 [ERR] switch_core_file.c:149 Invalid file format [PCMA] for [/tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA]!
2016-01-27 12:10:58.216267 [ERR] switch_ivr_async.c:2250 Error opening /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA

James Aimonetti

unread,
Jan 27, 2016, 1:22:08 PM1/27/16
to 2600h...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Try grepping your kazoo logs for the call id, perhaps there is a
relevant error message for why an extension wasn't appended?

Le 01/26/2016 11:02 PM, Mountain King a écrit :
> The record command don't have any suffix of ".mp3" or ".wav",
> Excepting to record native format of pcma, but freeswitch return
> error information as below.
>
> ================================== uuid_record
> 693d01a96898b0f5...@192.168.181.46
> <http://192.168.181.46/> start
> /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46 3600
> 2016-01-27 12:10:58.216267 [ERR] switch_core_file.c:149 Invalid
> file format [PCMA] for
> [/tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA]!
> 2016-01-27 12:10:58.216267 [ERR] switch_ivr_async.c:2250 Error
> opening
> /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA
>


- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"If Dialyzer doesn't care, I don't care"

2600HzPDX | http://2600hz.com
sip:ja...@2600hz.com
tel:415.886.7905
irc:mc_ @ freenode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWqQrNAAoJENTKa+JPXCVg9noIAIMdkmh/wefuKpQnPC9oMbaP
bDllqJt7P1aIRYkNq5kPP4oww+HHHqyFtbG+fqrzc8a/FVwWw+illAdRMc7Hoyw+
EfhnkTqfHlXlrBOOZzQrJWBnOjeuMezvXyFELipYp3fTkX06WF9LNqhnO3jmw9pp
yvylmlTYT/nIPdI0pdV4+cB9om8MosKyJXj/juImM9BwZoMujGfunPJLHnnzeeFy
YIoN4NlDFMmFHhsRu9oTWHYnLFXZHI528UsRm9fG+y9F9+hBKkgky6PqEkwp958o
/jzLn+IbrmoFQNBTYXY3aMd+I6n/3LzoTOMjVvkWq/+NbPe+QQQBxIezPAzDho0=
=wf3a
-----END PGP SIGNATURE-----

Mountain King

unread,
Jan 28, 2016, 10:04:08 AM1/28/16
to 2600hz-dev, ja...@2600hz.com
Thanks for James's reply, we try to optimize the performance of  call recording on freeswitch,Thinking about freeswitch should decode pcma or other codec  when recording a ".wav" or ".mp3" file  every call, so we want to record native pcma file when calling on freeswitch, and then compress to ".mp3" or ".wav" on other servers which will improve some performance for freeswitch.

So we made some test by remove the kazoo's record extension, and also excuted uuid_record command on freeswich's cli directly,but all that can't record the native pcma, and print the error log on freeswitch.

在 2016年1月28日星期四 UTC+8上午2:22:08,James Aimonetti写道:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Try grepping your kazoo logs for the call id, perhaps there is a
relevant error message for why an extension wasn't appended?

Le 01/26/2016 11:02 PM, Mountain King a écrit :
> The record command don't have any suffix of ".mp3" or ".wav",
> Excepting to record native format of pcma, but freeswitch return
> error information as below.
>
> ================================== uuid_record
> <http://192.168.181.46/> start
> /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46  3600
> 2016-01-27 12:10:58.216267 [ERR] switch_core_file.c:149 Invalid
> file format [PCMA] for
> [/tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA]!
> 2016-01-27 12:10:58.216267 [ERR] switch_ivr_async.c:2250 Error
> opening
> /tmp/693d01a96898b0f5006526e836f84476@192%168%181%46-in.PCMA
>


- --
James Aimonetti
Lead Systems Architect / Impressionable Scallywag
"If Dialyzer doesn't care, I don't care"

2600HzPDX | http://2600hz.com

Luis Azedo

unread,
Jan 28, 2016, 10:13:58 AM1/28/16
to 2600h...@googlegroups.com, James Aimonetti

On Thu, Jan 28, 2016 at 7:05 AM, Mountain King <wzs...@163.com> wrote:
Thanks for James's reply, we try to optimize the performance of  call recording on freeswitch,Thinking about freeswitch should decode pcma or other codec  when recording a ".wav" or ".mp3" file  every call, so we want to record native pcma file when calling on freeswitch, and then compress to ".mp3" or ".wav" on other servers which will improve some performance for freeswitch.

So we made some test by remove the kazoo's record extension, and also excuted uuid_record command on freeswich's cli directly,but all that can't record the native pcma, and print the error log on freeswitch.

在 2016年1月28日星期四 UTC+8上午2:22:08,James Aimonetti写道:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Try grepping your kazoo logs for the call id, perhaps there is a
relevant error message for why an extension wasn't appended?

Le 01/26/2016 11:02 PM, Mountain King a écrit :
> The record command don't have any suffix of ".mp3" or ".wav",
> Excepting to record native format of pcma, but freeswitch return
> error information as below.
>
> ================================== uuid_record

--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages