<div dir="ltr">Hi,<div><br></div><div>I want to give users an option to record their voice by presssing some digit in the IVR menu through my python script. I use the code as follows:</div><div><br></div><div>session.recordFile(filename, 120, 500, 3)</div><div><br clear="all"><div>However, this code will block for 2 minutes and then proceed. In case a user has little to say and after 1 minute wants to stop the recording, how I can do that. Is there any function similar to "session.playAndGetDigits" to also hear for DTMFs at the same time?</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<div>Deepika</div><div><a href="https://deepikay.wixsite.com/deepika" target="_blank">https://deepikay.wixsite.com/deepika</a><br></div></div></div>
</div></div>