Hello,<br><br>In my scenario, I have other_session that is doing playback of a media file within an infinitely loop.<br>What I need to do is to be able stop the &quot;other_session&quot; from doing the playback, and then bridge the current session to it.<br>
<br>With the following code, I can get the current session and the other_session to bridge, but I can&#39;t get media between the two sessions.  <br><br>Also, is there anyway to stop the playback? Right now, after the brdiging, other_session still hears moh. <br>
<br>    switch_core_session_t * other_session = switch_core_session_locate(bridge_to_uuid);<br>                switch_channel_t *other_channel = switch_core_session_get_channel(other_session);<br>             <br>                switch_caller_profile_t *cloned_profile;<br>
                cloned_profile = switch_caller_profile_clone(other_session, switch_channel_get_caller_profile(channel));<br>                switch_assert(cloned_profile);<br>                switch_channel_set_originator_caller_profile(other_channel, cloned_profile);<br>
<br>                cloned_profile = switch_caller_profile_clone(session, switch_channel_get_caller_profile(other_channel));<br>                switch_assert(cloned_profile);<br>                switch_assert(cloned_profile-&gt;next == NULL);<br>
                switch_channel_set_originatee_caller_profile(channel, cloned_profile);<br><br><br>                switch_core_media_bug_resume(session);<br>                switch_core_media_bug_resume(other_session);<br>                switch_ivr_multi_threaded_bridge(session,other_session, NULL, other_session, session);<br>
                switch_core_media_bug_pause(session);<br>                switch_core_media_bug_pause(other_session);<br>                <br>                <br>thx,<br>jb<br>