Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu 星号应答机检测_Ubuntu_Asterisk - Fatal编程技术网

Ubuntu 星号应答机检测

Ubuntu 星号应答机检测,ubuntu,asterisk,Ubuntu,Asterisk,我的电话答录机检测将电话答录机检测为人。在播放信息之前,我会播放7秒的铃声,它只会提示用户按一个键,然后处理AMD 这是我的AMD.conf ; ; Answering Machine Detection Configuration ; [general] initial_silence = 2250 ; Maximum silence duration before the greeting. ; If exc

我的电话答录机检测将电话答录机检测为人。在播放信息之前,我会播放7秒的铃声,它只会提示用户按一个键,然后处理AMD

这是我的AMD.conf

;
; Answering Machine Detection Configuration
;

[general]
initial_silence = 2250          ; Maximum silence duration before the greeting.
                                ; If exceeded then MACHINE.
greeting = 1500                 ; Maximum length of a greeting. If exceeded then MACHINE.

after_greeting_silence = 1250   ; Silence after detecting a greeting.
                                ; If exceeded then HUMAN
total_analysis_time = 5000      ; Maximum time allowed for the algorithm to decide
                                ; on a HUMAN or MACHINE
min_word_length = 100           ; Minimum duration of Voice to considered as a word
between_words_silence = 50      ; Minimum duration of silence after a word to consider
                                ; the audio what follows as a new word
;maximum_number_of_words = 3    ; Maximum number of words in the greeting.
maximum_number_of_words = 8     ; Maximum number of words in the greeting.
                                ; If exceeded then MACHINE
silence_threshold = 256
在我的日志中,当我把它转到语音信箱时,我看到的是:

-- AMD: initialSilence [2250] greeting [1500] afterGreetingSilence [1250] totalAnalysisTime [5000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [8] silenceThreshold [256]
-- AMD: Word detected. iWordsCount:1
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: Word detected. iWordsCount:2
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: Word detected. iWordsCount:3
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: Word detected. iWordsCount:4
-- AMD: Changed state to STATE_IN_SILENCE
-- AMD: HUMAN: silenceDuration:1260 afterGreetingSilence:1250
-- Executing [s@play-message-list:16] NoOp("SIP/xxxx.com_xxxx", ""AMD STATUS IS :"HUMAN"...CAUSE:"HUMAN-1260-1250") in new stack

没有铃声,语音信箱就没了。

不幸的是,电话答录机检测不是精确的科学,而是大量的猜测。结果在很大程度上取决于答录机的问候语,以及随机的人接电话的方式。一个人通常在拿起电话后只说几句话,比如“你好”或“我是约翰”,而一个自动系统(语音信箱或ACD)会在接电话后立即说一句完整的问候语。因此,像“嗨,给我留言”这样的语音邮件问候语很有可能被检测为人类,而回答“早上好,谢谢你打电话给ACME Inc,我可以如何转接你的电话?”的真正服务员很可能被检测为机器


您的呼叫流或AMD设置没有问题。在您的日志中,似乎是根据以下事实做出了“人类”决策:检测到的单词只有4个,然后是超过1250秒的静默,并且决策算法基于after_greeting_silence设置触发。现在想象一个语音邮件问候语,慢慢地说,“你好,谢谢你的来电。[2s暂停]。没有人可以接你的电话…”等等。您的设置将无法正确检测此特定情况。但正如我最初所说,世界上没有任何“通用”设置可以解释任何问候语和人类应答模式。

即使你没有解决我的问题,我也同意你的看法,没有精确的设置,只是尽可能地调整。谢谢