Hi Eugene.<div><br></div><div>So, you are correct, I have configured my network to forward SIP and RTP traffic to my 192.* IP, and this is working as intended. I have also now manually put in the 192.* IP into the sofia external.xml and internal.xml for sip-ip and rtp-ip.</div>
<div><br></div><div>Again, on this virtual machine there are two interfaces (eth0=10.* ip, and eth1=192.* ip). After restarting freeswitch and doing the lsof -i that you suggested, I get the following for freeswitch:</div>
<div><br></div><div><div>freeswitc 17227 freeswitch 23u IPv4 61949 0t0 UDP <a href="http://192.168.1.10:5080" target="_blank">192.168.1.10:5080</a> </div><div>freeswitc 17227 freeswitch 26u IPv4 61950 0t0 TCP <a href="http://192.168.1.10:5080" target="_blank">192.168.1.10:5080</a> (LISTEN)</div>
<div>freeswitc 17227 freeswitch 30u IPv6 61957 0t0 UDP ip6-localhost:5080 </div><div>freeswitc 17227 freeswitch 31u IPv6 61958 0t0 TCP ip6-localhost:5080 (LISTEN)</div><div>freeswitc 17227 freeswitch 35u IPv4 62707 0t0 UDP 192.168.1.10:sip </div>
<div>freeswitc 17227 freeswitch 36u IPv4 62708 0t0 TCP 192.168.1.10:sip (LISTEN)</div><div>freeswitc 17227 freeswitch 37u IPv4 61960 0t0 UDP 10.0.2.15:33908->chic-cns.area4.il.chicago.comcast.net:domain </div>
<div>freeswitc 17227 freeswitch 40u IPv4 61964 0t0 TCP localhost:zope-ftp (LISTEN)</div></div><div><br></div><div>I'm not sure where that 10.0.2.15 is configured in freeswitch, or even what that port is for.</div>
<div><br></div><div>So, below I've linked to two packet captures for both eth0 and eth1. You'll notice that the intial INVITE is occuring on eth0, but that we're receiving traffic from the sip provider on eth1 that is not being responded to by freeswitch. I still can't figure out why that is happening (both why eth0 is even being used, and why freeswitch is not responding to traffic directed at the other IP).</div>
<div><br></div><div><a href="http://joshnankin.com/tcpdump0.pcap">http://joshnankin.com/tcpdump0.pcap</a></div><div><a href="http://joshnankin.com/tcpdump1.pcap">http://joshnankin.com/tcpdump1.pcap</a></div>
<div><br></div><div>Thanks again for all of your help.</div><div><br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 7:31 PM, Joshua Nankin <span dir="ltr"><<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm stumped. Do you think it would be possible to use a sofia alias to get the profile to listen to the other ip (192.x) as well?<div>
<div><br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 5:10 PM, curriegrad2004 <span dir="ltr"><<a href="mailto:curriegrad2004@gmail.com" target="_blank">curriegrad2004@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That could be causing the problems right there if Vagrant is doing<br>
some NATing or mangling the IP packets<br>
<div><div><br>
On Thu, Jun 28, 2012 at 2:48 PM, Joshua Nankin <<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>> wrote:<br>
> Right, but freeswitch is still getting packets to 192.168.1.7, but sending<br>
> from 10.0.2.15.<br>
><br>
> Not sure if this makes a difference, but this is a Vagrant virtual machine<br>
> with a bridged interface. The 10.x address is an internal Vagrant ip, but<br>
> the 192 is from my router DHCP. I've set the external sip and rtp ips to my<br>
> public IP address, and that IP is what appears for the profile in sofia<br>
> status.<br>
><br>
><br>
><br>
> On Thu, Jun 28, 2012 at 4:36 PM, Joshua Nankin <<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>> wrote:<br>
>><br>
>> I did a sudo /etc/init.d/freeswitch restart. That should be enough<br>
>> correct?<br>
>><br>
>> On Thu, Jun 28, 2012 at 4:08 PM, Joshua Nankin <<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>> wrote:<br>
>>><br>
>>> sip-ip and rtp-ip in both external.xml and internal.xml were set to<br>
>>> $${local_ip_v4}. I figured that setting the ip in vars.xml would be enough.<br>
>>><br>
>>> I manually set sip-ip and rtp-ip and both of those files, but that still<br>
>>> did not solve the problem.<br>
>>><br>
>>> Any other ideas?<br>
>>><br>
>>><br>
>>> On Thu, Jun 28, 2012 at 3:41 PM, Joshua Nankin <<a href="mailto:jnankin@gmail.com" target="_blank">jnankin@gmail.com</a>> wrote:<br>
>>>><br>
>>>> I have two interfaces on my machine, eth0=10.0.2.15 and<br>
>>>> eth1=192.168.1.7. I'm trying to get freeswitch to only use eth1. I've put<br>
>>>> the following at the top of my vars.xml:<br>
>>>><br>
>>>> <X-PRE-PROCESS cmd="set" data="local_ip_v4=192.168.1.7"/><br>
>>>><br>
>>>> However, this does not seem to be working. When I originate a call, I<br>
>>>> see that the initial invite is originating from 10.0.2.15, but incoming<br>
>>>> packets from my sip provider are going to 192.168.1.7 and are not being<br>
>>>> responded to by freeswitch. Shouldn't freeswitch be listening on<br>
>>>> 192.168.1.7 and sending packets from there as well?<br>
>>>><br>
>>>> What am I doing wrong?<br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>><br>
><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>