Hi Users, I was using mod_avmd in FreeSWITCH version 1.6.20, it was working really well, but now as i shifted to new version i noticed that VM detection number get dropped. While investigating i noticed that the default parameters in 1.8.2 avmd.xml.conf are unable to detect the attached beep sound while 1.6.20 was able to detect that, i tried to change certain parameters in the avmd.xml.conf file but no luck. I was wondering if somebody has used avmd on 1.8.X and have the correct parameters/values OR can somebody point me the right direction to detect the attached file. Regards Bilal Abbasi
file a jira on this. We have a test framework we can add this tone to and see what needs to be tweaked On Wed, Jan 9, 2019 at 7:46 AM Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi Users, I was using mod_avmd in FreeSWITCH version 1.6.20, it was working really well, but now as i shifted to new version i noticed that VM detection number get dropped. While investigating i noticed that the default parameters in 1.8.2 avmd.xml.conf are unable to detect the attached beep sound while 1.6.20 was able to detect that, i tried to change certain parameters in the avmd.xml.conf file but no luck. I was wondering if somebody has used avmd on 1.8.X and have the correct parameters/values OR can somebody point me the right direction to detect the attached file.
Regards Bilal Abbasi _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Done On Wed, Jan 9, 2019 at 11:09 PM Mike Jerris <mike@freeswitch.com> wrote:
file a jira on this. We have a test framework we can add this tone to and see what needs to be tweaked
On Wed, Jan 9, 2019 at 7:46 AM Bilal Abbasi <bilaln018@gmail.com> wrote:
Hi Users, I was using mod_avmd in FreeSWITCH version 1.6.20, it was working really well, but now as i shifted to new version i noticed that VM detection number get dropped. While investigating i noticed that the default parameters in 1.8.2 avmd.xml.conf are unable to detect the attached beep sound while 1.6.20 was able to detect that, i tried to change certain parameters in the avmd.xml.conf file but no luck. I was wondering if somebody has used avmd on 1.8.X and have the correct parameters/values OR can somebody point me the right direction to detect the attached file.
Regards Bilal Abbasi _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Hi Bilal, I did a check on FS version 1.8 FreeSWITCH version: 20.18.4-dev+git~20190124T213913Z~0e56f51034~64bit (git 0e56f51 2019-01-24 21:39:13Z 64bit) and your beep was detected. You didn't provide more details, but I believe you may be running AVMD with 0 detectors. Please check "avmd show". 2019-03-15 18:00:27.321281 [INFO] mod_avmd.c:1223 Avmd dynamic configuration: debug [0], report_status [1], fast_math [0], require_continuous_streak [1], sample_n_continuous_streak [3], sample_n_to_skip [0], require_continuous_streak_amp [1], sample_n_continuous_streak_amp [3], simplified_estimation [1], inbound_channel [1], outbound_channel [1], detection_mode [2], detectors_n [36], detectors_lagged_n [1] [New Thread 0x7fff659d5700 (LWP 28261)] [New Thread 0x7fff65999700 (LWP 28262)] [New Thread 0x7fff6595d700 (LWP 28263)] [New Thread 0x7fff65921700 (LWP 28264)] [New Thread 0x7fff658e5700 (LWP 28265)] [New Thread 0x7fff658a9700 (LWP 28266)] [New Thread 0x7fff6586d700 (LWP 28267)] [New Thread 0x7fff65831700 (LWP 28268)] [New Thread 0x7fff657f5700 (LWP 28269)] [New Thread 0x7fff657b9700 (LWP 28270)] [New Thread 0x7fff6577d700 (LWP 28271)] [New Thread 0x7fff65741700 (LWP 28272)] [New Thread 0x7fff65705700 (LWP 28273)] [New Thread 0x7fff656c9700 (LWP 28274)] [New Thread 0x7fff6568d700 (LWP 28275)] [New Thread 0x7fff65651700 (LWP 28276)] [New Thread 0x7fff65615700 (LWP 28277)] [New Thread 0x7fff655d9700 (LWP 28278)] [New Thread 0x7fff6559d700 (LWP 28279)] [New Thread 0x7fff65561700 (LWP 28280)] [New Thread 0x7fff65525700 (LWP 28281)] [New Thread 0x7fff654e9700 (LWP 28282)] [New Thread 0x7fff654ad700 (LWP 28283)] [New Thread 0x7fff65471700 (LWP 28284)] [New Thread 0x7fff65435700 (LWP 28285)] [New Thread 0x7fff653f9700 (LWP 28286)] [New Thread 0x7fff653bd700 (LWP 28287)] [New Thread 0x7fff65381700 (LWP 28288)] [New Thread 0x7fff65345700 (LWP 28289)] [New Thread 0x7fff65309700 (LWP 28290)] [New Thread 0x7fff652cd700 (LWP 28291)] [New Thread 0x7fff65291700 (LWP 28292)] [New Thread 0x7fff65255700 (LWP 28293)] [New Thread 0x7fff65219700 (LWP 28294)] [New Thread 0x7fff651dd700 (LWP 28295)] [New Thread 0x7fff651a1700 (LWP 28296)] [New Thread 0x7fff65165700 (LWP 28297)] 2019-03-15 18:00:27.341282 [INFO] mod_avmd.c:632 Avmd session initialized, [48000] samples/s 2019-03-15 18:00:27.341282 [INFO] mod_avmd.c:1520 Avmd on channel [verto.rtc/1308] started! direction=WRITE_REPLACE 2019-03-15 18:00:28.421316 [INFO] switch_rtp.c:3215 Changing audio DTLS state from SETUP to READY 2019-03-15 18:00:39.561280 [INFO] mod_avmd.c:1998 <<< AVMD - Beep Detected [2][7][4][25]: f = [1612.751481] variance = [0.000157], amplitude = [4239.595585](max [202648.164029]) variance = [2326.542142], detection time [12219998] [us] >>> cheers, Piotr
Thanks for update here, please let me know what update you are looking for, as this issue could not make me to use 1.8 and i am still at 1.6.20. And i did not changed any default values, it did worked for other beep sounds, but not for the sound file that i attached earlier in thread. I can try the new version and let you know about the result. Regards Abbasi On Sat, 16 Mar 2019 at 2:17 AM, Piotr Gregor <piotrek.gregor@gmail.com> wrote:
Hi Bilal,
I did a check on FS version 1.8 FreeSWITCH version: 20.18.4-dev+git~20190124T213913Z~0e56f51034~64bit (git 0e56f51 2019-01-24 21:39:13Z 64bit) and your beep was detected. You didn't provide more details, but I believe you may be running AVMD with 0 detectors. Please check "avmd show".
2019-03-15 18:00:27.321281 [INFO] mod_avmd.c:1223 Avmd dynamic configuration: debug [0], report_status [1], fast_math [0], require_continuous_streak [1], sample_n_continuous_streak [3], sample_n_to_skip [0], require_continuous_streak_amp [1], sample_n_continuous_streak_amp [3], simplified_estimation [1], inbound_channel [1], outbound_channel [1], detection_mode [2], detectors_n [36], detectors_lagged_n [1] [New Thread 0x7fff659d5700 (LWP 28261)] [New Thread 0x7fff65999700 (LWP 28262)] [New Thread 0x7fff6595d700 (LWP 28263)] [New Thread 0x7fff65921700 (LWP 28264)] [New Thread 0x7fff658e5700 (LWP 28265)] [New Thread 0x7fff658a9700 (LWP 28266)] [New Thread 0x7fff6586d700 (LWP 28267)] [New Thread 0x7fff65831700 (LWP 28268)] [New Thread 0x7fff657f5700 (LWP 28269)] [New Thread 0x7fff657b9700 (LWP 28270)] [New Thread 0x7fff6577d700 (LWP 28271)] [New Thread 0x7fff65741700 (LWP 28272)] [New Thread 0x7fff65705700 (LWP 28273)] [New Thread 0x7fff656c9700 (LWP 28274)] [New Thread 0x7fff6568d700 (LWP 28275)] [New Thread 0x7fff65651700 (LWP 28276)] [New Thread 0x7fff65615700 (LWP 28277)] [New Thread 0x7fff655d9700 (LWP 28278)] [New Thread 0x7fff6559d700 (LWP 28279)] [New Thread 0x7fff65561700 (LWP 28280)] [New Thread 0x7fff65525700 (LWP 28281)] [New Thread 0x7fff654e9700 (LWP 28282)] [New Thread 0x7fff654ad700 (LWP 28283)] [New Thread 0x7fff65471700 (LWP 28284)] [New Thread 0x7fff65435700 (LWP 28285)] [New Thread 0x7fff653f9700 (LWP 28286)] [New Thread 0x7fff653bd700 (LWP 28287)] [New Thread 0x7fff65381700 (LWP 28288)] [New Thread 0x7fff65345700 (LWP 28289)] [New Thread 0x7fff65309700 (LWP 28290)] [New Thread 0x7fff652cd700 (LWP 28291)] [New Thread 0x7fff65291700 (LWP 28292)] [New Thread 0x7fff65255700 (LWP 28293)] [New Thread 0x7fff65219700 (LWP 28294)] [New Thread 0x7fff651dd700 (LWP 28295)] [New Thread 0x7fff651a1700 (LWP 28296)] [New Thread 0x7fff65165700 (LWP 28297)] 2019-03-15 18:00:27.341282 [INFO] mod_avmd.c:632 Avmd session initialized, [48000] samples/s 2019-03-15 18:00:27.341282 [INFO] mod_avmd.c:1520 Avmd on channel [verto.rtc/1308] started! direction=WRITE_REPLACE 2019-03-15 18:00:28.421316 [INFO] switch_rtp.c:3215 Changing audio DTLS state from SETUP to READY 2019-03-15 18:00:39.561280 [INFO] mod_avmd.c:1998 <<< AVMD - Beep Detected [2][7][4][25]: f = [1612.751481] variance = [0.000157], amplitude = [4239.595585](max [202648.164029]) variance = [2326.542142], detection time [12219998] [us] >>>
cheers, Piotr _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Please make sure your settings are similar to above and that should work. "avmd show" is the command to see them. The most important part is: detection_mode [2], detectors_n [36], detectors_lagged_n [1] cheers, Piotr
Hi, I did tested that again, and it worked for me as well, something must be changed in the latest version, as when i tried doing that it was 1.8.2, anyway thanks for your help. On Sat, Mar 16, 2019 at 10:04 PM Piotr Gregor <piotrek.gregor@gmail.com> wrote:
Please make sure your settings are similar to above and that should work. "avmd show" is the command to see them. The most important part is: detection_mode [2], detectors_n [36], detectors_lagged_n [1]
cheers, Piotr _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (3)
-
Bilal Abbasi
-
Mike Jerris
-
Piotr Gregor