[Freeswitch-users] fax tone detection failed

Steve Underwood steveu at coppice.org
Thu Apr 14 21:54:19 MSD 2011


On 04/15/2011 12:43 AM, Michael Collins wrote:
>
>
> On Wed, Apr 13, 2011 at 5:16 AM, romon.zaman <romon.zaman at gmail.com 
> <mailto:romon.zaman at gmail.com>> wrote:
>
>     hi,
>
>     i am trying to detect fax tone on outgoing calls.
>     here is my javascript code
>
>     +++++++++++++++++++++++
>
>     session1 = new
>     Session("{ignore_early_media=false}sofia/gateway/flowroute/"+argv[0]+"");
>
>     session1.execute("tone_detect", "fax 1100 r +30000 set
>     'fax_tone_detected=true' 1");
>     msleep(argv[1]);
>     session1.hangup();
>
>     ++++++++++++++++++++++++
>
>     i  checked pcap file and  using wireshark , i can hear sone tone
>     on rtp
>     audio playback.
>
>     but freeswitch cant detect that..
>
>     is there any other solution to find out specific tone like fax??
>
>     thanks in advance
>
>
> Was this the one we talked about yesterday where your fax machine was 
> really spitting out a tone around 2096Hz?
>
Of course it spits out around 2096Hz. An answering FAX machine sends a 
burst of 2100Hz tone, and then V.21 preamble. Its the calling machine 
which sends 1100Hz.

Steve




More information about the FreeSWITCH-users mailing list