t38_gateway_detect_timeout var<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 11:12 AM, Weera Suriya <span dir="ltr">&lt;<a href="mailto:weerasuri@gmail.com">weerasuri@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello list,<div>I able to send &amp; receive faxes via SS7 link. but I have a small problem with &quot;switch_core_media_bug&quot;. I noticed &quot;Media bug&quot; activate for first 10 seconds to 20 seconds against SIP channels.</div>

<div>most of our customers use Tele/FAX option on Fax machines. that means ; they answer the call manually (as a voice call) If there was a fax then they activate Fax mode. the problem is FS can&#39;t detect CNG tones after 20 seconds, because &quot;switch_core_media_bug&quot; was removed from the particular channels. If the destination fax machine can generate  CNG tones within 10 ~ 20 seconds Then FS can detect CNG tones and change in to T.38 mode.</div>

<div><br></div><div>is there any way to increase the window of time (switch_core_media_bug)  to listen for the CNG tones on SIP channels? </div><div><br></div><div><div>This is my dialplan for G711(from PSTN/SS7 via SIP) to T.38(to SIP ATAs)</div>

<div>------&gt;8--------</div></div><div><div>    &lt;extension name=&quot;g711_to_t.38&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^1(0\d{8})$&quot;&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;pre_answer&quot;/&gt;<span style="white-space:pre-wrap">        </span></div>

<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;set&quot; data=&quot;ringback=%(1000, 4000, 400.0, 400.0)&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;t38_gateway&quot; data=&quot;peer&quot;/&gt;</div>

<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;bridge&quot; data=&quot;sofia/external/$<a href="mailto:1@192.168.11.53" target="_blank">1@192.168.11.53</a>&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;hangup&quot;/&gt;</div>

<div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div>This is my dialplan for T.38(from SIP ATAs) to G711(to PSTN/SS7 via SIP)</div><div>------&gt;8--------</div><div><div>    &lt;extension name=&quot;t.38_to_g711&quot;&gt;</div>

<div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(0\d+)$&quot;&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;ring_ready&quot; /&gt;</div>
<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;set&quot; data=&quot;ringback=%(1000, 4000, 400.0, 400.0)&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;start_dtmf_generate&quot; data=&quot;true&quot;/&gt;</div>

<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;t38_gateway&quot; data=&quot;self&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;bridge&quot; data=&quot;sofia/external/$<a href="http://1@192.168.11.54:5070" target="_blank">1@192.168.11.54:5070</a>&quot;/&gt;</div>

<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;hangup&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div>------&gt;8--------</div>
<div><br></div><div>Thank you.</div><div><br></div><font color="#888888"><div>Weera Suriya </div>
</font><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"><br>-- <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<br>