[Freeswitch-users] Internal IP showing in SDP

Brian West brian at freeswitch.org
Tue Aug 19 20:06:02 MSD 2014


Can you try prefixing the ext-rtp-ip and ext-sip-ip with autonat:0.0.0.0
 and make sure local-network-acl is set to rfc1918.auto?


On Tue, Aug 19, 2014 at 9:20 AM, Matt Broad <matt at inveroak.com> wrote:

> 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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at 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*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140819/ba155fd4/attachment.html 


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