I’m using AMD() in my Asterisk dialplan to detect human responses before playing a welcome message.
My goal
Answer the call
Wait until the callee says “hello” or any speech
Then play a recorded message
Problem: Even after saying “hello”, the system waits until the full total_analysis_time (e.g., 120 seconds).
Here’s my amd.conf:
initial_silence=100000
total_analysis_time=120000
greeting=1500
I’ve configured AMD in my dialplan as follows:
exten => s,1,Answer()
same => n,AMD()
same => n,NoOp(AMD Status: ${AMDSTATUS})
But even when the person says “hello,” Asterisk doesn’t play the follow-up message until the full time is reached.
What adjustments should I make to amd.conf so that it responds quickly to human speech?