<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5583" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello MC,</FONT></DIV>
<DIV><FONT face=Arial size=2>you are right..</FONT></DIV>
<DIV><FONT face=Arial size=2>before this published here, you help me to get
a solution.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>actually, my fax machine was not sending standard
fax tone. but it worked with actual tone frequency.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>so, if someone ever face this problem,
recommendation is to get pcap file and extract audio file from RTP with
wireshark </FONT><FONT face=Arial size=2>and analyze audio with audicity to get
exact frequency of tone.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and when u use tone_detect with exact tone
frequency, it will work perfectly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>thanks for </FONT> <FONT face=Arial
size=2>your help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=msc@freeswitch.org href="mailto:msc@freeswitch.org">Michael
Collins</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 14, 2011 10:43
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] fax tone
detection failed</DIV>
<DIV><BR></DIV><BR><BR>
<DIV class=gmail_quote>On Wed, Apr 13, 2011 at 5:16 AM, romon.zaman <SPAN
dir=ltr><<A
href="mailto:romon.zaman@gmail.com">romon.zaman@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi,<BR><BR>i
am trying to detect fax tone on outgoing calls.<BR>here is my javascript
code<BR><BR>+++++++++++++++++++++++<BR><BR>session1 =
new<BR>Session("{ignore_early_media=false}sofia/gateway/flowroute/"+argv[0]+"");<BR><BR>session1.execute("tone_detect",
"fax 1100 r +30000 set<BR>'fax_tone_detected=true'
1");<BR>msleep(argv[1]);<BR>session1.hangup();<BR><BR>++++++++++++++++++++++++<BR><BR>i
checked pcap file and using wireshark , i can hear sone tone on
rtp<BR>audio playback.<BR><BR>but freeswitch cant detect that..<BR><BR>is
there any other solution to find out specific tone like fax??<BR><BR>thanks
in advance<BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Was this the one we talked about yesterday where your fax machine was
really spitting out a tone around 2096Hz?</DIV>
<DIV><BR></DIV>
<DIV>-MC</DIV></DIV></BLOCKQUOTE><BR>
<BR>
__________ Information from ESET Smart Security, version of virus signature database 6041 (20110414) __________<BR>
<BR>
The message was checked by ESET Smart Security.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</BODY></HTML>