[Freeswitch-users] Internal Profile sends RTP to external IP when using two network interfaces

Alberto Escudero-Pascual (lists) aep.lists at it46.se
Wed Aug 26 07:18:03 PDT 2009

ASCII art follows

voip-phones..... [ FS ] ----> Internet

I have two profiles binded to two different IPs

internal is binded to port 5060 /24 network
external is binded to port 5080

My IP phones are in the 10.0.46.X range and they register @ IP

When I place a call between the two phones in the network
the phones register but audio RTP is sent to instead of (FS)

In this scenario i have FS without any NAT configuration.

The way that i solved was to run both profiles (internal and external) in
the public IP (local_ipv4) and force the phones to register with instead of

Thanks looong time!

Stopping junk mailers is good for the environment

> First off you can't bind one profile to two interfaces you have to
> launch two sofia profiles, one for each IP.  Secondly if you're doing
> things like this you'll have to refer to the in tree internal.xml.
> Third can you outline the network topology a little bit more?  Is nat
> involved?
> /b
> On Aug 26, 2009, at 3:04 AM, Alberto Escudero-Pascual (lists) wrote:
>> Hi,
>> I have a FS box with two physical network interfaces. The internal
>> interface is hosting several internal phones. I have binded the
>> internal
>> profile SIP/RTP/IP to the private interface. Phones registered
>> correctly
>> but with User: 1000 at external.ip.address in sofia status profile
>> internal
>> When I place a call between two internal phones, RTP traffic is send
>> to
>> the external IP address of the FS box instead of the internal.
>> The SIP/SDP messages send from FS carry the external IP instead of the
>> internal.
>> The result is that no RTP media arrives to any of the phones.
>> /aep
> _______________________________________________
> 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

More information about the FreeSWITCH-users mailing list