]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_mf: Add max digits option to ReceiveMF.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 22 Jan 2022 22:52:45 +0000 (22:52 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 29 Mar 2022 19:14:15 +0000 (14:14 -0500)
commit4abd75b1d4b5bb74ea8a3a505819c044b76893b4
tree22b5c97782265194ec453261cbe846902ebc6162
parent4a7e01b8ae0a8e01a85044b1dae9a90be2e1fdc6
app_mf: Add max digits option to ReceiveMF.

Adds an option to the ReceiveMF application to allow specifying a
maximum number of digits.

Originally, this capability was not added to ReceiveMF as it was
with ReceiveSF because typically a ST digit is used to denote that
sending of digits is complete. However, there are certain signaling
protocols which simply transmit a digit (such as Expanded In-Band
Signaling) and for these, it's necessary to be able to read a
certain number of digits, as opposed to until receiving a ST digit.

This capability is added as an option, as opposed to as a parameter,
to remain compatible with existing usage (and not shift the
parameters).

ASTERISK-29877 #close

Change-Id: I4229167c9aa69b87402c3c2a9065bd8dfa973a0b
(cherry picked from commit 0da713168da5572ce5d3701f50ebfe2fe364cbd1)
apps/app_mf.c
doc/CHANGES-staging/app_mf_maxdigits.txt [new file with mode: 0644]