[Freeswitch-users] media proxy

Sergey Okhapkin sos at sokhapkin.dyndns.org
Wed Nov 7 14:25:49 MSK 2012


 Set bypass_media=true and do not set proxy_media variable.

On Wednesday 07 November 2012 03:47:19 Max Kovalenko wrote:
> Lets return to root direction of the topic.
> 
> How to set Full media proxy mode per channel?
> 
> Meaning, what values should be set for channel variables: bypass_media &
> proxy_media ?
> 
> Max Kovalenko
> ---------------
> CyberVision Inc.
> 
> ----- Original Message -----
> From: "Dmitry Sytchev" <kbdfck at gmail.com>
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Sent: Tuesday, November 6, 2012 9:01:59 PM
> Subject: Re: [Freeswitch-users] media proxy
> 
> 
> Media proxy mode not only affects codecs, but any parameters negotiated by
> SDP. We use media proxy to handle NAT and still allow untouched SDP
> exchange between customer endpoints and PSTN gateway for T38, for example
> 
> 
> 2012/11/6 Max Kovalenko < mkovalenko at cybervisiontech.com >
> 
> 
> I'm getting the data from external DB containing subscribers' parameters.
> 
> Max Kovalenko
> ---------------
> CyberVision Inc.
> 
> 
> 
> ----- Original Message -----
> From: "Ben Langfeld" < ben at langfeld.co.uk >
> To: "FreeSWITCH Users Help" < freeswitch-users at lists.freeswitch.org >
> Sent: Sunday, November 4, 2012 10:46:00 PM
> Subject: Re: [Freeswitch-users] media proxy
> 
> 
> Can you point to other software that provides this distinction in media
> proxying?
> 
> Regards,
> Ben Langfeld
> 
> 
> 
> On 4 November 2012 11:57, Max Kovalenko < mkovalenko at cybervisiontech.com >
> wrote:
> 
> 
> 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



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