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
This commit is contained in:
Mike Bradeen
2023-01-30 16:14:30 -07:00
committed by George Joseph
parent 66f6d9113e
commit fc5b7ab459
2 changed files with 25 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
Subject: app_read
A new option 'e' has been added to allow Read() to return the
terminator as the dialed digits in the case where only the terminator
is entered.