From: Antonio Date: Thu, 22 Dec 2016 13:55:51 +0000 (+0100) Subject: FS-9877 [mod_loopback] fix no audio X-Git-Tag: v1.8.0~944^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dfc63c126f664cff09ddc6d2a67e05c2426f940;p=thirdparty%2Ffreeswitch.git FS-9877 [mod_loopback] fix no audio --- diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index dfd97b900b..6ce7ac7216 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -274,6 +274,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session) switch_channel_set_caller_profile(b_channel, caller_profile); b_tech_pvt->caller_profile = caller_profile; switch_channel_set_state(b_channel, CS_INIT); + switch_channel_set_flag(b_channel, CF_AUDIO); switch_mutex_lock(tech_pvt->mutex); tech_pvt->other_session = b_session;