<div dir="ltr"><div>Hello guys,</div><div><br></div><div>I've got a test box locally installed, with ip 192.168.2.201. This box has a VM running with FS with ip 10.0.2.15. And users are on network 192.168.2.X</div><div><br></div><div><br></div><div>USERS(192.168.2.X)->DEBIAN HOST(192.168.2.201)-->FREESWITCH(<a href="http://10.0.2.15/ext-sip-ip">10.0.2.15/ext-sip-ip</a> 192.168.2.201)</div><div><br></div><div>I forwarded all packets to the vm, i can register without issues.</div><div><br></div><div>these are the 2 registered users:</div><div><br></div><div><div><font face="monospace, monospace" size="1">freeswitch@jessie> sofia status profile internal reg</font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">Registrations:</font></div><div><font face="monospace, monospace" size="1">=================================================================================================</font></div><div><font face="monospace, monospace" size="1">Call-ID:    <span style="white-space:pre">        </span>MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE.</font></div><div><font face="monospace, monospace" size="1">User:       <span style="white-space:pre">        </span><a href="mailto:1000@192.168.2.201">1000@192.168.2.201</a></font></div><div><font face="monospace, monospace" size="1">Contact:    <span style="white-space:pre">      </span>"" <sip:1000@81.38.181.133:57696;rinstance=568188b5832429a3;transport=TCP></font></div><div><font face="monospace, monospace" size="1">Agent:      <span style="white-space:pre">   </span>Z 3.3.21933 r21903</font></div><div><font face="monospace, monospace" size="1">Status:     <span style="white-space:pre">   </span>Registered(TCP)(unknown) EXP(2018-01-26 14:58:34) EXPSECS(2863)</font></div><div><font face="monospace, monospace" size="1">Ping-Status:<span style="white-space:pre"> </span>Reachable</font></div><div><font face="monospace, monospace" size="1">Ping-Time:<span style="white-space:pre"> </span>0.00</font></div><div><font face="monospace, monospace" size="1">Host:       <span style="white-space:pre">        </span>jessie</font></div><div><font face="monospace, monospace" size="1">IP:         <span style="white-space:pre">     </span>10.0.2.2</font></div><div><font face="monospace, monospace" size="1">Port:       <span style="white-space:pre">    </span>65038</font></div><div><font face="monospace, monospace" size="1">Auth-User:  <span style="white-space:pre">  </span>1000</font></div><div><font face="monospace, monospace" size="1">Auth-Realm: <span style="white-space:pre">    </span>192.168.2.201</font></div><div><font face="monospace, monospace" size="1">MWI-Account:<span style="white-space:pre">   </span><a href="mailto:1000@192.168.2.201">1000@192.168.2.201</a></font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">Call-ID:    <span style="white-space:pre">   </span>MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE.</font></div><div><font face="monospace, monospace" size="1">User:       <span style="white-space:pre">        </span><a href="mailto:1000@10.0.2.15">1000@10.0.2.15</a></font></div><div><font face="monospace, monospace" size="1">Contact:    <span style="white-space:pre">      </span>"" <sip:1000@81.38.181.133:57696;rinstance=568188b5832429a3;transport=TCP></font></div><div><font face="monospace, monospace" size="1">Agent:      <span style="white-space:pre">   </span>Z 3.3.21933 r21903</font></div><div><font face="monospace, monospace" size="1">Status:     <span style="white-space:pre">   </span>Registered(TCP)(unknown) EXP(2018-01-26 15:11:12) EXPSECS(3621)</font></div><div><font face="monospace, monospace" size="1">Ping-Status:<span style="white-space:pre"> </span>Reachable</font></div><div><font face="monospace, monospace" size="1">Ping-Time:<span style="white-space:pre"> </span>0.00</font></div><div><font face="monospace, monospace" size="1">Host:       <span style="white-space:pre">        </span>jessie</font></div><div><font face="monospace, monospace" size="1">IP:         <span style="white-space:pre">     </span>10.0.2.2</font></div><div><font face="monospace, monospace" size="1">Port:       <span style="white-space:pre">    </span>65140</font></div><div><font face="monospace, monospace" size="1">Auth-User:  <span style="white-space:pre">  </span>1000</font></div><div><font face="monospace, monospace" size="1">Auth-Realm: <span style="white-space:pre">    </span>192.168.2.201</font></div><div><font face="monospace, monospace" size="1">MWI-Account:<span style="white-space:pre">   </span><a href="mailto:1000@10.0.2.15">1000@10.0.2.15</a></font></div><div><font face="monospace, monospace" size="1"><br></font></div><div><font face="monospace, monospace" size="1">Total items returned: 2</font></div><div><font face="monospace, monospace" size="1">=================================================================================================</font></div></div><div><br></div><div>But for some reason they can't call each other, i think FS is confused in terms of IPs.</div><div><br></div><div>I have in internal.xml the ext-sip-ip properly.</div><div><br></div><div><br></div><div><font face="monospace, monospace">freeswitch@jessie> sofia xmlstatus profile internal</font><br></div><div><font face="monospace, monospace">...</font></div><div><div><font face="monospace, monospace">    <rtp-ip>10.0.2.15</rtp-ip></font></div><div><font face="monospace, monospace">    <ext-rtp-ip>192.168.2.201</ext-rtp-ip></font></div><div><font face="monospace, monospace">    <sip-ip>10.0.2.15</sip-ip></font></div><div><font face="monospace, monospace">    <ext-sip-ip>192.168.2.201</ext-sip-ip></font></div></div><div><br></div><div>But doing:</div><div><br></div><div><font face="monospace, monospace">originate user/1000 &echo()</font><br></div><div><br></div><div>returns </div><div><br></div><div><font face="monospace, monospace">USER_NOT_REGISTERED</font></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br></div><div>I understand it's a weird setup, but help is appreciated, or else i'll just usa an aws instance, but i'm wondering what's confusing FS.</div><div><br></div><div><br></div><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div>
</div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=4d304f66-724c-42e2-ac80-2951e2673853"><font color="#ffffff" size="1">ᐧ</font></div>