[asterisk-bugs] [JIRA] (ASTERISK-29784) How can I reduce the time taken by wav file to save in /tmp folder

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Dec 2 04:22:34 CST 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257219#comment-257219 ] 

Joshua C. Colp commented on ASTERISK-29784:
-------------------------------------------

We appreciate the difficulties you are facing, however this does not appear to be a bug report and your request or comments would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines



> How can I reduce the time taken by wav file to save in /tmp folder
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-29784
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29784
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_record
>    Affects Versions: 16.19.1
>            Reporter: srikanth aawula
>            Severity: Critical
>
> I'm using the perl script to save the audio files generated from asterisk. I want to convert the audio files to text using STT engine but while saving the audio files in /tmp directory it is taking time nearly 1 minute and sometimes more than that and before saving the files the STT gets called and fetches for the wav file and ultimately failing to give a text file
> this is the code I'm using
> my ($fh, $tmpname) = tempfile("stt_XXXXXX", DIR => $tmpdir, UNLINK => 1);
> print "RECORD FILE $tmpname wav \"$intkey\" \"$abs_timeout\" $beep \"$silence\"\n";
> @result = checkresponse();
> die "$name Failed to record file, aborting...\n" if ($result[0] == -1);
> if ($debug) {
>     warn "$name Recording Format: $format, Rate: $samplerate Hz, ",
>         "Language: $language, ", "$silence, Interrupt keys: $intkey, Beep: $beep\n";
> }



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list