Here's the output of ifconfig -a:<div><br></div><div><a href="http://pastebin.freeswitch.org/14199">http://pastebin.freeswitch.org/14199</a></div><div><br></div><div>This is the output of route:</div><div><br></div><div>
<a href="http://pastebin.freeswitch.org/14200">http://pastebin.freeswitch.org/14200</a></div><div><br></div><div><br></div><div>This is the external.xml file under sip_profiles (is the default, only modified sip-ip and rtp-ip):</div>
<div><br></div><div><a href="http://pastebin.freeswitch.org/14201">http://pastebin.freeswitch.org/14201</a></div><div><br></div><div><br></div><div>This is somegateway.xml file under sip_profiles/external/ </div><div><br>
</div><div><a href="http://pastebin.freeswitch.org/14202">http://pastebin.freeswitch.org/14202</a></div><div><br></div><div><br></div><div>Output of sofia status from cli (tried with alias=true and alias=false on internal profile):</div>
<div><br></div><div><a href="http://pastebin.freeswitch.org/14203">http://pastebin.freeswitch.org/14203</a></div><div><br></div><div><br></div><div>This is the cli output with loglevel all set to 9 and siptrace on for external profile:</div>
<div><br></div><div><a href="http://pastebin.freeswitch.org/14204">http://pastebin.freeswitch.org/14204</a></div><div><br></div><div><br></div><div>Thanks</div><div><br><br><div class="gmail_quote">On Mon, Oct 11, 2010 at 2:33 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If you set the IP in sip-ip and rtp-ip that is abound to eth0:3 then it should bind to that interface/ip and use that... I haven't see anything out of the usual when doing this.<br>
<br>
Show me your profile config and the output of ifconfig -a<br>
<br>
/b<br>
<div><div></div><div class="h5"><br>
On Oct 11, 2010, at 4:46 AM, Nicolas Brenner wrote:<br>
<br>
> Hello everyone,<br>
><br>
> I'm having trouble binding FS to another ip on a virtual interface (eth0:3). The virtual interface's ip address is the gateway to an ipsec vpn, and the only way to access this voip provider's sip server, is through the vpn.<br>
><br>
> I tried setting up an additional sip profile, with rtp-ip and sip-ip as the virtual interface's ip, but when I do that, no packets are sent at all when trying to make a call with originate through the cli (according to tcpdump). I tried also setting ext-rtp-ip and ext-sip-ip to the same virtual interface's ip, but nothing happened, still no packets being sent (according to tcpdump) when trying to make a call. Finally I tried only setting ext-rtp-ip and ext-sip-ip to the virtual interface's ip, and leave rtp-ip and sip-ip to $${local_ip_v4}, then tcpdump started seeing some traffic (when trying to originate a call) which I was able to capture. When I loaded the trace on wireshark though, I noticed the source ip being used to send all the (sip) packets, is the one from eth0 (public ip), and not eth0:3's ip (private ip for vpn).<br>
><br>
> Has anyone had any similiar experiences? how were you able to solve it?<br>
><br>
> Thanks for your help!<br>
><br>
><br>
> Nico<br>
<br>
<br>
</div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>