]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_agi: Respect "transmit_silence" option for "RECORD FILE".
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 16 Nov 2022 11:40:26 +0000 (07:40 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 16 Nov 2022 11:44:45 +0000 (06:44 -0500)
commit90784b891283f2b5c2e460d5db491b059289fbeb
tree5d89af8f24d0f3a6fa3d11ec1c5b66fc6686d1bf
parent6baa4209864863fde333f4e81cddd879968146c7
res_agi: Respect "transmit_silence" option for "RECORD FILE".

The "RECORD FILE" command in res_agi has its own
implementation for actually doing the recording. This
has resulted in it not actually obeying the option
"transmit_silence" when recording.

This change causes it to now send silence if the
option is enabled.

ASTERISK-30314

Change-Id: Ib3a85601ff35d1b904f836691bad8a4b7e957174
res/res_agi.c