[Freeswitch-users] Bypass media scenario

Grant Bagdasarian GB at cm.nl
Tue Nov 5 19:18:53 MSK 2013


Sounds good. Thanks!

Gonna play with uuid_media.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Steven Ayre
Sent: Tuesday, November 5, 2013 4:02 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Bypass media scenario

You can set inbound-bypass-media = false on the sofia profile then set bypass_media=true within dialplan to 'opt in' the calls that you want to bypass FS.

If you can't determine when that'll happen in advance you could have something passed from Kamalio to instruct FS to do that (via an X- header) and check that from a hook script.

If that fails (as I suspect it'd be too late in the bridge for the variable to have any effect) you could try using http://wiki.freeswitch.org/wiki/Mod_commands#uuid_media

On 5 November 2013 14:08, Grant Bagdasarian <GB at cm.nl<mailto:GB at cm.nl>> wrote:
Yes, I know. What I meant was for FS to have bypass media disabled at all times (so FS always processes media), except when Kamailio tells it to bypass the media for a given call.

From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Kristian Kielhofner
Sent: Tuesday, November 5, 2013 2:53 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Bypass media scenario

 Bypass_media is exactly that. If you proxy the media with rtpproxy you will proxy it there and nowhere else. You can control that with Kamailio.

On Tuesday, November 5, 2013, Grant Bagdasarian wrote:
Hello,

Consider the following flow:

UAC --- FreeSWITCH (SBC) --- Kamailio/MediaProxy ---- UAS

FS only bridges the incoming leg with an outgoing one towards Kamailio.

Is it possible to have the RTP stream flow between the UAC and UAS through the MediaProxy, even when bypass media is disabled on FS?
If not, is it possible to have Kamailio control this in some way? Note, that I do want the signaling to still pass through FS at all times.



--
Sent from mobile device

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131105/a379c865/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list