]> 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:43:41 +0000 (06:43 -0500)
commit61922d293435dc8b5724d1fddb02f47e75d1608a
treed5b48e2af53360071c3b33b3cdaa4b000d06ef2e
parent6e59b01e1a1e4b059df6131b56079ca7a2abf7ca
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