[Freeswitch-users] media proxy

Max Kovalenko mkovalenko at cybervisiontech.com
Sun Nov 4 22:57:27 MSK 2012


Unfortunately, it isn't well documented, or else I would not ask about  :))))))

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.

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.
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.

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.

Perhaps I undestand something not so right - I will appreciate if you will correct me with the following:

1. Default (full media proxy) : bypass_media=false ; proxy_media=false

2. Transparent proxy (mine "light proxy"): bypass_media=false; proxy_media=true

3. Bypass media: bupass_media=true  (it's doesn't matter what currect value of proxy_media is)

Thanks

Max Kovalenko 
Team Leader 
VoIP & UC Team 
Managed Services Dept. 
CyberVision Inc. 
------------------------------------------------- 
tel. +1 (201) 585-9809 ext. 215 
Email: mkovalenko at cybervisiontech.com
Skype: mkovalenko_cv, panzer_meister
WWW: www.cybervisiontech.com



----- Исходное сообщение -----
От: "Ken Rice" <krice at freeswitch.org>
Кому: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Отправленные: Пятница, 2 Ноябрь 2012 г 17:12:11 GMT +02:00 Афины, Бухарест, Стамбул
Тема: Re: [Freeswitch-users] media proxy

Default, proxy and bybass media are exclusive of each other, you can not
combine them on a single call...

Proxy media is just that proxy the media

Bypass media is just that, bypass freeswitch and send the media direct
between the end point...

Setting this options is fairly well documented on the wiki...



On 11/2/12 9:13 AM, "Max Kovalenko" <mkovalenko at cybervisiontech.com> wrote:

> Hello,
> 
> There are two modes of media stream to be proxied or bypassed.
> 
> 1. Default - "hard proxy" supplying trans coding, DTMF manipulations, etc.
> 2. Proxy - "light proxy" supplying only symmetrical RTP for mostly NAT
> traversal purposes. No media stream parsing is supported
> 3. Media bypass - RTP streams are bypassing FreeSWITCH at all.
> 
> There are also two channel parameters affecting above modes: bypass_media and
> proxy_media.
> 
> - Are these parameters independent? Meaning the combination: bypass_media=true
> AND proxy_media=true is possible. What effect will be?
> 
> - Does it means that if I want to turn on "light proxy" I would always need to
> set bypass_media=false AND proxy_media=true?
> 
> - How to set "hard proxy" (full media proxy) per channel before to bridge
> legs?
> 
> Waiting for your replay ASAP. Thank you in advance.
> 
> Best Regards.
> 
> Max Kovalenko 
> Team Leader 
> VoIP & UC Team 
> Managed Services Dept.
> CyberVision Inc. 
> -------------------------------------------------
> tel. +1 (201) 585-9809 ext. 215
> Email: mkovalenko at cybervisiontech.com
> Skype: mkovalenko_cv, panzer_meister
> WWW: www.cybervisiontech.com
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list