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@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@lists.freeswitch.org [mailto: freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org