FreeSWITCH would covert the file to raw audio and then re-encode it to PCMU if that's what's negotiated for the call, the only way to eliminate that is to use mod_native_file and make the file a raw PCMU file (song.PCMU)

On Sun, Oct 22, 2017 at 7:35 PM, Aqs Younas <aqsyounas@gmail.com> wrote:
Greetings list,

Just want to confirm will trancoding happen while playing a file having format as below. 

root@debian:/opt/tmp# soxi song.wav

Input File     : 'song.wav'
Channels       : 1
Sample Rate    : 8000
Precision      : 14-bit
Duration       : 00:00:55.05 = 440436 samples ~ 4129.09 CDDA sectors
File Size      : 441k
Bit Rate       : 64.0k
Sample Encoding: 8-bit u-law


If i get PCMU as only codec in invite.

Here .wav is just a container wrapping PCMU audio. 

Best Regards, 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org