Fix issue where remote ring is not heard during an outgoing call, if previously an incoming call has been declined.

The fix is already done in dev_refactor_cpp branch, no need to retrofit anything.
This commit is contained in:
Simon Morlat 2018-05-30 17:38:11 +02:00
parent b7e9402521
commit 64cb3ebcf6

View file

@ -451,6 +451,7 @@ static void start_remote_ring(LinphoneCore *lc, LinphoneCall *call) {
if (call->audiostream)
audio_stream_unprepare_sound(call->audiostream);
if( lc->sound_conf.remote_ring ){
ms_snd_card_set_stream_type(ringcard, MS_SND_CARD_STREAM_VOICE);
lc->ringstream=ring_start(lc->factory, lc->sound_conf.remote_ring,2000,ringcard);
}
}