]> git.ipfire.org Git - thirdparty/asterisk.git/commit
func_sayfiles: Retrieve say file names
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 26 Jul 2021 17:46:44 +0000 (17:46 +0000)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 10 Sep 2021 16:46:03 +0000 (11:46 -0500)
commitddf6299b8d7d0bd93e957c214bae9fa5a68c4e9e
tree2e492557cd4c08d800c11c31352ff19ab6a04a0c
parent7df69633cfd5616f60ef5f81055c7426e671456d
func_sayfiles: Retrieve say file names

Up until now, all of the logic used to translate
arguments to the Say applications has been
directly coupled to playback, preventing other
modules from using this logic.

This refactors code in say.c and adds a SAYFILES
function that can be used to retrieve the file
names that would be played. These can then be
used in other applications or for other purposes.

Additionally, a SayMoney application and a SayOrdinal
application are added. Both SayOrdinal and SayNumber
are also expanded to support integers greater than
one billion.

ASTERISK-29531

Change-Id: If9718c89353b8e153d84add3cc4637b79585db19
doc/CHANGES-staging/say.txt [new file with mode: 0644]
funcs/func_sayfiles.c [new file with mode: 0644]
include/asterisk/say.h
main/channel.c
main/pbx_builtins.c
main/say.c