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@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@16000hz 1 channels 20ms

I am using FS 1.8.2

--
Thanks,

Sagar