2015-09-25 53 views
-1

我是新手,正在研究星號。在星號中捕獲反向信號

如何捕捉反轉信號的星號, 目前我收到的配置爲NA無應答自動撥號所有未得電話,我應該得到如下

無應答, 忙, 無法到達, 關閉

目前使用vicidial:2.2.1

回答

0

Vicidial使用app_AMD

Synopsis 
Attempts to detect answering machines. 

Description 
AMD([|initialSilence][|greeting][|afterGreetingSilence][|totalAnalysisTime][|minimumWordLength][|betweenWordsSilence][|maximumNumberOfWords][|silenceThreshold]) 

This application attempts to detect answering machines at the beginning of outbound calls. 
Simply call this application after the call has been answered (outbound only, of course). 
When loaded, AMD reads amd.conf and uses the parameters specified as default values. 
Those default values get overwritten when calling AMD with parameters. 

    'initialSilence' is the maximum silence duration before the greeting. If exceeded then MACHINE. 
    'greeting' is the maximum length of a greeting. If exceeded then MACHINE. 
    'afterGreetingSilence' is the silence after detecting a greeting. If exceeded then HUMAN. 
    'totalAnalysisTime' is the maximum time allowed for the algorithm to decide on a HUMAN or MACHINE. 
    'minimumWordLength'is the minimum duration of Voice to considered as a word. 
    'betweenWordsSilence' is the minimum duration of silence after a word to considere the audio what follows as a new word. 
    'maximumNumberOfWords'is the maximum number of words in the greeting. If exceeded then MACHINE. 
    'silenceThreshold' is the silence threshold. 


This application sets the following channel variable upon completion: 
AMDSTATUS - This is the status of the answering machine detection. 
Possible values are: 
MACHINE | HUMAN | NOTSURE | HANGUP 
AMDCAUSE - Indicates the cause that led to the conclusion. 
Possible values are: 
TOOLONG-<%d total_time> 
INITIALSILENCE-<%d silenceDuration>-<%d initialSilence> 
HUMAN-<%d silenceDuration>-<%d afterGreetingSilence> 
MAXWORDS-<%d wordsCount>-<%d maximumNumberOfWords> 
LONGGREETING-<%d voiceDuration>-<%d greeting> 

http://www.voip-info.org/wiki/view/Asterisk+cmd+AMD

+0

如何糾正這個錯誤。在asterisk-1.4.36版本中找不到astxs **。 'chmod:無法訪問/usr/src/asterisk/asterisk-1.4.36/contrib/scripts/astxs':沒有這樣的文件或目錄' –

+0

SO沒有調試站點。 – arheops

+0

任何可以解決它的方案。 –