<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 9, 2010, at 9:36 AM, Vitalii Colosov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,</div><div><br></div><div>I am trying to make 2 freeswitches (bridged) to work both in bypass media mode - currently with no luck.</div><div>Would appreciate your advice.</div><div><br></div><div>Let say I have 2 FreeSWITCH servers - one acts as PROXY (in bypass_media_after_bridge mode) and second processes media.<span class="Apple-tab-span" style="white-space: pre; ">        </span></div></blockquote><div><br></div>In bypass mode or not, FreeSWITCH is never a proxy, it is always a B2BUA. Processing media or not is your only choice in regards to this.</div><div><br><blockquote type="cite">
<div><br></div><div>I make a call from one sip client to another via these 2 servers (let's say G711 is used everywhere).</div><div>SIP CLIENT1 -> FS1 (proxy) -> FS2 (media) -> SIP CLIENT2</div><div><br></div>
<div>Proxy server (FS1) sends a re-INVITE and excludes itself from the media path after the call was answered (I am using bypass_media_after_bridge).</div><div><br></div><div>So, the media goes like this: SIP CLIENT1 <-> FS2 <-> SIP CLIENT2</div>
<div><br></div><div>Now, I want to try to exclude the media server (FS2) as well (just experimenting, but if both clients use same codec, I suppose this can be legitimately done?).</div><div>I put bypass_media_after_bridge=true on the media server (I did it in few places in Lua script). </div>
<div><br></div><div><b>But as per sip trace, it does not sends any reinvite after the call was answered.</b></div><div><b>Only FS1 sends reINVITE.</b></div></blockquote><div><br></div>There is something wrong in your script?</div><div><br><blockquote type="cite"><div>So, looks like I cannot remove FS2 from media path like this.</div>
<div><br></div><div>Do you think it is not possible to acheive this kind of configuration so both servers will work in bypass media?</div></blockquote><div><br></div>There is nothing different here than the first box as far as your explanation goes. This should work fine, and as you showed with FS1, it does.</div><div><br></div><div>Mike</div><div><br></div></body></html>