[Freeswitch-users] Bypass media succeeds from extension to gateway but fails from extension to extension
philq at qsystemsengineering.com
Thu May 10 18:38:22 MSD 2012
Thanks Ken. I'm still learning here, so if that's the case then help me to
understand why FS properly sends the external address when that same
extension makes a call out through a gateway instead of to another
extension. Same settings, same originating extension.
I did try enabling ndlb-connectile-dysfunction to rewrite the contact IP on
those calls but to no avail.
Tue May 8 11:38:48 MSD 2012
This is not a bug in FreeSWITCH...
Bypass Media is a special mode to allow us to act as a psuedo proxy.
Other then possibly filtering some codecs the rest of the SDPs are simply
copied across the bridge. That means if your sip devices are sending RFC1918
IPs in their SDPs then FreeSWITCH will forward an RFC1918 SDP. Why is that?
Because FreeSWITCH has no way to know where the media is actually coming
from since FreeSWITCH is not in the media path.
From: Phil Quesinberry
Sent: Monday, May 07, 2012 11:54 AM
To: 'freeswitch-users at lists.freeswitch.org'
Subject: Bypass media succeeds from extension to gateway but fails from
extension to extension
I'm not sure if this is a bug or just a NAT-related configurational problem.
If it's truly a bug, let me know and I'll be happy to file a Jira.
I'm trying to get bypass media to work with extension to extension calls.
Both endpoint extensions are behind NAT in two different locations. This
looks like a possible bug because FS sends the internal IP address of one of
the endpoints to the other for media, but when making a call from the same
extension to an external gateway for PSTN termination, it sends the phone's
external IP address as it should, and the call succeeds.
Everything works fine, of course, when "proxy media" is used.
The SIP traffic for the failed call is here, look for the word "WRONG!" to
see the incorrect address being passed in the SDP:
Q Systems Engineering, Inc.
Electronic Controls and Embedded Systems Development
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users