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

Faisal Hanif imfanee at gmail.com
Thu Apr 11 17:26:45 UTC 2019


Try making file extension in caps

On Thu, Apr 11, 2019, 10:07 PM sagar malam <sagarmalam at gmail.com> wrote:

> 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
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190411/5ba3b5a4/attachment-0001.html>


More information about the FreeSWITCH-users mailing list