Merge commit '531f9c8'

This commit is contained in:
Jehan Monnier 2011-03-28 10:30:05 +02:00
commit cd6aa9cfc0

View file

@ -3592,11 +3592,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);