twiml - twilio: need to initiate a transcription of recorded calls after the call has ended -
i have small python program using api dials voicemail, records call, , transcribes results.
the program checks @ set intervals, e.g., 1 hour, 3 hours, etc., , checks recorded twilio.
i know recording less 25 seconds result of not having new voicemail messages, , not want transcribe recording unless longer 25 seconds. (this lower cost: checking 8 times without transcribing have minimum cost of $0.14/day if there no new message. if have transcribe everything, rises minimum of $0.54/day.
i not see method initiate transcription recording after call has ended. possible?
twilio presently not offer ability transcribe audio after call has ended. have considered using twiml <pause>
tag wait 25 seconds before starting transcription recording? if call disconnects before 25 seconds, record tag not executed , no transcription made.
example:
<?xml version="1.0" encoding="utf-8" ?> <response> <play digits="wwwwww#ww1234wwww4321#wwwwww2"></play> <pause length="25"/> <record transcribe="true" /> </response>
if not work, can consider using twilio's recording transcription api provider.
Comments
Post a Comment