<div dir="ltr">I changed the vars.xml and the internal.xml restarted Freeswitch and still shows both IP's<div><br></div><div>vars.xml</div><div><p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"><span style="color:rgb(0,0,0)"> </span><!-- <X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/> --></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(37,179,192)"><X-PRE-PROCESS </span><span style="color:rgb(39,180,28)">cmd</span><span style="color:rgb(0,0,0)">=</span>"set"<span style="color:rgb(37,179,192)"> </span><span style="color:rgb(39,180,28)">data</span><span style="color:rgb(0,0,0)">=</span>"bind_server_ip=192.168.21.250"<span style="color:rgb(37,179,192)">/></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 11, 2015 at 5:18 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">by default we figure out the IPv4 address which would route to the Internet and we set that to a variable. you can override this, check out vars.xml, it should be documented in there<span></span><br><br>On Saturday, July 11, 2015, Joli Martinez <<a href="mailto:mrjoli021@gmail.com" target="_blank">mrjoli021@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)">freeswitch@internal> sofia status </p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> Name<span style="white-space:pre-wrap">        </span> Type<span style="white-space:pre-wrap">        </span> Data<span style="white-space:pre-wrap">        </span>State</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)">=================================================================================================</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> 192.168.1.250<span style="white-space:pre-wrap">        </span> alias<span style="white-space:pre-wrap">        </span> internal<span style="white-space:pre-wrap">        </span>ALIASED</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> 192.168.21.250<span style="white-space:pre-wrap">        </span> alias<span style="white-space:pre-wrap">        </span> internal<span style="white-space:pre-wrap">        </span>ALIASED</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> external<span style="white-space:pre-wrap">        </span>profile<span style="white-space:pre-wrap">        </span> <a href="http://sip:mod_sofia@99.58.100.184:5080" target="_blank">sip:mod_sofia@99.58.100.184:5080</a><span style="white-space:pre-wrap">        </span>RUNNING (0)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> internal-ipv6<span style="white-space:pre-wrap">        </span>profile<span style="white-space:pre-wrap">        </span> <a href="http://sip:mod_sofia@99.58.100.184:6693" target="_blank">sip:mod_sofia@99.58.100.184:6693</a><span style="white-space:pre-wrap">        </span>RUNNING (0)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> internal<span style="white-space:pre-wrap">        </span>profile<span style="white-space:pre-wrap">        </span> <a href="http://sip:mod_sofia@99.58.100.184:6693" target="_blank">sip:mod_sofia@99.58.100.184:6693</a><span style="white-space:pre-wrap">        </span>RUNNING (0)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)">=================================================================================================</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)">3 profiles 2 aliases</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152);min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)">freeswitch@internal> </p><div><br></div><div><br></div><div>192.168.21.250 is the interface for FS. 192.168.1.250 is Lan2. LAN2 should not be connected to FS.</div><div><br></div><div>How can I fix this?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 11, 2015 at 3:52 PM, Stanislav Sinyagin <span dir="ltr"><<a>ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">What do you see in "sofia status" output? It should list the IP addresses and ports where it binds.</p>
<p dir="ltr">Also "netstat -an" is useful for troubleshooting.</p>
<div class="gmail_quote">On Jul 11, 2015 9:37 PM, "Joli Martinez" <<a>mrjoli021@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>I have installed Freeswitch and fusionPBX. My LAN network is <a href="http://192.168.21.0/24" target="_blank">192.168.21.0/24</a>. PBX is 250. I am trying to register a phone to Freeswitch. When I do tcpdump on the LAN interface on port 5060, I see traffic hitting the box from the phone, but on the Freeswitch CLI I see nothing. I am assuming an ACL is blocking the traffic. Where can I allow the LAN side to register?</div><div><br></div><div>I have tried the acl.xml and added the following and it still doesn't work. After I did this I reloaded the ACL and also restarted FS.</div><div><br></div><div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#25b3c0"><list </span><span style="color:#27b41c">name</span><span style="color:#000000">=</span>"lan"<span style="color:#25b3c0"> </span><span style="color:#27b41c">default</span><span style="color:#000000">=</span>"allow"<span style="color:#25b3c0">></span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><!-- <node type="deny" cidr="<a href="http://192.168.21.0/24" target="_blank">192.168.21.0/24</a>"/> --></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><span style="color:#25b3c0"><node </span><span style="color:#27b41c">type</span><span style="color:#000000">=</span>"allow"<span style="color:#25b3c0"> </span><span style="color:#27b41c">cidr</span><span style="color:#000000">=</span>"<a href="http://192.168.21.0/24" target="_blank">192.168.21.0/24</a>"<span style="color:#25b3c0">/></span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(37,179,192);background-color:rgb(255,245,152)"><span style="color:#000000"> </span></list></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152);min-height:13px"><br></div><div style="margin:0px;font-size:11px;font-family:Menlo;background-color:rgb(255,245,152)"> <span style="color:#4d2cdc"><!--</span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"> This will traverse the directory adding all users </div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"> with the cidr= tag to this ACL, when this ACL matches</div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"> the users variables and params apply as if they </div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"> digest authenticated.</div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"> --></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><span style="color:#25b3c0"><list </span><span style="color:#27b41c">name</span><span style="color:#000000">=</span>"domains"<span style="color:#25b3c0"> </span><span style="color:#27b41c">default</span><span style="color:#000000">=</span>"deny"<span style="color:#25b3c0">></span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><!-- domain= is special it scans the domain from the directory to build the ACL --></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><span style="color:#25b3c0"><node </span><span style="color:#27b41c">type</span><span style="color:#000000">=</span>"allow"<span style="color:#25b3c0"> </span><span style="color:#27b41c">domain</span><span style="color:#000000">=</span>"$${domain}"<span style="color:#25b3c0">/></span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><span style="color:#25b3c0"><node </span><span style="color:#27b41c">type</span><span style="color:#000000">=</span>"allow"<span style="color:#25b3c0"> </span><span style="color:#27b41c">cidr</span><span style="color:#000000">=</span>"<a href="http://192.168.21.1/32" target="_blank">192.168.21.1/32</a>"<span style="color:#25b3c0">/></span></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(77,44,220);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><!-- use cidr= if you wish to allow ip ranges to this domains acl. --></div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(189,50,27);background-color:rgb(255,245,152)"><span style="color:#000000"> </span><span style="color:#25b3c0"><node </span><span style="color:#27b41c">type</span><span style="color:#000000">=</span>"allow"<span style="color:#25b3c0"> </span><span style="color:#27b41c">cidr</span><span style="color:#000000">=</span>"<a href="http://192.168.21.0/24" target="_blank">192.168.21.0/24</a>"<span style="color:#25b3c0">/></span></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</blockquote>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>