Check AMD status for out bound caller

I have to check weather caller is a machine or Human. How can I figure out. Following is my dial-plan. Every time it shows status is Machine


exten => _X.,1,Answer()
same => n,Dial(SIP/${EXTEN}@provider,B(checkAMD^s^1))
same => n,Hangup


exten => s,1,Background(en/silence/1)
same => n,AMD
same => n,NoOP(The Answering Machine status is ${AMDSTATUS})

I think you forgot to say that this is some sort of click to call scenario. Humans are going to behave very differently in such case from how they would behave for an unsolicited call .

Even in the intended use, answering machine detection relies on heuristics, so is not foolproof.

My scenario is to when we will use asterisk CLI it should tell that it is machine but when we dial from soft phone it should tell that it is human because in this scenario our noice will scenes by asterisk.
Also what is the function of BackgroundDetect . Can we do it for this purpose ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.