[Freeswitch-users] RTP traffic on LAn
Steven Ayre
steveayre at gmail.com
Fri Jan 11 13:07:32 MSK 2013
All you need to do is either set bypass_media=true,
or bypass_media_after_bridge=true.
The hard part is knowing when to do so. You'll need to compare the incoming
and outgoing IP addresses to see if they're on the same network, and
there's no way really to do so without knowing those networks in advance.
The phones aren't able to tell you. If you set bypass_media and the phones
can't route directly to each other then all that happens is nothing gets
heard, it doesn't cause any error or fail the call.
I was thinking on using SIP INFO for sending DTMF (in case customer have to
> use some phone features activated via phone)
bypass_media_after_bridge=true will let FS collect RTP including DTMF
during a IVR menu, then bridge to an endpoint and only have media going
directly between caller+callee.
-Steve
On 11 January 2013 09:30, Chris B. Ware <chrisbware at yahoo.it> wrote:
> Hi all,
>
> I'm trying to find a way to let RTP traffic between two phones, registered
> to a public Freeswitch, on the same LAN, remain local.
> Usually phones are natted behind an ADSL router and using two RTP streams
> to speack each other (because, for example, are on different
> rooms on the same office) consume a lot of bandwidth.
>
> Is there anyone who has found a solution to this problem?
>
> I was thinking on using SIP INFO for sending DTMF (in case customer have
> to use some phone features activated via phone), using
> private IP (no STUN on phones) and keeping FS out of RTP streaming.
>
> Any help will be appreciated.
>
> Chris
>
>
>
> _________________________________________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130111/2a5d08c4/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list