]> 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:45:52 +0000 (11:45 -0500)
commit0b8ae58e67f052a0f6a08277d5e2568f615192ec
tree09c0b249bf113f0506f9bd9025b6f6b013253e02
parenta94b51ee60a01f19de7e3ba3168b859568fef0dc
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