[Freeswitch-users] fax tone detection failed

Michael Collins msc at freeswitch.org
Thu Apr 14 20:43:30 MSD 2011


On Wed, Apr 13, 2011 at 5:16 AM, romon.zaman <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?

-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110414/acc3a06e/attachment.html 


More information about the FreeSWITCH-users mailing list