]> sjero.net Git - linphone/commitdiff
stop dtmf stream before starting a new call
authorSimon Morlat <simon.morlat@linphone.org>
Fri, 20 Apr 2012 20:49:29 +0000 (22:49 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Fri, 20 Apr 2012 20:49:29 +0000 (22:49 +0200)
coreapi/linphonecore.c

index 9a73d0aa6346fa5e9b53feefe413fe9e64134dea..a7ccef4025dbddc8c233cae2f09cb4fad1d718b6 100644 (file)
@@ -2070,7 +2070,7 @@ int linphone_core_start_invite(LinphoneCore *lc, LinphoneCall *call, LinphonePro
                sal_op_set_contact(call->op, contact);
                ms_free(contact);
        }
-
+       linphone_core_stop_dtmf_stream(lc);
        linphone_call_init_media_streams(call);
        if (lc->ringstream==NULL)
                audio_stream_prepare_sound(call->audiostream,lc->sound_conf.play_sndcard,lc->sound_conf.capt_sndcard);