Page 1 of 1

Answering machine detection

PostPosted: Sat Nov 08, 2008 11:42 am
by caged_penguin
---------- CALL STATUS STATS
+--------+----------------------+------------+
| STATUS | DESCRIPTION | CALLS |
+--------+----------------------+------------+
| A | Answering Machine | 11 |
| AA | Answering Machine Au | 113 |
| AL | Answering Machine Ms | 5 |

Why is our AL so low compared to how many AA are detected?

Please help.

We're using vicidialnow CE 1.1.

Default extensions.conf for the AMD on ext. 8320 and 8369

PostPosted: Sat Nov 08, 2008 7:24 pm
by mflorell
Have you looked at the Asterisk CLI output while this runs?

What do you see in your amd_log.txt file?

amd_log.txt

PostPosted: Sat Nov 08, 2008 9:59 pm
by caged_penguin
amd_log.txt
-----------------------------------------------------------------------
2008-11-08 15:07:01|6493| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:07:09|6494| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:07:30|6499| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:07:37|6503| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:08:01|6505| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|8665555555|
2008-11-08 15:08:07|6506| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:08:12|6509| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:08:28|6507| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:08:58|6515| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:09:50|6520| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:10:02|6524| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:10:07|6521| |AMD_PERSON|AMD_HUMAN-1000-1000|8665555555|
2008-11-08 15:12:11|6536| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:12:21|6537| |AMD_MACHINE|AMD_INITIALSILENCE-2000-2000|8665555555|
2008-11-08 15:15:56|6551| |AMD_MACHINE|AMD_MAXWORDS-4-4|8664536923|
2008-11-08 15:16:33|6554| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|8665555555|
2008-11-08 15:16:36|6555| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:17:04|6564| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:17:43|6571| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:17:44|6573| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:18:12|6577| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:18:40|6579| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:19:12|6580| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:23:56|6587| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:24:28|6588| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|8665555555|
2008-11-08 15:25:01|6590| |AMD_MACHINE|AMD_MAXWORDS-4-4|8665555555|
2008-11-08 15:25:02|6589| |AMD_MACHINE|AMD_LONGGREETING-2000-2000|8665555555|

Asterisk log
---------------------------------------------------------------------------
Nov 8 15:08:56 VERBOSE[18791] logger.c: -- Executing AMD("Local/917572298000
@default-bb5e,1", "2000|2000|1000|5000|120|50|4|256") in new stack
Nov 8 15:08:56 VERBOSE[18791] logger.c: -- AMD: Local/917572298000@default-
bb5e,1 8665555555 (null) (Fmt: 64)
Nov 8 15:08:56 VERBOSE[18791] logger.c: -- AMD: initialSilence [2000] greet
ing [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLengt
h [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]

Nov 8 15:08:57 VERBOSE[18791] logger.c: -- AMD: Word detected. iWordsCount:
1
Nov 8 15:08:57 VERBOSE[18791] logger.c: -- AMD: Changed state to STATE_IN_S
ILENCE
Nov 8 15:08:57 VERBOSE[18791] logger.c: -- AMD: Word detected. iWordsCount:
2
Nov 8 15:08:57 VERBOSE[18791] logger.c: -- AMD: Changed state to STATE_IN_S
ILENCE
Nov 8 15:08:57 VERBOSE[18791] logger.c: -- AMD: Word detected. iWordsCount:
3
Nov 8 15:08:58 VERBOSE[18791] logger.c: -- AMD: Changed state to STATE_IN_S
ILENCE
Nov 8 15:08:58 VERBOSE[18791] logger.c: -- AMD: Word detected. iWordsCount:
4
Nov 8 15:08:58 VERBOSE[18791] logger.c: -- AMD: ANSWERING MACHINE: iWordsCount:4


Nov 8 15:17:41 VERBOSE[21596] logger.c: -- Executing AMD("Local/914845678000@default-ab6a,1", "2000|2000|1000|5000|120|50|4|256") in new stack
Nov 8 15:17:41 VERBOSE[21596] logger.c: -- AMD: Local/914845678000@default-
ab6a,1 8665555555(null) (Fmt: 64)
Nov 8 15:17:41 VERBOSE[21596] logger.c: -- AMD: initialSilence [2000] greet
ing [2000] afterGreetingSilence [1000] totalAnalysisTime [5000] minimumWordLengt
h [120] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [256]

Nov 8 15:17:41 VERBOSE[21596] logger.c: -- AMD: Word detected. iWordsCount:
1
Nov 8 15:17:41 VERBOSE[21596] logger.c: -- AMD: Changed state to STATE_IN_S
ILENCE
Nov 8 15:17:42 VERBOSE[21596] logger.c: -- AMD: Word detected. iWordsCount:
2
Nov 8 15:17:42 VERBOSE[21596] logger.c: -- AMD: Changed state to STATE_IN_S
ILENCE

PostPosted: Sun Nov 09, 2008 12:15 am
by mflorell
I will need to see more Asterisk CLI output, this doesn't show me much.

Can you get the output fromthe real Asterisk CLI? (not 'asterisk -r')