<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks,<br>
      <br>
      by the way, we found out in further testing, when setting RTP
      ports to 65000+, this error went away.<br>
      <br>
      But anyway, we will have to update/recompile Freeswitch.<br>
      <br>
      <br>
      <br>
      Best regards<br>
      Peter<br>
      On 12/01/16 17:21, Brian West wrote:<br>
    </div>
    <blockquote
cite="mid:CAEJMVkCj7baOj16UVYdz5KczoL6Ls_2=Rg9YL8nVmoG1tFi9iA@mail.gmail.com"
      type="cite">
      <div dir="ltr">You're on an older release, we've fixed this
        already.
        <div><br>
        </div>
        <div>/b</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Dec 1, 2016 at 8:48 AM, Peter
          Steinbach <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:lists@telefaks.de" target="_blank">lists@telefaks.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div id="m_-8539583525953535539magicdomid9"><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">Hello,<br>
                  <br>
                  I have a strange error when proyy-media T38 faxes.<br>
                  Freeswitch is behind NAT (internal </span><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z"><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">192.168.12.248</span>,
                  external </span><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z"><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">5.10.xxx.yyy)</span>,
                  other, receiving Server is also a Freeswitch<br>
                  <br>
                  A connection is made via G.711A, we hear the machines
                  negociating, then we receive a T.38 reinvite from the
                  remote Freeswitch server.<br>
                  The local ATA 30@ reponds with T38 SDP, Freeswitch is
                  passing it to the remote site (and there the error
                  occurs). See error in bold:<br>
                </span><br>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid34"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                      15:28:55.534228 [DEBUG] sofia.c:6937 Channel <a
                        moz-do-not-send="true"
                        class="m_-8539583525953535539moz-txt-link-abbreviated"
                        href="mailto:sofia/internal/30@192.168.12.248"
                        target="_blank">sofia/internal/30@192.168.12.<wbr>248</a>
                      entering state [completing][200]</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid35"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                      15:28:55.534228 [DEBUG] sofia.c:6944 Duplicate SDP</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid36"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">v=0</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid37"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">o=30

                      8002 8001 IN IP4 192.168.12.99</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid38"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">s=SIP

                      Call</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid39"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">c=IN

                      IP4 192.168.12.99</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid40"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">t=0
                      0</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid41"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">m=image

                      5012 udptl t38</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid42"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxVersion:0</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid43"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38MaxBitRate:14400</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid44"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxRateManagement:<wbr>transferredTCF</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid45"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxMaxBuffer:500</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid46"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxMaxDatagram:500</span></tt></div>
                <div class="m_-8539583525953535539ace-line"
                  id="m_-8539583525953535539magicdomid47"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxUdpEC:t38UDPRedundancy<br>
                      <br>
                    </span></tt></div>
                <tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                    15:28:55.534228 [DEBUG] sofia.c:6937 Channel <a
                      moz-do-not-send="true"
                      class="m_-8539583525953535539moz-txt-link-abbreviated"
                      href="mailto:sofia/internal/30@192.168.12.248"
                      target="_blank">sofia/internal/30@192.168.12.<wbr>248</a>
                    entering state [ready][200]</span></tt></div>
              <div id="m_-8539583525953535539magicdomid10"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                    15:28:55.554501 [DEBUG] mod_sofia.c:2088 Responding
                    with 200 [OK]</span></tt></div>
              <div id="m_-8539583525953535539magicdomid11"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                    15:28:55.554501 [DEBUG] switch_core_media.c:8955
                    sofia/external/0403801xxxxxxx image media sdp:</span></tt></div>
              <div id="m_-8539583525953535539magicdomid12"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">v=0</span></tt></div>
              <div id="m_-8539583525953535539magicdomid13"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">o=FreeSWITCH

                    1480572959 1480572961 IN IP4 5.10.xxx.yyy</span></tt></div>
              <div id="m_-8539583525953535539magicdomid14"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">s=FreeSWITCH</span></tt></div>
              <div id="m_-8539583525953535539magicdomid15"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">c=IN

                    IP4 5.10.xxx.yyy</span></tt></div>
              <div id="m_-8539583525953535539magicdomid16"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">t=0
                    0</span></tt></div>
              <div id="m_-8539583525953535539magicdomid17"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">m=image

                    29544 udptl t38</span></tt></div>
              <div id="m_-8539583525953535539magicdomid18"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxVersion:0</span></tt></div>
              <div id="m_-8539583525953535539magicdomid19"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38MaxBitRate:14400</span></tt></div>
              <div id="m_-8539583525953535539magicdomid20"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxRateManagement:<wbr>transferredTCF</span></tt></div>
              <div id="m_-8539583525953535539magicdomid21"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxMaxBuffer:500</span></tt></div>
              <div id="m_-8539583525953535539magicdomid22"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxMaxDatagram:500</span></tt></div>
              <div id="m_-8539583525953535539magicdomid23"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">a=T38FaxUdpEC:t38UDPRedundancy</span></tt></div>
              <div id="m_-8539583525953535539magicdomid24"><tt><br>
                </tt></div>
              <div id="m_-8539583525953535539magicdomid25"><tt><b><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                      15:28:55.554501 [ERR] switch_rtp.c:6420 Poll
                      failed with error: 9 [Bad file descriptor]</span></b></tt></div>
              <div id="m_-8539583525953535539magicdomid26"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01


                    15:28:55.554501 [DEBUG] switch_ivr_bridge.c:712
                    sofia/external/0403801xxxxxxx ending bridge by
                    request from read function</span></tt></div>
              <div id="m_-8539583525953535539magicdomid27"><tt><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z">2016-12-01

                    15:28:55.554501 [DEBUG] switch_ivr_bridge.c:785
                    BRIDGE THREAD DONE [sofia/external/<wbr>0403801xxxxxxx]</span></tt></div>
              <div id="m_-8539583525953535539magicdomid28"><span
class="m_-8539583525953535539author-a-nz78zpo6yz73z1gz65zvz70z8z66zz89zz70z"><tt>2016-12-01


                    15:28:55.554501 [NOTICE] switch_ivr_bridge.c:889
                    Hangup sofia/external/0403801xxxxxxx
                    [CS_EXCHANGE_MEDIA] [NORMAL_CLEAR</tt><tt><br>
                  </tt><br>
                  Some background Info:<br>
                </span>
                <ul>
                  <li>Freeswitch runs in LXC environment</li>
                  <li>Freeswitch runs as non-priviledged user.</li>
                </ul>
                <p>What is the cause of this? Maybe a problem with port
                  29544? But port 29544 was already previously used with
                  G.711A.<span class="HOEnZb"><font color="#888888"><br>
                      <br>
                    </font></span></p>
                <span class="HOEnZb"><font color="#888888"> </font></span></div>
              <span class="HOEnZb"><font color="#888888">
                  <pre class="m_-8539583525953535539moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a moz-do-not-send="true" class="m_-8539583525953535539moz-txt-link-freetext" href="mailto:lists" target="_blank">mailto:lists</a> (att) <a moz-do-not-send="true" href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a moz-do-not-send="true" class="m_-8539583525953535539moz-txt-link-abbreviated" href="http://www.telefaks.de" target="_blank">www.telefaks.de</a>

</pre>
                </font></span></div>
            <br>
            ______________________________<wbr>______________________________<wbr>_____________<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" rel="noreferrer"
              target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" target="_blank">http://www.cluecon.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.<wbr>freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <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 face="courier new,
                                        monospace" size="1"><img
                                          moz-do-not-send="true"
                                          src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br>
                                      </font></p>
                                    <p><font face="monospace, monospace"
                                        size="2"><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>&nbsp;(50%
                                        Discount using code
                                        FreeSwitch50)<br>
                                        <a moz-do-not-send="true"
                                          href="http://www.freeswitchcookbook.com"
                                          target="_blank">http://www.freeswitchcookbook.com</a>&nbsp;</font><span
style="font-family:monospace,monospace;font-size:small">(50% Discount
                                        using code FreeSwitch50)</span><font
                                        face="monospace, monospace"
                                        size="2"><br>
                                      </font><a moz-do-not-send="true"
                                        href="https://www.gofundme.com/freeswitch_ubuntu"
                                        style="font-size:12.8px"
                                        target="_blank"><font
                                          face="monospace, monospace">https://www.gofundme.com/freeswitch_ubuntu</font></a></p>
                                    <p><font face="monospace, monospace">Got
                                        Bugs? Report them <a
                                          moz-do-not-send="true"
                                          href="https://freeswitch.org/jira"
                                          target="_blank">here</a>! |
                                        Reddit:&nbsp;<a
                                          moz-do-not-send="true"
                                          href="https://www.reddit.com/r/freeswitch"
                                          target="_blank">/r/freeswitch</a></font></p>
                                    <p><font face="monospace, monospace"
                                        size="2"><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>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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-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>
    <br>
    <pre class="moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a>

</pre>
  </body>
</html>