title: how to record the voip call using sipsorcery sdk?
body: <p>I am using sample programs provided by sipsorcery: 
   <a href="https://github.com/sipsorcery/sipsorcery/tree/master/sipsorcery-softphonev2" rel="nofollow noreferrer">https://github.com/sipsorcery/sipsorcery/tree/master/sipsorcery-softphonev2</a></p>
  
  <p>What I want to record the call or record the part of one side spoken text, process it, then generate the answer test and speak it back.</p>
  
  <p>What I need right now to process the spoken text. I wanted to record the parts of call and save them to a wav file and generate text from it. but it seems to me that I am doing wrong. I am not able to generate the correct wav file using the provided method of sipsorcery SDK.</p>
  
  <p>I have tried to follow the example on this forum as well, but it didn't work</p>
  
  <p><a href="https://markheath.net/post/how-to-record-and-play-audio-at-same" rel="nofollow noreferrer">https://markheath.net/post/how-to-record-and-play-audio-at-same</a></p>
  
  <p>I expect that this should work using a small temporary wave file at each time the user speaks a sentence and response back again playing back the processed response file.</p>
  
  <p>Any guidance how can I achieve this sense of interception and processing of the call?</p>
  
  <p>Thanks, 
  Vivek</p>