Hi,<div><br></div><div>I am playing a file to a landline number.</div><div><br></div><div>the format of the file is as follows:</div><div><br></div><div><div>[root@static-host var]# file message.wav</div><div>message.wav: RIFF (little-endian) data, WAVE audio, ITU G.711 mu-law, mono 8000 Hz</div>
<div><br></div><div>In my vars.xml file I have used the following codec prefs:</div><div><div><br></div><div><X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA,GSM"/></div><div><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,G722,GSM"/></div>
<div><br></div><div>However, when freeswitch plays it, it always chooses the L16@8000hz codec. I'm not understanding why this is so.</div><div><br></div></div></div><div><div>EXECUTE sofia/external/<a href="mailto:5135692990@208.78.161.197">5135692990@208.78.161.197</a> playback(/var/message.wav)</div>
<div>2009-12-22 17:16:57.357048 [DEBUG] switch_ivr_play_say.c:1135 Codec Activated L16@8000hz 1 channels 20ms</div><div>2009-12-22 17:17:30.777182 [DEBUG] switch_ivr_play_say.c:1429 done playing file</div><div><br></div><div>
<br></div><div>My basic intent is to avoid on-the-fly transcoding, while having a high quality audio playing on PSTN.</div><div><br></div><div>Have I configured it wrong or does this transcoding always happen?</div><div><br>
</div><div>Thanks,</div><div>Vinuth.</div><div><br></div></div>