fix play dtmf

This commit is contained in:
Jehan Monnier 2011-03-28 10:29:20 +02:00
parent 6de1632771
commit 531f9c8bba

View file

@ -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);