From 531f9c8bba2753c48924422a2ea32b142a9db92c Mon Sep 17 00:00:00 2001
From: Jehan Monnier <jehan.monnier@linphone.org>
Date: Mon, 28 Mar 2011 10:29:20 +0200
Subject: [PATCH] fix play dtmf

---
 coreapi/linphonecore.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c
index 062e345b05..86a13f52bd 100644
--- a/coreapi/linphonecore.c
+++ b/coreapi/linphonecore.c
@@ -3587,11 +3587,6 @@ void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms){
 		return;
 	}
 
-	// Play DTMF only when in call
-	if (!linphone_core_in_call(lc)) {
-		return;
-	}
-
 	if (duration_ms>0)
 		ms_filter_call_method(f, MS_DTMF_GEN_PLAY, &dtmf);
 	else ms_filter_call_method(f, MS_DTMF_GEN_START, &dtmf);
-- 
GitLab