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

sagar malam sagarmalam at gmail.com
Fri Apr 12 06:01:55 UTC 2019


Loading mod_native_file after mod_spandsp fixed it.But i am facing this
issue now :
https://freeswitch.org/jira/browse/FS-6815?focusedCommentId=55091&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-55091

On Fri, Apr 12, 2019 at 5:23 AM Faisal Hanif <imfanee at gmail.com> wrote:

> 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
>
> _________________________________________________________________________
> 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



-- 
Thanks,

Sagar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190412/5e9018dd/attachment.html>


More information about the FreeSWITCH-users mailing list