From 64cb3ebcf69a0d0dfea196cfa14b3627c9112d9b Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Wed, 30 May 2018 17:38:11 +0200 Subject: [PATCH] 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. --- coreapi/callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index ca5b732c8..31797e722 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -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); } }