weird bridge dialstring
Hello guys, 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 USERS(192.168.2.X)->DEBIAN HOST(192.168.2.201)-->FREESWITCH( 10.0.2.15/ext-sip-ip 192.168.2.201) I forwarded all packets to the vm, i can register without issues. these are the 2 registered users: freeswitch@jessie> sofia status profile internal reg Registrations: ================================================================================================= Call-ID: MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE. User: 1000@192.168.2.201 Contact: "" <sip:1000@81.38.181.133:57696 ;rinstance=568188b5832429a3;transport=TCP> Agent: Z 3.3.21933 r21903 Status: Registered(TCP)(unknown) EXP(2018-01-26 14:58:34) EXPSECS(2863) Ping-Status: Reachable Ping-Time: 0.00 Host: jessie IP: 10.0.2.2 Port: 65038 Auth-User: 1000 Auth-Realm: 192.168.2.201 MWI-Account: 1000@192.168.2.201 Call-ID: MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE. User: 1000@10.0.2.15 Contact: "" <sip:1000@81.38.181.133:57696 ;rinstance=568188b5832429a3;transport=TCP> Agent: Z 3.3.21933 r21903 Status: Registered(TCP)(unknown) EXP(2018-01-26 15:11:12) EXPSECS(3621) Ping-Status: Reachable Ping-Time: 0.00 Host: jessie IP: 10.0.2.2 Port: 65140 Auth-User: 1000 Auth-Realm: 192.168.2.201 MWI-Account: 1000@10.0.2.15 Total items returned: 2 ================================================================================================= But for some reason they can't call each other, i think FS is confused in terms of IPs. I have in internal.xml the ext-sip-ip properly. freeswitch@jessie> sofia xmlstatus profile internal ... <rtp-ip>10.0.2.15</rtp-ip> <ext-rtp-ip>192.168.2.201</ext-rtp-ip> <sip-ip>10.0.2.15</sip-ip> <ext-sip-ip>192.168.2.201</ext-sip-ip> But doing: originate user/1000 &echo() returns USER_NOT_REGISTERED 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. Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 ᐧ
First off having rfc1918 in both those has never been tested, And have you tried user/1000@192.168.2.201? On Fri, Jan 26, 2018 at 8:16 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
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
USERS(192.168.2.X)->DEBIAN HOST(192.168.2.201)-->FREESWITCH( 10.0.2.15/ext-sip-ip 192.168.2.201)
I forwarded all packets to the vm, i can register without issues.
these are the 2 registered users:
freeswitch@jessie> sofia status profile internal reg
Registrations: ============================================================ ===================================== Call-ID: MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE. User: 1000@192.168.2.201 Contact: "" <sip:1000@81.38.181.133:57696;rinstance=568188b5832429a3; transport=TCP> Agent: Z 3.3.21933 r21903 Status: Registered(TCP)(unknown) EXP(2018-01-26 14:58:34) EXPSECS(2863) Ping-Status: Reachable Ping-Time: 0.00 Host: jessie IP: 10.0.2.2 Port: 65038 Auth-User: 1000 Auth-Realm: 192.168.2.201 MWI-Account: 1000@192.168.2.201
Call-ID: MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE. User: 1000@10.0.2.15 Contact: "" <sip:1000@81.38.181.133:57696;rinstance=568188b5832429a3; transport=TCP> Agent: Z 3.3.21933 r21903 Status: Registered(TCP)(unknown) EXP(2018-01-26 15:11:12) EXPSECS(3621) Ping-Status: Reachable Ping-Time: 0.00 Host: jessie IP: 10.0.2.2 Port: 65140 Auth-User: 1000 Auth-Realm: 192.168.2.201 MWI-Account: 1000@10.0.2.15
Total items returned: 2 ============================================================ =====================================
But for some reason they can't call each other, i think FS is confused in terms of IPs.
I have in internal.xml the ext-sip-ip properly.
freeswitch@jessie> sofia xmlstatus profile internal ... <rtp-ip>10.0.2.15</rtp-ip> <ext-rtp-ip>192.168.2.201</ext-rtp-ip> <sip-ip>10.0.2.15</sip-ip> <ext-sip-ip>192.168.2.201</ext-sip-ip>
But doing:
originate user/1000 &echo()
returns
USER_NOT_REGISTERED
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.
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 <+34%20669%2044%2083%2037> ᐧ
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image: color-twitter-96.png] <https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
participants (2)
-
Brian West
-
David Villasmil