<div dir="ltr">if you dont need actual detection you can skip it with nocng and jump right into the processing,  <div style>You&#39;ll have to eyeball it but it should detect it right away, take note of it by watching the logs.</div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 4:22 PM, Spencer Thomason <span dir="ltr">&lt;<a href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I tried tweaking this and it didn&#39;t seem to have any effect.  I&#39;m calling t38_gateway like this:<div>
&lt;action application=&quot;set&quot; data=&quot;execute_on_answer=t38_gateway self&quot;/&gt;</div><div>before the bridge.</div><div><br></div><div>Is there anything I should be doing to speed up the detection?  I should note that is on the receiving end.</div>
<div><br></div><div>The re-invite from rxfax worked without a hitch.  Would this suggest the default req_counter value is ok?</div><div><div class="h5"><div><br></div><div><br><div><div>On Dec 21, 2012, at 9:12 AM, Anthony Minessale wrote:</div>
<br><blockquote type="cite"><div dir="ltr">you can tweak mod_spandsp_fax.c:1391<div><br></div><div>req_counter is how many packets to wait before sending re-invite.</div><div><br></div><div>You can play with reducing this number and if its effective it could be made into a configurable param.</div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 10:42 AM, Spencer Thomason <span dir="ltr">&lt;<a href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:sans-serif;font-size:16px">Hi Steve,<br>That was my take as well.   I&#39;ve posted packet captures and logs here:<br>

<a href="http://jira.freeswitch.org/browse/FS-4957" target="_blank">http://jira.freeswitch.org/browse/FS-4957</a><br><br>Is there any way to speed up the ReINVITE?<br><br>Thanks,<br>Spencer</div><br><br>-----Original message-----<br>

<blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;padding-left:5px"><div style="font-family:sans-serif;font-size:14px"><b>From: </b>Steve Underwood &lt;<a href="mailto:steveu@coppice.org" target="_blank">steveu@coppice.org</a>&gt;<b><br>

To: </b><a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><b><br>Sent: </b>Fri, Dec 21, 2012 09:57:07 GMT+00:00<b><br>Subject: </b>Re: [Freeswitch-users] t.38 Call Flow Information<br>

<br></div><div><div>Hi,<br><br>It looks like your reinvite occurred extremely late, and the FAX was <br>already deep in progress as an audio exchange.<br><br>Steve<br><br><br>On 12/21/2012 03:14 AM, Spencer Thomason wrote:<br>

&gt; Hello,<br>&gt; I&#39;ve been analyzing some Wireshark traces to get a better grasp on the t.38 gateway process.  I&#39;m using t38_gateway to convert SIP t38 to TDM audio on the receiving end.  I&#39;m struggling to understand the following call flow.  I&#39;ve excluded the audio portion for brevity but t38 is negotiated correctly by both endpoints (FS on our end and Acme on the other).  Note the absence of a DIS message and the PPS prior to CFR.  Can anyone shed any light on this?<br>

&gt;<br>&gt; Thanks in advance,<br>&gt; Spencer<br>&gt;<br>&gt;<br>&gt; Acme                                                                                FreeSWITCH<br>&gt; |1716.691635|         INVITE SDP (t38)               |                   |SIP Request<br>

&gt; |         |(5060)   &lt;------------------  (5070)   |                   |<br>&gt; |1716.719556|         100 trying -- your call is important to us          |                   |SIP Status<br>&gt; |         |(5060)   ------------------&gt;  (5070)   |                   |<br>

&gt; |1716.830431|                   |         no-signal |                   |t38:t30 Ind:no-signal<br>&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>&gt; |1716.906132|         200 OK SDP (t38)              |                   |SIP Status<br>

&gt; |         |(5060)   ------------------&gt;  (5070)   |                   |<br>&gt; |1716.912839|         ACK       |                   |                   |SIP Request<br>&gt; |         |(5060)   &lt;------------------  (5070)   |                   |<br>

&gt; |1716.973011|                   |         no-signal |                   |t38:t30 Ind:no-signal<br>&gt; |         |                   |(21440)  ------------------&gt;  (15876)  |<br>&gt; |1717.450595|                   |         v21-preamble                  |t38:t30 Ind:v21-preamble<br>

&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>&gt; |1717.730869|                   |         PPS       |                   |t38:v21:HDLC:Partial Page Signal<br>&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>

&gt; |1717.780811|                   |         no-signal |                   |t38:t30 Ind:no-signal<br>&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>&gt; |1718.130798|                   |         v17-14400-long-training          |t38:t30 Ind:v17-14400-long-training<br>

&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>&gt; |1719.541095|                   |         t4-non-ecm-data:v17-14400          |t38:t4-non-ecm-data:v17-14400 Duration: 1.51s No packet lost<br>

&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>&gt; |1721.060850|                   |         no-signal |                   |t38:t30 Ind:no-signal<br>&gt; |         |                   |(21440)  &lt;------------------  (15876)  |<br>

&gt; |1722.573572|                   |         v21-preamble                  |t38:t30 Ind:v21-preamble<br>&gt; |         |                   |(21440)  ------------------&gt;  (15876)  |<br>&gt; |1723.593652|                   |         CFR       |                   |t38:v21:HDLC:Confirmation To Receive<br>

&gt; _________________________________________________________________________<br>&gt; Professional FreeSWITCH Consulting Services:<br>&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>

&gt; <a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>&gt;<br>&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>&gt; <a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>

&gt;<br>&gt; Official FreeSWITCH Sites<br>&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt; <a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>

&gt; <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>&gt;<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>

&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br><br><br>_________________________________________________________________________<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/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>

<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>

<a href="http://www.cluecon.com/" 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.freeswitch.org</a><br>

<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br></div></div></blockquote></div>
<br>_________________________________________________________________________<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/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:<a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a>
</div>
_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>