[Freeswitch-users] Internal IP showing in SDP

Matt Broad matt at inveroak.com
Tue Aug 19 18:20:22 MSD 2014


Hi,

does it make any difference if my internal IP address is being sent in 
the SDP connection information?  I have 2 sip providers where 1 I can 
bridge calls and receive audio and 1 that I can bridge calls but get no 
audio.

Even with the below settings the SDP message body contains c=IN IP4 
192.168.1.1.

I have vars set as:
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=my.ip.goes.here"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=my.ip.goes.here"/>

I have setup the external profile as follows:
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

running sofia status profile external gives (replace 0.0.0.0 with the 
real external IP declared in vars):
=================================================================================================
Name                    external
Domain Name             N/A
Auto-NAT                false
DBName                  sofia_reg_external
Pres Hosts
Dialplan                XML
Context                 public
Challenge Realm         auto_to
RTP-IP                  192.168.1.1
Ext-RTP-IP              0.0.0.0
SIP-IP                  192.168.1.1
Ext-SIP-IP              0.0.0.0
URL                     sip:mod_sofia at 0.0.0.0:5080
BIND-URL sip:mod_sofia at 0.0.0.0:5080;maddr=192.168.1.1;transport=udp,tcp
WS-BIND-URL             sip:mod_sofia at 192.168.1.1:5086;transport=ws
HOLD-MUSIC              local_stream://moh
OUTBOUND-PROXY          N/A
CODECS IN               G722,PCMU,PCMA,GSM
CODECS OUT              PCMU,PCMA,GSM
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                8
FAILED-CALLS-IN         1
CALLS-OUT               8
FAILED-CALLS-OUT        1
REGISTRATIONS           0




thanks
Matt




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