<div dir="ltr">Can you paste the actual log and/or sip trace of this? Codec negotiation often gets complicated, so seeing the log will be very helpful.<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 1:19 PM, Cucu Florian <span dir="ltr">&lt;<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br><br>I tried to test the behavior of &quot;bypass media&quot; in FS with the following scenario: Xlite(ext.1000) -&gt; FS &lt;- Xlite(ext:1001)<br><br>On each Xlite I set one single codec (that is currently unsupported by FS) as it said in wiki page: <i>&quot;This is useful if you have two end-points that need to use a codec that is currently not supported in FreeSWITCH &quot;</i><br>


<br>As the FS tutorial said <u>&quot;Before executing the bridge action you must set the &quot;bypass_media&quot; flag to true.
&quot;</u> so I put the following line in my dial plan.<br><br>&lt;extension name=&quot;extension-intercom&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;1001&quot;&gt;<br>       <i> <b>&lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;</b></i><br>


        &lt;action application=&quot;bridge&quot; data=&quot;user/1001&quot;/&gt;<br>    &lt;/condition&gt;<br>&lt;/extension&gt;<br><br><br>&lt;extension name=&quot;extension-intercom&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;1000&quot;&gt;<br>


        <b><i>&lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;</i></b><br>        &lt;action application=&quot;bridge&quot; data=&quot;user/1000&quot;/&gt;<br>    &lt;/condition&gt;<br>&lt;/extension&gt;<br>


<br>When I put in Xlite also G711ulaw/alaw as codecs preference the calls was ok. But when I put only codecs that FS do not support(ex. iLBC,BroadVoice32) the call failed. What am I missing? <br><br>I made this scenario because I need to route via FS some calls with G729r8 codec and I need no codec negotiation.<br>


<br>Ty<br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>