Hi,"I looked at the AVMD module documentation at https://freeswitch.org/confluence/display/FREESWITCH/mod_avmd , and it seems to indicate that this simply detects a beep, i.e. it does not use talking / silence heuristics into account to determine if the call is answered by a human or machine.Am I correct about that? "Yes. The AVMD module works by calculating the estimate of the frequency using DESA-2 algorithm. It fires amd::beep event when the variance for that estimate is below threshold.The event is of form:Event-Subclass: avmd%3A%3AbeepEvent-Name: CUSTOMCore-UUID: 36a5b214-8d83-487e-8f8b-50af9a090486FreeSWITCH-Hostname: homeFreeSWITCH-Switchname: homeFreeSWITCH-IPv4: 128.11.35.8FreeSWITCH-IPv6: %3A%3A1Event-Date-Local: 2016-02-04%2016%3A56%3A55Event-Date-GMT: Thu,%2004%20Feb%202016%2016%3A56%3A55%20GMTEvent-Date-Timestamp: 1454605015915799Event-Calling-File: mod_avmd.cEvent-Calling-Function: avmd_processEvent-Calling-Line-Number: 556Event-Sequence: 950Beep-Status: stopUnique-ID: 0a6f6df3-cc48-4b8a-93f3-b35ee1b8ef0acall-command: avmdThe AVMD doesn't take into consideration TALK/NOTALK events."How is this intended to be used, do I assume that the call is answered by a human until this module sends a avmd%3A%3Abeep event to me? How do others use this module or other techniques to determine human / machine answer to outbound calls with Freeswitch? "You can test how it works by creating extension that will play a tone of given frequency, e.g:<extension name="10014"><condition field="destination_number" expression="^10014$"><action application="playback" data="tone_stream://L=3;%(500,6850,850)" /><action application="hangup"/></condition></extension>This plays tone of 500Hz frequency and 6850 ms long, then silence by 850 ms.Start avmd on the call with fs_cli:avmd 8c6a6bb1-ec64-4b2c-9e48-93a6a2598b64 startand inspect events by regestering to avmd events with:events plain CUSTOM avmd::beepAnalysing the audio for a presence of the tone is not enough for answering machine detection. You should also analyse at least the length of speech/silence segments.Hope this helps.cheers,PiotrOn 3 February 2016 at 19:50, Christopher Rienzo <cmrienzo@gmail.com> wrote:I wouldn't use beep detection in a dialer application, but it could be useful in something like follow me to reduce the occurrence of voicemails being left on subscriber phones.On Wed, Feb 3, 2016 at 2:28 PM, Bob Hartwig <bobjectsfreeswitch@gmail.com> wrote:_________________________________________________________________________I have a client that needs to reliably detect if their outbound calls are answered by a human or voicemail system, so that they can take different actions based on that determination.I looked at the AVMD module documentation at https://freeswitch.org/confluence/display/FREESWITCH/mod_avmd , and it seems to indicate that this simply detects a beep, i.e. it does not use talking / silence heuristics into account to determine if the call is answered by a human or machine.Am I correct about that? How is this intended to be used, do I assume that the call is answered by a human until this module sends a avmd%3A%3Abeep event to me? How do others use this module or other techniques to determine human / machine answer to outbound calls with Freeswitch?Thanks!Bob
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org