I use the SIP Termination service from ezcall inc (<a href="http://grnvoip.com">grnvoip.com</a>) and I&#39;m having some trouble playing .wav files into the media stream using FreeSWITCH.<div><br></div><div>The audio either comes out really slow, or really fast. So a 60 second .wav file is either finished playing in 90 seconds (really slow) or finishes playing in 20 seconds (really fast). I believe this is caused by different ptime values that are being setup in the session. In the FreeSWITCH console I often received this error</div>
<div><br></div><div> [WARNING] mod_sofia.c:808 We were told to use ptime 30 but what they meant to say was 20</div><div><br></div><div>I tried forcing the codec and ptime using absolute_codec_string=&#39;PCMU@30i&#39;  and it seemed to fix the really slow playback problem.</div>
<div><br></div><div>but now I&#39;m getting a </div><div><br></div><div> [WARNING] mod_sofia.c:808 We were told to use ptime 30 but what they meant to say was 10</div><div><br></div><div>error and in some sessions the audio is playing back too fast (at 3x the speed).</div>
<div><br></div><div>Is there a way I can force ptime to be 30 and avoid FreeSWITCH &quot;fixing&quot; the ptime values? Are there any other work arounds?</div><div><br></div><div><br></div><div>--matt</div>