From a8af6bb333201b325a58d92a50a8d3fd62e3ef85 Mon Sep 17 00:00:00 2001 From: Uma Maheswari Ramalingam Date: Fri, 5 Dec 2014 16:39:57 -0800 Subject: [PATCH] IMS: start and stop dtmf tones. Support of start and stop dtmf tones in Imsphone Bug: 18371919 Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd CRs-Fixed: 751797 --- .../com/android/ims/internal/IImsCallSession.aidl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/telephony/java/com/android/ims/internal/IImsCallSession.aidl b/telephony/java/com/android/ims/internal/IImsCallSession.aidl index d1946e3f37f46..b1f2d3287dbe9 100644 --- a/telephony/java/com/android/ims/internal/IImsCallSession.aidl +++ b/telephony/java/com/android/ims/internal/IImsCallSession.aidl @@ -222,6 +222,20 @@ interface IImsCallSession { */ void sendDtmf(char c, in Message result); + /** + * Start a DTMF code. According to RFC 2833, + * event 0 ~ 9 maps to decimal value 0 ~ 9, '*' to 10, '#' to 11, event 'A' ~ 'D' to 12 ~ 15, + * and event flash to 16. Currently, event flash is not supported. + * + * @param c the DTMF to send. '0' ~ '9', 'A' ~ 'D', '*', '#' are valid inputs. + */ + void startDtmf(char c); + + /** + * Stop a DTMF code. + */ + void stopDtmf(); + /** * Sends an USSD message. *