diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 6f459b2be..f99cb9c29 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -4583,7 +4583,7 @@ void linphone_core_start_dtmf_stream(LinphoneCore* lc) { } void linphone_core_stop_dtmf_stream(LinphoneCore* lc) { - if (lc->ringstream && dmfs_playing_start_time!=0) { + if (lc->ringstream && lc->dmfs_playing_start_time!=0) { ring_stop(lc->ringstream); lc->ringstream=NULL; }