[asterisk-bugs] [JIRA] (ASTERISK-30457) res_agi: RECORD FILE plays 2 beeps
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Tue Mar 7 11:18:03 CST 2023
[ https://issues.asterisk.org/jira/browse/ASTERISK-30457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-30457:
--------------------------------------
Summary: res_agi: RECORD FILE plays 2 beeps (was: AGI RECORD FILE plays 2 beeps)
> res_agi: RECORD FILE plays 2 beeps
> ----------------------------------
>
> Key: ASTERISK-30457
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30457
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_agi
> Affects Versions: 20.1.0
> Reporter: Alain Lachapelle
>
> AGI record file usage
> RECORD FILE FILENAME FORMAT ESCAPE_DIGITS TIMEOUT OFFSET_SAMPLES BEEP s=SILENCE
> 2 beeps are played when not using param OFFSET_SAMPLES as in
> RECORD FILE dummy .wav # 30000 BEEP s=3
> res_agi.c/
> handle_recordfile
> ...
> if ((argc >6) && (sscanf(argv[6], "%30ld", &sample_offset) != 1) && (!strchr(argv[6], '=')))
> res = ast_streamfile(chan, "beep", ast_channel_language(chan));
> if ((argc > 7) && (!strchr(argv[7], '=')))
> res = ast_streamfile(chan, "beep", ast_channel_language(chan));
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list