<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Brian,<br>
    <br>
    it seems that this was not the issue.<br>
    <br>
    Some more details:<br>
    We have an opensips server using the load_balancer module to route
    the calls to the freeswitch box.
    (<a class="moz-txt-link-freetext" href="https://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS">https://wiki.freeswitch.org/wiki/Enterprise_deployment_OpenSIPS</a>)<br>
    When I route the calls directly to the freeswitch's external IP, the
    calls connect fine and have audio.<br>
    However when I route the calls to the opensips server first, the
    call will connect but without audio. <br>
    <br>
    The strange thing is Opensips uses Freeswitch's internal address
    (from the load_balancer table) to forward the INVITE packet, yet
    when the ACK packet comes in from the provider opensips tries to
    forward it to the FS external IP address rather than the internal
    IP.<br>
    <br>
    I understand this is probably more an opensips question, so will
    understand if I should post this to their mailing list, but any tips
    would be appreciated. <br>
    <br>
    <br>
    thanks<br>
    Matt<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 19/08/2014 17:25, Matt Broad wrote:<br>
    </div>
    <blockquote cite="mid:53F37A8B.9010202@inveroak.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      thanks brian, will give it a go and see what happens.<br>
      <br>
      thanks<br>
      Matt<br>
      <div class="moz-cite-prefix">On 19/08/2014 17:06, Brian West
        wrote:<br>
      </div>
      <blockquote
cite="mid:CAEJMVkDiCiFo2H_NuhpwOsu73JHNOTU_76SFR0a0sNq0DrDJww@mail.gmail.com"
        type="cite">
        <div dir="ltr">Can you try prefixing the ext-rtp-ip and
          ext-sip-ip with autonat:0.0.0.0 &nbsp;and make sure
          local-network-acl is set to rfc1918.auto?</div>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Tue, Aug 19, 2014 at 9:20 AM, Matt
            Broad <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:matt@inveroak.com" target="_blank">matt@inveroak.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
              <br>
              does it make any difference if my internal IP address is
              being sent in<br>
              the SDP connection information?&nbsp; I have 2 sip providers
              where 1 I can<br>
              bridge calls and receive audio and 1 that I can bridge
              calls but get no<br>
              audio.<br>
              <br>
              Even with the below settings the SDP message body contains
              c=IN IP4<br>
              192.168.1.1.<br>
              <br>
              I have vars set as:<br>
              &lt;X-PRE-PROCESS cmd="set"
              data="external_rtp_ip=my.ip.goes.here"/&gt;<br>
              &lt;X-PRE-PROCESS cmd="set"
              data="external_sip_ip=my.ip.goes.here"/&gt;<br>
              <br>
              I have setup the external profile as follows:<br>
              &lt;param name="ext-rtp-ip"
              value="$${external_rtp_ip}"/&gt;<br>
              &lt;param name="ext-sip-ip"
              value="$${external_sip_ip}"/&gt;<br>
              <br>
              running sofia status profile external gives (replace
              0.0.0.0 with the<br>
              real external IP declared in vars):<br>
=================================================================================================<br>
              Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external<br>
              Domain Name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N/A<br>
              Auto-NAT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; false<br>
              DBName&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sofia_reg_external<br>
              Pres Hosts<br>
              Dialplan&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; XML<br>
              Context&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;public<br>
              Challenge Realm&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;auto_to<br>
              RTP-IP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.1<br>
              Ext-RTP-IP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0<br>
              SIP-IP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.1<br>
              Ext-SIP-IP&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0<br>
              URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
                href="http://sip:mod_sofia@0.0.0.0:5080" target="_blank">sip:mod_sofia@0.0.0.0:5080</a><br>
              BIND-URL <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
href="mailto:sip:mod_sofia@0.0.0.0:5080;maddr=192.168.1.1;transport=udp,tcp">sip:mod_sofia@0.0.0.0:5080;maddr=192.168.1.1;transport=udp,tcp</a><br>
              WS-BIND-URL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:sip:mod_sofia@192.168.1.1:5086;transport=ws">sip:mod_sofia@192.168.1.1:5086;transport=ws</a><br>
              HOLD-MUSIC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; local_stream://moh<br>
              OUTBOUND-PROXY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; N/A<br>
              CODECS IN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;G722,PCMU,PCMA,GSM<br>
              CODECS OUT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PCMU,PCMA,GSM<br>
              TEL-EVENT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;101<br>
              DTMF-MODE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rfc2833<br>
              CNG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;13<br>
              SESSION-TO&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br>
              MAX-DIALOG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br>
              NOMEDIA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;false<br>
              LATE-NEG&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; true<br>
              PROXY-MEDIA&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;false<br>
              ZRTP-PASSTHRU&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;true<br>
              AGGRESSIVENAT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;false<br>
              CALLS-IN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8<br>
              FAILED-CALLS-IN&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1<br>
              CALLS-OUT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8<br>
              FAILED-CALLS-OUT&nbsp; &nbsp; &nbsp; &nbsp; 1<br>
              REGISTRATIONS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br>
              <br>
              <br>
              <br>
              <br>
              thanks<br>
              Matt<br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <p><font face="courier new, monospace"><b><i><font size="4">Brian

                      West</font></i></b><br>
                <span style="font-size:x-small"><a
                    moz-do-not-send="true"
                    href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
            <p><font size="1" face="courier new, monospace"><img
                  moz-do-not-send="true"
                  src="http://bkw.org/whmcslogo.png"><br>
              </font></p>
            <p><font face="courier new, monospace"><b><i>Twitter:
                    @FreeSWITCH , @briankwest</i></b><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
                <a moz-do-not-send="true"
                  href="http://www.freeswitchcookbook.com"
                  target="_blank">http://www.freeswitchcookbook.com</a></font></p>
            <p><font face="courier new, monospace"><b>T:</b>+19184209001
                | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br>
                <b>iNUM:</b>+883 5100 1420 9001 |&nbsp;<b>ISN:</b>410*543 |&nbsp;<b>Skype:</b>briankwest</font></p>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>