title: How to encode WAV to play with SIPp
body: <p>By looking into another <a href="https://stackoverflow.com/questions/20122607/playing-audio-file-using-sipp">SIPp related question</a> I learned that it is now possible to play WAV files using the <code>rtp_stream</code> action.</p>
  
  <p>I've tried several different WAV files with no success. All I get is some noise instead of the expected sound.</p>
  
  <p>In one comment in the mentioned question there is a simple instruction to convert a WAV file to a compatible format but it didn't work as well.</p>
  
  <p>I've also tried to use sox to convert <a href="http://www.wavsource.com/snds_2016-08-21_1204101428963685/movies/2001/sorry_dave.wav" rel="nofollow noreferrer">this file</a> with no success.</p>
  
  <p>Can anyone instruct me on how to generate a valid WAV file to be used with SIPp?</p>
  
  <p>This is my <code>recv 200 OK</code> command which includes the play audio action:</p>
  
  <pre><code>&lt;recv response="200" rtd="true"&gt;
    &lt;action&gt;
      &lt;exec rtp_stream="sorry_dave.wav,-1" /&gt;
    &lt;/action&gt;
  &lt;/recv&gt;
  </code></pre>