<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Fax tone detection problem on bridged (PRI -> SIP) calls</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Greetings,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">[w_pstn]</FONT>
<BR><FONT SIZE=2 FACE="Arial">exten => 8478106205,1,record,w_faxmsg:pcm</FONT>
<BR><FONT SIZE=2 FACE="Arial">exten => 8478106206,1,Dial,SIP/w_sip</FONT>
<BR><FONT SIZE=2 FACE="Arial">exten => fax,1,Goto(w_fax,8478106207,1)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">[w_fax]</FONT>
<BR><FONT SIZE=2 FACE="Arial">exten => 8478106207,1,Dial,Zap/g1/8478106207</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">We send faxes (from the same fax machine) to 8478106205 and 8478106206.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">On 8478106205 </FONT><FONT COLOR="#008000" SIZE=2 FACE="Arial">fax tone is always detected</FONT> <FONT SIZE=2 FACE="Arial">and we have a successful fax transmission to 8478106207.</FONT>
<BR><FONT SIZE=2 FACE="Arial">On 8478106206 call is connected to the SIP application, but the </FONT><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">fax tone is not detected</FONT><FONT SIZE=2 FACE="Arial">, so we keep beeping (CNG) to the app.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">In both cases we see several sequences of 4 messages each (uncommented in dsp.c) like</FONT>
<BR> <FONT SIZE=2 FACE="Arial">Fax energy/Second Harmonic: 57393933745.000381/22932862397.987717</FONT>
<BR><FONT SIZE=2 FACE="Arial">so fax_hits counter should be the same.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Please, help.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Alex Zarubin</FONT>
<BR><FONT SIZE=2 FACE="Arial">Webley Systems, Inc.</FONT>
</P>
<BR>
</BODY>
</HTML>