AMD Issues or Alternative


#1

Asterisk 13.18.1
Centos 7

I have AMD set up and not sure if I’m setting it up properly but its a hit or miss for me. I’ve tested AMD on myself and about 70% of the time it works.
Currently I have the following in my extension.conf
AMD(4500,2000,500,5000,50,50,20,200,500)

I’ve tried adding answer() adding Background(silence/1) before AMD()
It appears to be about the same results.

Is there an alternative way to detect answering machine than AMD?
I feel as though there must be a better way…

Any help would be great!


#2

Take this test

Dial(tech/destination,90,tTM(amdcheck));

[macro-amdcheck]
exten => s,1,Answer()
exten => s,n,Background(silence/1)
exten => s,n,Amd()
exten => s,n,NoOp(*** ${AMDSTATUS} *** ${AMDCAUSE} ***)