title: silence detection not working Asterisk AGI
body: <p>I'm trying to record a call in Asterisk, I used the function <code>record_file</code> but it does not work properly. The silence detection is not working, the call keep alive without detecting the 3 silence seconds. But when I dial "#", the record is created properly.</p>
  
  <pre><code>agi.record_file("test", format="wav", escape_digits="#",timeout=-1, silence = 3, beep="beep")
  </code></pre>
  
  <p>Does anyone know how I could use the silence detection properly?</p>