[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..... 10.0.46.1 [ FS ] 220.127.116.11 ----> Internet
I have two profiles binded to two different IPs
internal is binded to 10.0.46.1 port 5060 /24 network
external is binded to 18.104.22.168 port 5080
My IP phones are in the 10.0.46.X range and they register @ 10.0.46.1 IP
When I place a call between the two phones in the 10.0.46.0/24 network
the phones register but audio RTP is sent to 22.214.171.124 instead of
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
126.96.36.199 instead of 10.0.46.1
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
> On Aug 26, 2009, at 3:04 AM, Alberto Escudero-Pascual (lists) wrote:
>> I have a FS box with two physical network interfaces. The internal
>> interface is hosting several internal phones. I have binded the
>> profile SIP/RTP/IP to the private interface. Phones registered
>> but with User: 1000 at external.ip.address in sofia status profile
>> When I place a call between two internal phones, RTP traffic is send
>> 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
>> The result is that no RTP media arrives to any of the phones.
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
More information about the FreeSWITCH-users