[Freeswitch-users] Mod native file not able to play G722 encoded files

sagar malam sagarmalam at gmail.com
Thu Apr 11 17:05:04 UTC 2019


Hello ,

I am using mod native file module to play native files.It works perfectly
with PCMA,PCMU,G729 but not for G722. Any idea why ?

Log line after codec negotiation :
2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec
sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 samples
64000
bits 1 channels

Error thrown by FS on CLI :
2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file format
[G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]!
2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File
/media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000
doesn't match req
uested rate 16000

2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec
Activated L16 at 16000hz 1 channels 20ms

I am using FS 1.8.2

-- 
Thanks,

Sagar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190411/22214dac/attachment.html>


More information about the FreeSWITCH-users mailing list