]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9877 [mod_loopback] fix no audio
authorAntonio <asilva@wirelessmundi.com>
Thu, 22 Dec 2016 13:55:51 +0000 (14:55 +0100)
committerAntonio <asilva@wirelessmundi.com>
Thu, 22 Dec 2016 13:55:51 +0000 (14:55 +0100)
src/mod/endpoints/mod_loopback/mod_loopback.c

index dfd97b900bf4eccef6225c9599fc95bea8ffe8d7..6ce7ac72165e3a1501748a0756883ef4c4d01bdc 100644 (file)
@@ -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;