From 7f731d51100b0571dab880752f45a5c262103c58 Mon Sep 17 00:00:00 2001 From: "jerome.poulin" <jerome.poulin@cauca.ca> Date: Tue, 8 Jul 2014 15:23:26 -0400 Subject: [PATCH] dtmf: support Flash (!) signal Refs #51007 Signed-off-by: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Change-Id: Id75356b6894ef227032c6c447c7df3b6436ae1bc --- daemon/src/audio/audiortp/dtmf_event.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon/src/audio/audiortp/dtmf_event.cpp b/daemon/src/audio/audiortp/dtmf_event.cpp index 1a0c475496..bda9cb8d28 100644 --- a/daemon/src/audio/audiortp/dtmf_event.cpp +++ b/daemon/src/audio/audiortp/dtmf_event.cpp @@ -47,6 +47,10 @@ DTMFEvent::DTMFEvent(char digit) : payload(), newevent(true), length(1000) */ switch (digit) { + case '!': + digit = 16; + break; + case '*': digit = 10; break; -- GitLab