[asterisk-bugs] [JIRA] (ASTERISK-30457) res_agi: RECORD FILE plays 2 beeps

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Mar 16 10:44:04 CDT 2023


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

Friendly Automation commented on ASTERISK-30457:
------------------------------------------------

Change 19958 merged by Joshua Colp:
res_agi: RECORD FILE plays 2 beeps.

[https://gerrit.asterisk.org/c/asterisk/+/19958|https://gerrit.asterisk.org/c/asterisk/+/19958]

> 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
>            Assignee: Sean Bright
>
> 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