<div dir="ltr">Hi Brian/Peter<div><br></div><div>Sorry to jump in on your thread! </div><div><br></div><div>Brian I have a use case that I&#39;m having some trouble with - what do I need to do in this scenario:</div><div><br></div><div>Carrier sends call to FS (g711) </div><div>FS sends call to endpoint (g711)</div><div>endpoint answers then quickly sends a T38 (RE)INVITE back to FS</div><div><br></div><div>So in this case we would like to accept this customer (re)invite - do T38 with the customer endpoint and transcode that to 711 back to the A leg with the carrier.</div><div><br></div><div>I&#39;ve tried every combination of dialplan / parameters from the T38 bits at <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_spandsp">https://freeswitch.org/confluence/display/FREESWITCH/mod_spandsp</a> and they mostly result in FS sending a not acceptable here back to the T38 invite.</div><div><br></div><div><br></div><div>Thanks,</div><div>Brian</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 24, 2017 at 7:52 AM, Peter Steinbach <span dir="ltr">&lt;<a 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 class="m_1042286178970209121moz-cite-prefix">Hello Brian,<br>
      <br>
      this Version of Freeswitch is from 09-Feb-2016. So I think, we
      should update.<br>
      <br>
      We need to cover 2 scenarios<br>
      <ul>
        <li>send fax to SIP Provider(b leg) and have T.38 Re-invite from
          SIP Provider and pass it to a-leg</li>
        <li>send fax to SIP Provider(b leg), do NOT receive T.38
          Re-invite from SIP Provider and then do T.38 Gateway in FS.<br>
        </li>
      </ul>
      And no: We cannot foresee, whether the SIp provider will do T.38
      and not. Here in Germany, the main incumbant PSTN provider did not
      implement T.38, so it depends on the target number and actual
      route, if this will be T.38 or not. A call to a certain number can
      be T.38 today and tomorrow it will be T.30 only, as some peering
      partner changed the routes in the meantime.<br>
      <br>
      Best regards<br>
      Peter<br>
      <br>
      <br>
      On 02/23/17 20:38, Brian West wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">What revision of FreeSWITCH are you on?  These
        behaviors have been solidified in 1.6.15, Sadly MOST of the
        details of how it all works is locked up in my head, I&#39;ve just
        not had the time to write it all down and update the
        documentation.  Can you outline all the scenarios you need to
        cover and if you have the ability know ahead of time which one
        needs to apply?
        <div><br>
        </div>
        <div>/b</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Feb 23, 2017 at 8:23 AM, Peter
          Steinbach <span dir="ltr">&lt;<a 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"> Hello,<br>
              <br>
              we have the following screnario<br>
              <ul>
                <li>The caller, a local fax machine (Fax, ATA and
                  Freeswitch) with T.38, is behind a slow line so
                  therefore T.38 is needed here</li>
                <li>a central Freeswitch fax server serves as a central
                  gateway to the SIP provider</li>
                <li>the SIP provider sometimes reinvites T.38 and
                  sometimes not.</li>
                <li>In case, the SIP provider does NOT answer with T.38,
                  the central Freeswitch fax server shall act as a T.38
                  gateway and transcode between local fax (T.38) and SIP
                  provider (T.30)</li>
                <li>In case, the SIP provider does answer with T.38, the
                  central Freeswitch fax server shall pass T.38 to the
                  local fax ,machine (T.38)</li>
              </ul>
              <p>How we set this up<br>
              </p>
              <ul>
                <li>according to the wiki we have a dialplan as follows:
                  (this is what CLI shows)<br>
                </li>
              </ul>
              <p><tt>Dialplan: <a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/internalvpn2/49274xxxxx@10.7.0.1" target="_blank">sofia/internalvpn2/49274xxxxx@<wbr>10.7.0.1</a>
                  Action set(fax_enable_t38=true)</tt><tt><br>
                </tt><tt>Dialplan: <a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/internalvpn2/49274xxxxx@10.7.0.1" target="_blank">sofia/internalvpn2/49274xxxxx@<wbr>10.7.0.1</a>
                  Action set(fax_enable_t38_request=tru<wbr>e)</tt><tt><br>
                </tt><tt>Dialplan: <a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/internalvpn2/49274xxxxx@10.7.0.1" target="_blank">sofia/internalvpn2/49274xxxxx@<wbr>10.7.0.1</a>
                  Action set(execute_on_answer=t38_gate<wbr>way self)</tt><tt><br>
                </tt><tt>Dialplan: <a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/internalvpn2/49274xxxxx@10.7.0.1" target="_blank">sofia/internalvpn2/49274xxxxx@<wbr>10.7.0.1</a>
                  Action ring_ready()</tt><tt><br>
                </tt><tt>Dialplan: <a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/internalvpn2/49274xxxxx@10.7.0.1" target="_blank">sofia/internalvpn2/49274xxxxx@<wbr>10.7.0.1</a>
                  Action bridge(<a class="m_1042286178970209121m_4268428807780379530moz-txt-link-abbreviated" href="mailto:sofia/gateway/sip.provider.com/xxxxxxxxxxxxxxx@sip.provider.com" target="_blank">sofia/gateway/sip.provi<wbr>der.com/xxxxxxxxxxxxxxx@sip.<wbr>provider.com</a>)</tt><tt><br>
                </tt></p>
              <p>In all profiles, we have<br>
                <tt>&lt;param name=&quot;t38-passthru&quot; value=&quot;true&quot;/&gt;</tt><br>
              </p>
              <p>In case, the SIP provider does NOT answer with T.38, it
                works. The caller&#39;s side is reinvited with T.38, the SIP
                provider side is T.30<br>
              </p>
              <p>What the problem is: When the SIP provider&#39; side IS
                answering with T.38, then (sometimes, when I send it via
                cli from the local freeswitch near the sending fax
                machine, it works)<br>
              </p>
              <ul>
                <li>caller initiates a call</li>
                <li>call is bridged to the SIP provider&#39; side</li>
                <li>we receive a T.38 Reinvite from the SIP provider&#39;
                  side</li>
                <li>Freeswitch sends Trying back to the the SIP
                  provider&#39; side</li>
                <li>Freeswitch logs: set(execute_on_answer=t38_gate<wbr>way
                  self)<br>
                </li>
                <li>Freeswitch sends a T.38 Reinvite to the caller,
                  establishes T.38 on this side.</li>
                <li>But the T.38 Reinvite from the SIP provider&#39; side is
                  not answerered</li>
                <li>So the SIP provider&#39; sidehangs up after 10 sec of
                  timeout.</li>
              </ul>
              <p>What are we doing wrong here? Is it possible to act as
                a t.38 passthrough router and a T.38 gateway in the same
                dialplan?<span class="m_1042286178970209121HOEnZb"><font color="#888888"><br>
                  </font></span></p>
              <span class="m_1042286178970209121HOEnZb"><font color="#888888">
                  <p><br>
                  </p>
                  <br>
                  <pre class="m_1042286178970209121m_4268428807780379530moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="m_1042286178970209121m_4268428807780379530moz-txt-link-freetext" href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a class="m_1042286178970209121m_4268428807780379530moz-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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
            <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
            <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
            <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
            UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
            <a 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="m_1042286178970209121gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <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 href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
                                    <p><b style="font-family:monospace,monospace;font-size:small"><i>Twitter:
                                          @FreeSWITCH , @briankwest</i></b></p>
                                    <p><font face="monospace, monospace" size="2"><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <br>
                                        <a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.<wbr>com</a><br>
                                        <br>
                                        Allison prompts for FreeSWITCH:</font></p>
                                    <table style="font-size:12.8px" cellpadding="0" cellspacing="0">
                                      <tbody>
                                        <tr>
                                          <td valign="baseline">
                                            <p><span><a href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank"><b>https://www.gofundme.com/<wbr>allison-prompts-for-freeswitch</b></a></span></p>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                    <table cellpadding="0" cellspacing="0">
                                      <tbody>
                                      </tbody>
                                    </table>
                                    <p><span><font face="monospace,
                                          monospace" size="2">Wish to
                                          schedule a meeting?</font></span></p>
                                    <p><span><a href="http://app.timebridge.com/#/meet/freeswitch" target="_blank"><font face="monospace, monospace" size="2">http://app.timebridge.com/#/<wbr>meet/freeswitch</font></a></span></p>
                                    <p><font face="monospace, monospace">Got
                                        Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! |
                                        Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
                                    <p><font face="monospace, monospace" size="2"><b>T:</b><a href="tel:(918)%20420-9001" value="+19184209001" target="_blank">+19184209001</a> |
                                        <b>F:</b><a href="tel:(918)%20420-9002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST
                                        (9378)<br>
                                        <b>Skype:</b>briankwest</font></p>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_1042286178970209121mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a class="m_1042286178970209121moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_1042286178970209121moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>

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

FreeSWITCH-users mailing list
<a class="m_1042286178970209121moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a class="m_1042286178970209121moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a class="m_1042286178970209121moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a class="m_1042286178970209121moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <pre class="m_1042286178970209121moz-signature" cols="72">-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
<a class="m_1042286178970209121moz-txt-link-freetext" href="mailto:lists" target="_blank">mailto:lists</a> (att) <a href="http://telefaks.de" target="_blank">telefaks.de</a>
Internet: <a class="m_1042286178970209121moz-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 href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a 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 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 href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>