]> 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:41 +0000 (11:45 -0500)
commitb6b7b1490b2c0fa2ded457ec7b4f00efc903a127
treee3ea5c0f19187c8b6026db3f9d0306d0f6b72bc6
parenta6eb1b6f95abd6d0ef89fa42fa4559eeea1c1a7d
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