<div dir="ltr">Yes, i see that bypass_media works only if end points have common codecs. That's why i'm asking if there is a way to use bypass_media only when end points have common codecs, otherwise freeswitch should handle transcoding. Asterisk has single setting called 'canreinvite' which works this way. Maybe freeswitch has something like this? Or does it require some fancy dialplan/scripting to achieve this?</div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-03 17:05 GMT+03:00 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For bypass to work you'll have to have some codecs in common! Without that it sounds like your end points don't behave properly in his case.<div><br></div><div>/b<div><div class="h5"><span></span><br><br>On Friday, July 3, 2015, Ričardas Stoma <<a href="mailto:ricardas.stoma@gmail.com" target="_blank">ricardas.stoma@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think everything is ok with my endpoints. I use two softphones (linphone and zoiper). On linphone (leg A) i enable only GSM codec and on zoiper (leg B) i enable only PCMA codec. When bypass_media_after bridge is disabled, media goes through freeswitch and freeswitch does transcoding. In this case i can hear voices.<div><br></div><div>When bypass_media_after_bridge is enabled, media goes from leg A to leg B directly but the problem is that codecs do not match and i can hear only digital noise. SIP trace looks like this <a href="http://i.imgur.com/iOn6ajJ.png" target="_blank">http://i.imgur.com/iOn6ajJ.png</a></div><div><br></div><div>If i set PCMA codec on linphone (leg A) then everything is ok with direct media between softphones, codecs matches and i can hear voices. What i want is IF leg A and leg B codecs matches then bypass_media should take effect and media should go directly from leg A to leg B. IF codecs do not match, then media should go through freeswitch and freeswitch should do transcoding.</div><div><br></div><div>Is this possible with freeswitch? Asterisk does this when canreinvite is enabled ("If the clients use different codecs, Asterisk will not issue a re-invite")</div></div>
</blockquote></div></div></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b><a href="tel:%2B19184209001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div><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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>