]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_read: Add an option to return terminator on empty digits.
authorMike Bradeen <mbradeen@sangoma.com>
Mon, 30 Jan 2023 23:14:30 +0000 (16:14 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 27 Feb 2023 19:42:58 +0000 (13:42 -0600)
commitfc5b7ab4595c9e6625bade5c70d286a9d11e0d31
tree478d68c943b216e995f4c7b87bfb88b7c2be8f4f
parent66f6d9113e5ccc96cc5183a51d98f40fd67e4779
app_read: Add an option to return terminator on empty digits.

Adds 'e' option to allow Read() to return the terminator as the
dialed digits in the case where only the terminator is entered.

ie; if "#" is entered, return "#" if the 'e' option is set and ""
if it is not.

ASTERISK-30411

Change-Id: I49f3221824330a193a20c660f99da0f1fc2cbbc5
apps/app_read.c
doc/CHANGES-staging/app_read_return_terminator.txt [new file with mode: 0644]