# Amd system Optimization

**URL:** <https://community.asterisk.org/t/amd-system-optimization/38538>\
**Category:** Asterisk Support\
**Created:** [March 9, 2012, 9:53am UTC](https://community.asterisk.org/t/amd-system-optimization/38538 "2012-03-09T09:53:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [March 9, 2012, 9:53am UTC](https://community.asterisk.org/t/amd-system-optimization/38538/1 "2012-03-09T09:53:36Z")

</div>

Hi at all, i’m Pasquale, an italian software developer.  
First of all sorry for my bad english.

I’ve got a question:  
Is it possible execute music during AMD ( Automatic Machine Detection ) process?

I ask this because i have the following scenario:

when I make a call and the called party answers the system begins to analyze the audio stream to recognize an automatic response systems. This analysis takes about 2/3 seconds to complete. During this time the callee hears no sound and often closes the call. To avoid this I was planning to run some sound during the analysis so as to maintain the callee. you can accomplish something similar?

this is my dial plan:  
exten =\> 8369,1,Playback(sip-silence)  
exten =\> 8369,2,AGI(agi://127.0.0.1:4577/call\_log)  
exten =\> 8369,3,AMD(2000|2000|1000|5000|120|50|4|256)  
exten =\> 8369,4,AGI(xxx.agi,${EXTEN})  
exten =\> 8369,5,AGI(yyy.agi,NORMAL-----LB)  
exten =\> 8369,6,AGI(zzz,NORMAL-----LB)  
exten =\> 8369,7,Hangup

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [March 9, 2012, 3:37pm UTC](https://community.asterisk.org/t/amd-system-optimization/38538/2 "2012-03-09T15:37:42Z")

</div>

The AMD application itself doesn’t support that. There’s not a straightforward way to do what you’re after.
