Media proxy mode not only affects codecs, but any parameters negotiated by SDP.<br>We use media proxy to handle NAT and still allow untouched SDP exchange between customer endpoints and PSTN gateway for T38, for example<br>
<br><div class="gmail_quote">2012/11/6 Max Kovalenko <span dir="ltr">&lt;<a href="mailto:mkovalenko@cybervisiontech.com" target="_blank">mkovalenko@cybervisiontech.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m getting the data from external DB containing subscribers&#39; parameters.<br>
<span class="HOEnZb"><font color="#888888"><br>
Max Kovalenko<br>
---------------<br>
CyberVision Inc.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
From: &quot;Ben Langfeld&quot; &lt;<a href="mailto:ben@langfeld.co.uk">ben@langfeld.co.uk</a>&gt;<br>
To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<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 proxying?<br>
<br>
Regards,<br>
Ben Langfeld<br>
<br>
<br>
<br>
On 4 November 2012 11:57, Max Kovalenko &lt; <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> &gt; wrote:<br>
<br>
<br>
Unfortunately, it isn&#39;t well documented, or else I would not ask about :))))))<br>
<br>
Those parameters perhaps are exclusive of each other, by mechanics they affects to is almost the same. Or at least, I would call them two sides of ame thing.<br>
<br>
Theoretically, if you consider the situation of bypass_media=true, that means media flow bypass around Freeswitch, it also automatically annihilates settings of proxy_media variable. It doesn&#39;t matter, even you would set proxy_media=true for same channel, it should not provide you &quot;light proxy&quot; of media flow, because your settign of bypass_proxy comprises Freeswitch don&#39;t proxy media.<br>

Thus I guess in order to set &quot;light&quot; or &quot;hard&quot; proxy the variable bypass_media must be set to FALSE first, for same channel of course.<br>
<br>
My task requires either bypass media or light/hard proxy to be set for a channel depending of some conditions of a session. In the other words, I 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 correct me with the following:<br>
<br>
1. Default (full media proxy) : bypass_media=false ; proxy_media=false<br>
<br>
2. Transparent proxy (mine &quot;light proxy&quot;): bypass_media=false; proxy_media=true<br>
<br>
3. Bypass media: bupass_media=true (it&#39;s doesn&#39;t matter what currect value of proxy_media is)<br>
<br>
Thanks<br>
<br>
<br>
Max Kovalenko<br>
Team Leader<br>
VoIP &amp; 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>
От: &quot;Ken Rice&quot; &lt; <a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a> &gt;<br>
Кому: &quot;FreeSWITCH Users Help&quot; &lt; <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a> &gt;<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>
<br>
<br>
<br>
On 11/2/12 9:13 AM, &quot;Max Kovalenko&quot; &lt; <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> &gt; wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; There are two modes of media stream to be proxied or bypassed.<br>
&gt;<br>
&gt; 1. Default - &quot;hard proxy&quot; supplying trans coding, DTMF manipulations, etc.<br>
&gt; 2. Proxy - &quot;light proxy&quot; supplying only symmetrical RTP for mostly NAT<br>
&gt; traversal purposes. No media stream parsing is supported<br>
&gt; 3. Media bypass - RTP streams are bypassing FreeSWITCH at all.<br>
&gt;<br>
&gt; There are also two channel parameters affecting above modes: bypass_media and<br>
&gt; proxy_media.<br>
&gt;<br>
&gt; - Are these parameters independent? Meaning the combination: bypass_media=true<br>
&gt; AND proxy_media=true is possible. What effect will be?<br>
&gt;<br>
&gt; - Does it means that if I want to turn on &quot;light proxy&quot; I would always need to<br>
&gt; set bypass_media=false AND proxy_media=true?<br>
&gt;<br>
&gt; - How to set &quot;hard proxy&quot; (full media proxy) per channel before to bridge<br>
&gt; legs?<br>
&gt;<br>
&gt; Waiting for your replay ASAP. Thank you in advance.<br>
&gt;<br>
<br>
&gt; Best Regards.<br>
&gt;<br>
&gt; Max Kovalenko<br>
&gt; Team Leader<br>
&gt; VoIP &amp; UC Team<br>
&gt; Managed Services Dept.<br>
&gt; CyberVision Inc.<br>
&gt; -------------------------------------------------<br>
&gt; tel. +1 (201) 585-9809 ext. 215<br>
&gt; Email: <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a><br>
&gt; Skype: mkovalenko_cv, panzer_meister<br>
&gt; WWW: <a href="http://www.cybervisiontech.com" target="_blank">www.cybervisiontech.com</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE: <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
--<br>
Ken<br>
<a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<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>
<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>