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
This commit is contained in:
Naveen Albert
2021-07-26 17:46:44 +00:00
committed by George Joseph
parent a6eb1b6f95
commit b6b7b1490b
6 changed files with 1056 additions and 95 deletions

View File

@@ -0,0 +1,7 @@
Subject: say.c
Adds SAYFILES function to retrieve the file names that would
be played by corresponding Say applications, such as
SayDigits, SayAlpha, etc.
Additionally adds SayMoney and SayOrdinal applications.