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"><<a href="mailto:mkovalenko@cybervisiontech.com" target="_blank">mkovalenko@cybervisiontech.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm getting the data from external DB containing subscribers' 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: "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 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> > wrote:<br>
<br>
<br>
Unfortunately, it isn'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't matter, even you would set proxy_media=true for same channel, it should not provide you "light proxy" of media flow, because your settign of bypass_proxy comprises Freeswitch don't proxy media.<br>
Thus I guess in order to set "light" or "hard" 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 "light proxy"): bypass_media=false; proxy_media=true<br>
<br>
3. Bypass media: bupass_media=true (it's doesn't matter what currect value 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>
<br>
<br>
<br>
On 11/2/12 9:13 AM, "Max Kovalenko" < <a href="mailto:mkovalenko@cybervisiontech.com">mkovalenko@cybervisiontech.com</a> > wrote:<br>
<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 and<br>
> proxy_media.<br>
><br>
> - Are these parameters independent? Meaning the combination: bypass_media=true<br>
> 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 need to<br>
> 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>
--<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>