Hi,
So, after not using freeswitch for a few years, I just did a clean
install of Freeswitch 1.8.6 on debian 9 using packages from the repo
and have a small issue maybe someone can help me with.
I'm using the vanilla config here to keep it simple, also Freeswitch
is started with -nonat.
The problem I encountered is the contact field for local calls (on the
same IP subnet as freeswitch) on the internal profile contains the
external IP address which makes the phone send the response to the
wrong IP. You can find attached a complete debug log with sip trace of
a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65).
Freeswitch is 192.168.0.140.
The profile contains the default params:
<param name="rtp-ip" value="$${local_ip_v4}"/>
<param name="sip-ip" value="$${local_ip_v4}"/>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_rtp_ip}"/>
This is what I get from sofia status:
freeswitch@deb9> sofia status profile internal
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT false
DBName sofia_reg_internal
Pres Hosts 192.168.0.140,192.168.0.140
Dialplan XML
Context public
Challenge Realm auto_from
RTP-IP 192.168.0.140
Ext-RTP-IP 93.86.XX.XX
SIP-IP 192.168.0.140
Ext-SIP-IP 93.86.XX.XX
URL sip:mod_sofia@93.86.XX.XX:5060
BIND-URL
sip:mod_sofia@93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp
WS-BIND-URL sip:mod_sofia@192.168.0.140:5066;transport=ws
WSS-BIND-URL sips:mod_sofia@192.168.0.140:7443;transport=wss
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8
CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
ZRTP-PASSTHRU true
AGGRESSIVENAT false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 2
Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip
params from the config it works, but am I missing something obvious or
is this a bug?
--
Dušan Dragić
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com