Test registered audio calls with AMD

Hello guys.
Is there any way to test in dialplan registered audio calls with AMD to check if (audio from registered file )is answer machine or human?

Howdy!

Yes, you can spool call files in to the /var/spool/asterisk/outgoing/ directory that run AMD() app on one leg and on the other leg Playback() the audio (“registered” ?) file.

Something like this (bare bones, not tested)…

extensions.conf:

[amd-test]
exten = s,1,Answer()
 same = n,AMD()

sample.call:

Channel: Local/s@amd-test
Application:  Playback
Data: /path/to/your-previously-recorded-file-to-analyze

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