[Freeswitch-users] internal 5060 not working.

Joli Martinez mrjoli021 at gmail.com
Tue Jul 14 21:58:10 MSD 2015



I have changed the internal.xml to point to 192.168.21.250 and for some reason the 192.168.1.250 keeps showing up.  Also I need the profile to be on 5060.  I have also changed the vars.xml to show 5060 and nothing.  I have restarted Freeswitch after each change and verified that nothing else is running on 5060.  The server does have two interfaces and the default gw is set to 192.168.21.50.  The 192.168.1.250 is only for out of band management and will not need access to FS.  I have selinux disabled and the iptables stopped as well.  The external is running on 5080 but not the internal.


Sofia status
freeswitch at internal> sofia status 
                     Name	   Type	                                      Data	State
=================================================================================================
            192.168.1.250	  alias	                                  internal	ALIASED
           192.168.21.250	  alias	                                  internal	ALIASED
                 external	profile	          sip:mod_sofia at 1.1.1.1:5080 <http://sip:mod_sofia@1.1.1.1:5080/>	RUNNING (0)
            internal-ipv6	profile	          sip:mod_sofia at 1.1.1.1:5040 <http://sip:mod_sofia@1.1.1.1:5040/>	RUNNING (0)
                 internal	profile	          sip:mod_sofia at 1.1.1.1:5041 <http://sip:mod_sofia@1.1.1.1:5041/>	RUNNING (0)
=================================================================================================
3 profiles 2 aliases


netstat -nat
[root at Switch01 sip_profiles]# netstat -nat | grep 192.168.21.250
tcp        0      0 192.168.21.250:5080 <http://192.168.21.250:5080/>         0.0.0.0:*                   LISTEN   

internal.xml
<!-- port to bind to for sip traffic -->
                <param name="sip-port" value="$${internal_sip_port}"/>
                <!-- <param name="sip-port" value="5060"/> -->
                <param name="dialplan" value="XML"/>
                <param name="dtmf-duration" value="2000"/>
                <param name="inbound-codec-prefs" value="$${global_codec_prefs}"/>
                <param name="outbound-codec-prefs" value="$${global_codec_prefs}"/>
                <param name="rtp-timer-name" value="soft"/>
                <!-- ip address to use for rtp, DO NOT USE HOSTNAMES ONLY IP ADDRESSES -->
                <!-- <param name="rtp-ip" value="$${local_ip_v4}"/> -->
                <param name="rtp-ip" value="192.168.21.250"/>
                <!-- ip address to bind to, DO NOT USE HOSTNAMES ONLY IP ADDRESSES -->
                <!-- <param name="sip-ip" value="$${local_ip_v4}"/> -->
                <param name="sip-ip" value="192.168.21.250"/>


vars.xml
<!-- Internal SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/>
  <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/>
  <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>

  <!-- External SIP Profile -->
  <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
  <X-PRE-PROCESS cmd="set" data="external_sip_port=5080"/>
  <X-PRE-PROCESS cmd="set" data="external_tls_port=5081"/>
  <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>
  <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150714/12f3cf7d/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list