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