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@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@0.0.0.0:5080 BIND-URL sip:mod_sofia@0.0.0.0:5080;maddr=192.168.1.1;transport=udp,tcp WS-BIND-URL sip:mod_sofia@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@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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 http://www.freeswitch.org
-- *Brian West* brian@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