[Freeswitch-users] detecting tone
babak.freeswitch at gmail.com
Sat Apr 9 08:46:52 MSD 2016
I think the my test scenario is not correct. I'm playing the sound file to
a test call and it seems spandsp is not monitoring the played file rtp.
when I play the file using laptop mic it detects it with descriptor 49. the
original problem is false detections during normal calls. I will test your
suggestions when I can record a conversation in which false detection
On Thu, Apr 7, 2016 at 4:34 PM, Piotr Gregor <piotrek.gregor at gmail.com>
> Hi Babak,
> you can also try avmd module for a detection of single frequency sound.
> I have tested avmd on your audio and it detected 425.69 Hz frequency
> when it's variance threshold was set to 0.0006, 446.23 Hz with default
> threshold of 0.00025.
> 2016-04-07 12:32:05.820909 [NOTICE] switch_channel.c:1104 New Channel
> sofia/internal/1000 at 192.168.1.27 [4e41e5be-51a0-42fa-87b5-8fde76744530]
> 2016-04-07 12:32:06.060908 [INFO] mod_dialplan_xml.c:637 Processing
> beautiful display name <1000>->1705 in context default
> api avmd 4e41e5be-51a0-42fa-87b5-8fde76744530 start
> Content-Type: api/response
> Content-Length: 89
> [4e41e5be-51a0-42fa-87b5-8fde76744530] [sofia/internal/
> 1000 at 192.168.1.27] started!
> 2016-04-07 12:32:12.760908 [INFO] switch_core_media_bug.c:701 Sending
> early media
> 2016-04-07 12:32:12.760908 [NOTICE] sofia_media.c:92 Pre-Answer
> sofia/internal/1000 at 192.168.1.27!
> 2016-04-07 12:32:12.760908 [INFO] mod_avmd.c:279 Avmd session initialized,
>  samples/s
> 2016-04-07 12:32:12.760908 [INFO] mod_avmd.c:739 Avmd on channel
> [sofia/internal/1000 at 192.168.1.27] started!
> 2016-04-07 12:32:17.480907 [NOTICE] mod_avmd.c:919 <<< AVMD - Beep
> Detected: f = [425.688780], variance = [0.000533] >>>
> Avmd works for single frequency tones. Be sure to checkout latest master
> (this module
> is yet not of a production quality at this moment).
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users