From 2b2b708d4330010bbaac5a36309fb0926c5129b2 Mon Sep 17 00:00:00 2001 From: Naveen Albert Date: Wed, 22 Sep 2021 00:18:08 +0000 Subject: [PATCH] app_mf: Add full tech-agnostic MF support Adds tech-agnostic support for MF signaling by adding MF sender and receiver applications as well as Dial integration. ASTERISK-29496-mf #do-not-close Change-Id: I61962b359b8ec4cfd05df877ddf9f5b8f71927a4 --- apps/app_dial.c | 65 +++-- apps/app_mf.c | 398 ++++++++++++++++++++---------- doc/CHANGES-staging/app_mf_mf.txt | 5 + include/asterisk/app.h | 33 +++ include/asterisk/channel.h | 32 +++ main/app.c | 123 +++++++++ main/channel.c | 76 +++++- 7 files changed, 588 insertions(+), 144 deletions(-) create mode 100644 doc/CHANGES-staging/app_mf_mf.txt diff --git a/apps/app_dial.c b/apps/app_dial.c index 526a3af16b..f073af3b9a 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -156,6 +156,8 @@ + + Send the specified DTMF strings after the called party has answered, but before the call gets bridged. The called DTMF string is sent to the called party, and the @@ -163,6 +165,15 @@ can be used alone. If progress is specified, its DTMF is sent to the called party immediately after receiving a PROGRESS message. See SendDTMF for valid digits. + If mfprogress is specified, its MF is sent + to the called party immediately after receiving a PROGRESS message. + If mfwink is specified, its MF is sent + to the called party immediately after receiving a WINK message. + See SendMF for valid digits. + +