[Freeswitch-users] weird bridge dialstring

David Villasmil david.villasmil.work at gmail.com
Fri Jan 26 14:16:01 UTC 2018


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 at jessie> sofia status profile internal reg

Registrations:
=================================================================================================
Call-ID:    MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE.
User:        1000 at 192.168.2.201
Contact:    "" <sip:1000 at 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 at 192.168.2.201

Call-ID:    MTVjZTc4Zjg2MmJmNDU0ZDI1ZTRhZjkyZWE1NGI2NWE.
User:        1000 at 10.0.2.15
Contact:    "" <sip:1000 at 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 at 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 at 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 at gmail.com
phone: +34669448337
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180126/47ba6341/attachment.html>


More information about the FreeSWITCH-users mailing list