]> 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>
Wed, 23 Feb 2022 18:18:17 +0000 (12:18 -0600)
commit0da713168da5572ce5d3701f50ebfe2fe364cbd1
tree531af522a79d7b0e7f8f9768f74473ef617006d6
parent585c2d17bb16f86005358a2d08349f285c5a8bc1
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
apps/app_mf.c
doc/CHANGES-staging/app_mf_maxdigits.txt [new file with mode: 0644]