FreeSWITCH using outbound proxy but to bypass media
I am trying to use an outbound SIP proxy for FreeSWITCH by adding fs_path to the bridge. It’s working fine and I am able to send calls using the proxy. On the proxy (which is also FreeSWITCH) I am receiving the call in a lua script, create a new session with the destination gateway and bridge two sessions (old, incoming and the newly created) The idea is to have multiple FreeSWITCH servers (all public IP address) originating calls while all calls going to the carrier via the proxy. The problem is that all media is also passing through the proxy. Is there a way I can only send signaling through proxy and media to flow directly between the endpoints? I have tried bypass_media and bypass_media_after_bridge but it’s not working. Is this even doable? Thanks. -- Muhammad Naseer Bhatti
bypass_media is the exact way to do this. It would be on the "proxy" box. On Friday, December 19, 2014, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
I am trying to use an outbound SIP proxy for FreeSWITCH by adding fs_path to the bridge. It’s working fine and I am able to send calls using the proxy. On the proxy (which is also FreeSWITCH) I am receiving the call in a lua script, create a new session with the destination gateway and bridge two sessions (old, incoming and the newly created)
The idea is to have multiple FreeSWITCH servers (all public IP address) originating calls while all calls going to the carrier via the proxy. The problem is that all media is also passing through the proxy. Is there a way I can only send signaling through proxy and media to flow directly between the endpoints? I have tried bypass_media and bypass_media_after_bridge but it’s not working. Is this even doable?
Thanks. -- Muhammad Naseer Bhatti
Inbound-bypass-media is enabled in the profile and also enabled just before the bridge as a session/channel variable. Can't think of a reason why media is still being passed through. :s Sent from my iPad
On Dec 20, 2014, at 03:17, Michael Jerris <mike@jerris.com> wrote:
bypass_media is the exact way to do this. It would be on the "proxy" box.
On Friday, December 19, 2014, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote: I am trying to use an outbound SIP proxy for FreeSWITCH by adding fs_path to the bridge. It’s working fine and I am able to send calls using the proxy. On the proxy (which is also FreeSWITCH) I am receiving the call in a lua script, create a new session with the destination gateway and bridge two sessions (old, incoming and the newly created)
The idea is to have multiple FreeSWITCH servers (all public IP address) originating calls while all calls going to the carrier via the proxy. The problem is that all media is also passing through the proxy. Is there a way I can only send signaling through proxy and media to flow directly between the endpoints? I have tried bypass_media and bypass_media_after_bridge but it’s not working. Is this even doable?
Thanks. -- Muhammad Naseer Bhatti
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Did you ever get this to work? Regards, Guillermo On Fri, Dec 19, 2014 at 9:25 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
Inbound-bypass-media is enabled in the profile and also enabled just before the bridge as a session/channel variable. Can't think of a reason why media is still being passed through. :s
Sent from my iPad
On Dec 20, 2014, at 03:17, Michael Jerris <mike@jerris.com> wrote:
bypass_media is the exact way to do this. It would be on the "proxy" box.
On Friday, December 19, 2014, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
I am trying to use an outbound SIP proxy for FreeSWITCH by adding fs_path to the bridge. It’s working fine and I am able to send calls using the proxy. On the proxy (which is also FreeSWITCH) I am receiving the call in a lua script, create a new session with the destination gateway and bridge two sessions (old, incoming and the newly created)
The idea is to have multiple FreeSWITCH servers (all public IP address) originating calls while all calls going to the carrier via the proxy. The problem is that all media is also passing through the proxy. Is there a way I can only send signaling through proxy and media to flow directly between the endpoints? I have tried bypass_media and bypass_media_after_bridge but it’s not working. Is this even doable?
Thanks. -- Muhammad Naseer Bhatti
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Guillermo Ruiz Camauer
I don’t think it worked. You are picking up a 2 years old thread. I changed the logic and acheived what I was trying to do in a different way. -- Sent with Airmail From: Guillermo Ruiz Camauer <grcamauer@gmail.com> <grcamauer@gmail.com> Reply: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: May 28, 2016 at 3:44:13 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] FreeSWITCH using outbound proxy but to bypass media Did you ever get this to work? Regards, Guillermo On Fri, Dec 19, 2014 at 9:25 PM, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
Inbound-bypass-media is enabled in the profile and also enabled just before the bridge as a session/channel variable. Can't think of a reason why media is still being passed through. :s
Sent from my iPad
On Dec 20, 2014, at 03:17, Michael Jerris <mike@jerris.com> wrote:
bypass_media is the exact way to do this. It would be on the "proxy" box.
On Friday, December 19, 2014, Muhammad Naseer Bhatti <nbhatti@gmail.com> wrote:
I am trying to use an outbound SIP proxy for FreeSWITCH by adding fs_path to the bridge. It’s working fine and I am able to send calls using the proxy. On the proxy (which is also FreeSWITCH) I am receiving the call in a lua script, create a new session with the destination gateway and bridge two sessions (old, incoming and the newly created)
The idea is to have multiple FreeSWITCH servers (all public IP address) originating calls while all calls going to the carrier via the proxy. The problem is that all media is also passing through the proxy. Is there a way I can only send signaling through proxy and media to flow directly between the endpoints? I have tried bypass_media and bypass_media_after_bridge but it’s not working. Is this even doable?
Thanks. -- Muhammad Naseer Bhatti
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Guillermo Ruiz Camauer _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (3)
-
Guillermo Ruiz Camauer
-
Michael Jerris
-
Muhammad Naseer Bhatti