<div dir="ltr"><div>(to be more precise: I tracked down the issue of bypass_media_after_bridge with mod_callcenter :) )</div><div><br></div><div>Florent</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-19 18:26 GMT+02:00 Florent Krieg <span dir="ltr">&lt;<a href="mailto:flokrrr@gmail.com" target="_blank">flokrrr@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>Very interesting application of FreeSWITCH (from my pov).</div><div><br></div><div>Anyway, what FS version have you tried? Because I tracked down this issue with the FS community and it has been solved in 1.6.8, released on May the 5th (<a href="https://freeswitch.org/the-freeswitch-1-6-8-release-is-here/" target="_blank">https://freeswitch.org/the-freeswitch-1-6-8-release-is-here/</a>).</div><div>Case was <a href="https://freeswitch.org/jira/browse/FS-9025" target="_blank">https://freeswitch.org/jira/browse/FS-9025</a>.</div><div><br></div><div>Hope it helps.</div><div>Florent</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-05-19 18:05 GMT+02:00 Szalánczi Gábor <span dir="ltr">&lt;<a href="mailto:szalanc1@gmail.com" target="_blank">szalanc1@gmail.com</a>&gt;</span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="h5"><div lang="HU" vlink="purple" link="blue"><div><p class="MsoNormal">Hello!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We are developing a FreeSwitch based solution for a sign-language interpreter service for hearing impaireds. The system is already somewhat operational, but we are facing serious audio/video quality issues (to the point of being completely unusable), presumably caused by our virtualized PBX environment in passthrough media mode. Indeed, by switching the calls to bypass media mode from the dialplan, most of these problems vanished.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The problem is the callcenter module, which is a crucial component for the operation of our service, but seemingly does not honor any setting meant to switch the calls to bypass mode. We have tried setting, exporting (even with cc_export_vars) the bypass_media=true and  bypass_media_after_bridge=true variables from the dialplan before calling the callcenter application, setting them from the dialstring of the callcenter agents, and configuring the profile with inbound-bypass-media=true. None of these worked, the media streams of the calls serviced from the queue still got relayed by FreeSwitch.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The only  way we were able to remove the PBX from the media path was using the uuid_media_3p off API call, issued from an ESL PHP script after the call is established between a client and an agent (from a custom event handler for the bridge-agent-start callcenter action). The main problem with this approach that the callcenter app initiates the call to the agent without ICE protocol (since it wants the PBX to relay the media streams), so our custom liblinphone-based desktop client will also respond to the b-leg REINVITE (triggered by uuid_media_3p) without ICE, resulting no media at all in bypass mode. Our custom mobile clients are ICE enabled, so the a-leg properly answers the REINVITE with ICE, and its SDP with candidate attributes gets forwarded to the b-leg, but since it had not started an ICE session at the initial call setup, it will ignore it, and send back a plain SDP just with its internal IP and ports.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there any way to force the callcenter app to send its initial INVITE with ICE? We have noticed that the a-leg&#39;s INVITE with candidates in its SDP is responded by FreeSwitch with a single candidate line for itself (this way it also keeps the ICE session alive at the client, so it can use it later responding the REINVITE), so hopefully it is possible.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We are open to any other suggestions which leads to bypass media mode with callcenter.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best Regards!<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><table width="100%" style="width:100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td valign="top" style="padding:0cm" colspan="2"><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:9pt"><br>Gábor Szalánczi<br><br><br><u></u><u></u></span></p></td></tr><tr><td style="padding:0cm" colspan="2"><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt"><img width="80" height="56" alt="cid:image001.gif@01D1B1E9.D64F69C0" src="cid:image001.gif@01D1B1E9.D64F69C0"></span><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt"><u></u><u></u></span></p></td></tr><tr><td width="6%" valign="top" style="padding:0cm;width:6.04%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:9pt"><br><b>E</b></span><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt">‑</span><b><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:9pt">Group</span></b><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:9pt"> <u></u><u></u></span></p></td><td width="93%" style="padding:0cm;width:93.96%"><p class="MsoNormal"><span style="font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;font-size:12pt"><u></u> <u></u></span></p></td></tr><tr><td width="6%" valign="top" style="padding:0cm;width:6.04%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt">cím:<br>telefon:<br>fax:<u></u><u></u></span></p></td><td width="93%" valign="top" style="padding:0cm;width:93.96%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt">1062 Budapest, Váci út 1-3. Westend Irodaház &quot;C&quot; torony, 5. emelet<br>(+36-1) 371 25 55<br>(+36-1) 371 25 56<u></u><u></u></span></p></td></tr><tr><td width="6%" valign="top" style="padding:0cm;width:6.04%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt">web:<u></u><u></u></span></p><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt">telephely:<u></u><u></u></span></p></td><td width="93%" valign="top" style="padding:0cm;width:93.96%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><a href="http://www.egroup.hu/" target="_blank">www.egroup.hu</a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt">3525 Miskolc, Madarász Viktor u. 13/A<span><font color="#888888"><u></u><u></u></font></span></span></p></td></tr><tr><td width="6%" valign="top" style="padding:0cm;width:6.04%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><u></u> <u></u></span></p></td><td width="93%" valign="top" style="padding:0cm;width:93.96%"><p class="MsoNormal"><span style="color:black;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><u></u> <u></u></span></p></td></tr></tbody></table><span><font color="#888888"><p class="MsoNormal"><span><u></u> <u></u></span></p><table width="100%" style="width:100%" border="0" cellspacing="0" cellpadding="0"><tbody><tr><td valign="top" style="padding:0cm"><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;font-size:8.5pt"><br><br><b>Szalánczi Gábor</b><br>szoftverfejlesztő / Software Developer <u></u><u></u></span></p></td></tr></tbody></table><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</blockquote></div><br></div>