<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"><<a href="mailto:koralu@gmail.com" target="_blank">koralu@gmail.com</a>></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 "bypass media" in FS with the following scenario: Xlite(ext.1000) -> FS <- 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>"This is useful if you have two end-points that need to use a codec that is currently not supported in FreeSWITCH "</i><br>
<br>As the FS tutorial said <u>"Before executing the bridge action you must set the "bypass_media" flag to true.
"</u> so I put the following line in my dial plan.<br><br><extension name="extension-intercom"><br> <condition field="destination_number" expression="1001"><br> <i> <b><action application="set" data="bypass_media=true"/></b></i><br>
<action application="bridge" data="user/1001"/><br> </condition><br></extension><br><br><br><extension name="extension-intercom"><br> <condition field="destination_number" expression="1000"><br>
<b><i><action application="set" data="bypass_media=true"/></i></b><br> <action application="bridge" data="user/1000"/><br> </condition><br></extension><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>