This probably will not work if you have NATed endpoints<br>At least, without proper NAT handling on these devices to make them advertise their external host/port in SDP<br><br>BTW, there is a variable <b>bypass_media_after_bridge</b> and it should make FS send re-invite to endpoints connecting them directly<br>
<br><div class="gmail_quote">2012/11/7 Sergey Okhapkin <span dir="ltr"><<a href="mailto:sos@sokhapkin.dyndns.org" target="_blank">sos@sokhapkin.dyndns.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Set bypass_media=true and do not set proxy_media variable.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wednesday 07 November 2012 03:47:19 Max Kovalenko wrote:<br>
> Lets return to root direction of the topic.<br>
><br>
> How to set Full media proxy mode per channel?<br>
><br>
> Meaning, what values should be set for channel variables: bypass_media &<br>
> proxy_media ?<br>
><br>
> Max Kovalenko<br>
> ---------------<br>
> CyberVision Inc.<br>
><br>
> ----- Original Message -----<br>
> From: "Dmitry Sytchev" <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>><br>
> To: "FreeSWITCH Users Help" <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
> Sent: Tuesday, November 6, 2012 9:01:59 PM<br>
> Subject: Re: [Freeswitch-users] media proxy<br>
><br>
><br>
> Media proxy mode not only affects codecs, but any parameters negotiated by<br>
> SDP. We use media proxy to handle NAT and still allow untouched SDP<br>
> exchange between customer endpoints and PSTN gateway for T38, for example<br>
><br>
><br>
> 2012/11/6 Max Kovalenko < <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> ><br>
><br>
><br>
> I'm getting the data from external DB containing subscribers' parameters.<br>
><br>
> Max Kovalenko<br>
> ---------------<br>
> CyberVision Inc.<br>
><br>
><br>
><br>
> ----- Original Message -----<br>
> From: "Ben Langfeld" < <a href="mailto:ben@langfeld.co.uk">ben@langfeld.co.uk</a> ><br>
> To: "FreeSWITCH Users Help" < <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a> ><br>
> Sent: Sunday, November 4, 2012 10:46:00 PM<br>
> Subject: Re: [Freeswitch-users] media proxy<br>
><br>
><br>
> Can you point to other software that provides this distinction in media<br>
> proxying?<br>
><br>
> Regards,<br>
> Ben Langfeld<br>
><br>
><br>
><br>
> On 4 November 2012 11:57, Max Kovalenko < <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> ><br>
> wrote:<br>
><br>
><br>
> Unfortunately, it isn't well documented, or else I would not ask about<br>
> :))))))<br>
><br>
> Those parameters perhaps are exclusive of each other, by mechanics they<br>
> affects to is almost the same. Or at least, I would call them two sides of<br>
> ame thing.<br>
><br>
> Theoretically, if you consider the situation of bypass_media=true, that<br>
> means media flow bypass around Freeswitch, it also automatically<br>
> annihilates settings of proxy_media variable. It doesn't matter, even you<br>
> would set proxy_media=true for same channel, it should not provide you<br>
> "light proxy" of media flow, because your settign of bypass_proxy comprises<br>
> Freeswitch don't proxy media. Thus I guess in order to set "light" or<br>
> "hard" proxy the variable bypass_media must be set to FALSE first, for same<br>
> channel of course.<br>
><br>
> My task requires either bypass media or light/hard proxy to be set for a<br>
> channel depending of some conditions of a session. In the other words, I<br>
> need to set up one of three modes per each channel.<br>
><br>
> Perhaps I undestand something not so right - I will appreciate if you will<br>
> correct me with the following:<br>
><br>
> 1. Default (full media proxy) : bypass_media=false ; proxy_media=false<br>
><br>
> 2. Transparent proxy (mine "light proxy"): bypass_media=false;<br>
> proxy_media=true<br>
><br>
> 3. Bypass media: bupass_media=true (it's doesn't matter what currect value<br>
> of proxy_media is)<br>
><br>
> Thanks<br>
><br>
><br>
> Max Kovalenko<br>
> Team Leader<br>
> VoIP & UC Team<br>
> Managed Services Dept.<br>
> CyberVision Inc.<br>
> -------------------------------------------------<br>
> tel. +1 (201) 585-9809 ext. 215<br>
> Email: <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a><br>
> Skype: mkovalenko_cv, panzer_meister<br>
> WWW: <a href="http://www.cybervisiontech.com" target="_blank">www.cybervisiontech.com</a><br>
><br>
><br>
><br>
> ----- Исходное сообщение -----<br>
> От: "Ken Rice" < <a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a> ><br>
> Кому: "FreeSWITCH Users Help" < <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a> ><br>
> Отправленные: Пятница, 2 Ноябрь 2012 г 17:12:11 GMT +02:00 Афины, Бухарест,<br>
> Стамбул Тема: Re: [Freeswitch-users] media proxy<br>
><br>
><br>
> Default, proxy and bybass media are exclusive of each other, you can not<br>
> combine them on a single call...<br>
><br>
> Proxy media is just that proxy the media<br>
><br>
> Bypass media is just that, bypass freeswitch and send the media direct<br>
> between the end point...<br>
><br>
> Setting this options is fairly well documented on the wiki...<br>
><br>
> On 11/2/12 9:13 AM, "Max Kovalenko" < <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> ><br>
wrote:<br>
> > Hello,<br>
> ><br>
> > There are two modes of media stream to be proxied or bypassed.<br>
> ><br>
> > 1. Default - "hard proxy" supplying trans coding, DTMF manipulations, etc.<br>
> > 2. Proxy - "light proxy" supplying only symmetrical RTP for mostly NAT<br>
> > traversal purposes. No media stream parsing is supported<br>
> > 3. Media bypass - RTP streams are bypassing FreeSWITCH at all.<br>
> ><br>
> > There are also two channel parameters affecting above modes: bypass_media<br>
> > and proxy_media.<br>
> ><br>
> > - Are these parameters independent? Meaning the combination:<br>
> > bypass_media=true AND proxy_media=true is possible. What effect will be?<br>
> ><br>
> > - Does it means that if I want to turn on "light proxy" I would always<br>
> > need to set bypass_media=false AND proxy_media=true?<br>
> ><br>
> > - How to set "hard proxy" (full media proxy) per channel before to bridge<br>
> > legs?<br>
> ><br>
> > Waiting for your replay ASAP. Thank you in advance.<br>
> ><br>
> ><br>
> > Best Regards.<br>
> ><br>
> > Max Kovalenko<br>
> > Team Leader<br>
> > VoIP & UC Team<br>
> > Managed Services Dept.<br>
> > CyberVision Inc.<br>
> > -------------------------------------------------<br>
> > tel. +1 (201) 585-9809 ext. 215<br>
> > Email: <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a><br>
> > Skype: mkovalenko_cv, panzer_meister<br>
> > WWW: <a href="http://www.cybervisiontech.com" target="_blank">www.cybervisiontech.com</a><br>
> ><br>
> ><br>
> ><br>
> ><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>
_________________________________________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>