Commit 531f9c8b authored by jehan's avatar jehan
Browse files

fix play dtmf

parent 6de16327
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment