I already put this in there, but this is the context for the call.&nbsp; I got it right out of <a href="http://voip-info.org">voip-info.org</a>&#39;s article.&nbsp; This is correct right?<br><br>[outboundmsg1]<br>exten =&gt; s,1,NoCDR
<br>exten =&gt; s,n,AMD<br>exten =&gt; s,n,GotoIf($[${AMDSTATUS}=AMD_PERSON]?humn:mach)<br>exten =&gt; s,n(mach),WaitForSilence(2500)<br>exten =&gt; s,n,Playback(outboundmsgs/msg1)<br>exten =&gt; s,n,Hangup<br>exten =&gt; s,n(humn),WaitForSilence(500)
<br>exten =&gt; s,n,Playback(outboundmsgs/msg1)<br>exten =&gt; s,n,Hangup<br><br>I&#39;m using broadvoice for the service not sure that it matters.<br><br><br><br><div><span class="gmail_quote">On 1/25/07, <b class="gmail_sendername">
Matt Florell</b> &lt;<a href="mailto:astmattf@gmail.com">astmattf@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tested it over a SIP channel and an IAX channel and it did work, but<br>I have not used it in production that way. I only use Zap channels(T1<br>PRI) In prodution at the locations that I use AMD at.<br><br>MATT---<br><br>
On 1/25/07, Peter Halliday &lt;<a href="mailto:hoangelos@gmail.com">hoangelos@gmail.com</a>&gt; wrote:<br>&gt; That&#39;s the same code as I have.&nbsp;&nbsp;It&#39;s identical.&nbsp;&nbsp;Are you using it over a<br>&gt; SIP channel?<br>&gt;
<br>&gt; Peter<br>&gt;<br>&gt;<br>&gt; On 1/25/07, Matt Florell &lt; <a href="mailto:astmattf@gmail.com">astmattf@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt;From the VICIDIAL SCRATCH_INSTALL doc:<br>&gt; &gt;<br>&gt; &gt; - cd 
asterisk-1.2.14/apps<br>&gt; &gt; - wget <a href="http://www.eflo.net/files/app_amd2.c">http://www.eflo.net/files/app_amd2.c</a><br>&gt; &gt; - mv app_amd2.c app_amd.c<br>&gt; &gt; - vi Makefile<br>&gt; &gt;&nbsp;&nbsp; replace this line(line 32):
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app_mixmonitor.so app_stack.so<br>&gt; &gt;&nbsp;&nbsp; with this line:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app_mixmonitor.so app_stack.so app_amd.so<br>&gt; &gt; - wget <a href="http://www.eflo.net/files/amd2.conf">http://www.eflo.net/files/amd2.conf
</a><br>&gt; &gt; - mv amd2.conf /etc/asterisk/amd.conf<br>&gt; &gt;<br>&gt; &gt; It works with Asterisk 1.2.14 just fine.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; MATT---<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On 1/25/07, Peter Halliday &lt;
<a href="mailto:hoangelos@gmail.com">hoangelos@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; Where can I get the latest copy of this file.&nbsp;&nbsp;I thought google found<br>&gt; &gt; &gt; ithere, but it doesn&#39;t compile correctly on 
1.2.14.&nbsp;&nbsp;And the copy on<br>&gt; &gt; &gt; <a href="http://voip-info.org">voip-info.org</a> that I found initially appears to be old.&nbsp;&nbsp;It&#39;s not in the<br>&gt; 1.2<br>&gt; &gt; &gt; tree.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 1/25/07, Asterisk &lt;<a href="mailto:asterisk@fullmoonsoft.com">asterisk@fullmoonsoft.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; On Wed, 2007-01-24 at 12:20 -0800, Michael Collins wrote:
<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; ______________________________________________________________________
<br>&gt; &gt; &gt; &gt; &gt; <a href="mailto:From:asterisk-users-bounces@lists.digium.com">From:asterisk-users-bounces@lists.digium.com</a><br>&gt; &gt; &gt; &gt; &gt; [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">
asterisk-users-bounces@lists.digium.com</a>] On<br>&gt; &gt; &gt; Behalf Of Peter<br>&gt; &gt; &gt; &gt; &gt; Halliday<br>&gt; &gt; &gt; &gt; &gt; Sent: Wednesday, January 24, 2007 11:56 AM<br>&gt; &gt; &gt; &gt; &gt; To: 
<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>&gt; &gt; &gt; &gt; &gt; Subject: [asterisk-users] setting up AMD<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; I&#39;m trying get this working.&nbsp;&nbsp;I&#39;ve looked through the list, and<br>&gt; can&#39;t<br>&gt; &gt; &gt; &gt; &gt; see how to get AMD to print out more.&nbsp;&nbsp;I have it call and say Hello
<br>&gt; &gt; &gt; &gt; &gt; like I normally would.&nbsp;&nbsp;I&#39;ve tried to say more and less doesn&#39;t seem<br>&gt; &gt; &gt; &gt; &gt; to matter.&nbsp;&nbsp;After I hangup it does recognize hangup.&nbsp;&nbsp;Here&#39;s logging<br>&gt; &gt; &gt; &gt; &gt; during an attempt where I make outbound call and answer, but then
<br>&gt; &gt; &gt; &gt; &gt; hangup after 1-2 seconds:<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:37 VERBOSE[31455] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- AMD:<br>&gt; &gt; &gt; &gt; &gt; SIP/sip.broadvoice.com-098c4aa8 6079362172 (null) (Fmt: 4)
<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:37 VERBOSE[31455] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- AMD: initialSilence<br>&gt; &gt; &gt; &gt; &gt; [8000] greeting [1500] afterGreetingSilence [300] totalAnalysisTime<br>&gt; &gt; &gt; &gt; &gt; [5000] minimumWordLength [120] betweenWordsSilence [50]
<br>&gt; &gt; &gt; &gt; &gt; maximumNumberOfWords [5] silenceThreshold [256]<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:44 DEBUG[31437] chan_sip.c: Auto destroying call<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &#39;<a href="mailto:2223f71d5ccc73cc3f9b32a64fba2286@sip.broadvoice.com">
2223f71d5ccc73cc3f9b32a64fba2286@sip.broadvoice.com</a> &#39;<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:45 DEBUG[31447] manager.c: Manager received command<br>&gt; &gt; &gt; &gt; &gt; &#39;Command&#39;<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:45 DEBUG[31447] 
manager.c: Manager received command<br>&gt; &gt; &gt; &gt; &gt; &#39;Command&#39;<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:45 DEBUG[31447] manager.c: Manager received command<br>&gt; &gt; &gt; &gt; &gt; &#39;Command&#39;<br>
&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:56 VERBOSE[31455] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- AMD: HANGUP<br>&gt; &gt; &gt; &gt; &gt; Jan 24 17:01:56 DEBUG[31455] app_amd.c: Got hangup<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; The 
amd.conf:<br>&gt; &gt; &gt; &gt; &gt; [amd]<br>&gt; &gt; &gt; &gt; &gt; initial_silence&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 3500<br>&gt; &gt; &gt; &gt; &gt; greeting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1500<br>&gt; &gt; &gt; &gt; &gt; after_greeting_silence&nbsp;&nbsp;&nbsp;&nbsp; = 300
<br>&gt; &gt; &gt; &gt; &gt; total_analysis_time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 5000<br>&gt; &gt; &gt; &gt; &gt; min_word_length&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 120<br>&gt; &gt; &gt; &gt; &gt; between_words_silence&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 50<br>&gt; &gt; &gt; &gt; &gt; maximum_number_of_words&nbsp;&nbsp;&nbsp;&nbsp;= 5
<br>&gt; &gt; &gt; &gt; &gt; silence_threshold&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 256<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; In extensions.conf<br>&gt; &gt; &gt; &gt; &gt; [outboundmsg1]<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,1,NoCDR
<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n,AMD<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; exten =&gt;<br>&gt; &gt; &gt; s,n,GotoIf($[${AMDSTATUS}=AMD_PERSON]?humn:mach)
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; *********************<br>&gt; &gt; &gt; &gt; exten =&gt; s,n,GotoIf($[${AMDSTATUS}=HUMAN]?humn:mach)<br>&gt; &gt; &gt; &gt; *********************
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n(mach),WaitForSilence(2500)<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n,Playback(outboundmsgs/msg1)<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n,Hangup<br>
&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n(humn),WaitForSilence(500)<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n,Playback(outboundmsgs/msg1)<br>&gt; &gt; &gt; &gt; &gt; exten =&gt; s,n,Hangup<br>&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Peter,<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; It looks like your initial silence setting might be having trouble.<br>&gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;The 
amd.conf file has a value of 3500 but the log file is showing<br>&gt; &gt; &gt; &gt; &gt; 8000.&nbsp;&nbsp;Try changing the amd.conf to something like 3000 and issue a<br>&gt; &gt; &gt; &gt; &gt; &quot;reload&quot; at the CLI. Make another test call and see if the trace
<br>&gt; still<br>&gt; &gt; &gt; &gt; &gt; shows 8000 for the initial silence.&nbsp;&nbsp;I think having an initial<br>&gt; silence<br>&gt; &gt; &gt; &gt; &gt; value that is longer than the total analysis time might be causing<br>&gt; the
<br>&gt; &gt; &gt; &gt; &gt; undesired behavior.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Let us know what happens when you try to modify the initial silence
<br>&gt; &gt; &gt; &gt; &gt; value.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; -MC<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; &gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; asterisk-users mailing list<br>&gt; &gt; &gt; &gt; &gt; To UNSUBSCRIBE or update options visit:
<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Try to replace the AMD_PERSON with HUMAN as depicted above between<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; ************************<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; ************************
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The AMD_STATUS that works for me is not person but human.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; dave
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; --Bandwidth and Colocation provided by 
<a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; asterisk-users mailing list<br>&gt; &gt; &gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; asterisk-users mailing list<br>&gt; &gt; &gt; To UNSUBSCRIBE or update options visit:
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; _______________________________________________<br>&gt; &gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt; &gt;<br>&gt; &gt; asterisk-users mailing list<br>
&gt; &gt; To UNSUBSCRIBE or update options visit:<br>&gt; &gt;<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt; &gt;<br>&gt;<br>
&gt;<br>&gt; _______________________________________________<br>&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>&gt;<br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:
<br>&gt;<br>&gt; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>
--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>