now I have amd.conf set to this:<br>initial_silence = 3700<br>greeting = 2500<br>after_greeting_silence = 1200<br>total_analysis_time = 6000<br>min_word_length = 100<br>between_words_silence = 50<br>maximum_number_of_words = 4
<br>silence_threshold = 860<br><br><br>The resulting log is this:<br>Jan 24 18:53:04 DEBUG[31555] chan_sip.c: build_route: Contact hop: <<a href="mailto:sip:6079362172@147.135.20.128">sip:6079362172@147.135.20.128</a>>
<br>Jan 24 18:53:04 VERBOSE[31567] logger.c: -- AMD: SIP/sip.broadvoice.com-087743a0 6079362172 (null) (Fmt: 4)<br>Jan 24 18:53:04 VERBOSE[31567] logger.c: -- AMD: initialSilence [3700] greeting [2500] afterGreetingSilence [1200] totalAnalysisTime [6000] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [4] silenceThreshold [860]
<br>Jan 24 18:53:20 DEBUG[31555] chan_sip.c: Scheduled a registration timeout for <a href="http://sip.broadvoice.com">sip.broadvoice.com</a> id #19<br>Jan 24 18:53:20 DEBUG[31555] chan_sip.c: Stopping retransmission on '
<a href="mailto:62b85b1b0d6e46ac094fd51c310fab2a@sip.broadvoice.com">62b85b1b0d6e46ac094fd51c310fab2a@sip.broadvoice.com</a>' of Request 104: Match Found<br>Jan 24 18:53:20 DEBUG[31555] chan_sip.c: Registration successful
<br>Jan 24 18:53:20 DEBUG[31555] chan_sip.c: Cancelling timeout 19<br>Jan 24 18:53:28 DEBUG[31555] chan_sip.c: Auto destroying call '<a href="mailto:62b85b1b0d6e46ac094fd51c310fab2a@sip.broadvoice.com">62b85b1b0d6e46ac094fd51c310fab2a@sip.broadvoice.com
</a>'<br>Jan 24 18:53:32 DEBUG[31555] chan_sip.c: Stopping retransmission on '<a href="mailto:69ff069e38b6b5405120fc3b7fcb9203@192.168.4.105">69ff069e38b6b5405120fc3b7fcb9203@192.168.4.105</a>' of Request 102: Match Found
<br>Jan 24 18:53:36 VERBOSE[31567] logger.c: -- AMD: HANGUP<br>Jan 24 18:53:36 DEBUG[31567] app_amd.c: Got hangup<br>Jan 24 18:53:36 DEBUG[31567] pbx.c: Extension s, priority 2 returned normally even though call was hung up
<br>Jan 24 18:53:36 DEBUG[31567] chan_sip.c: update_call_counter(6079362172) - decrement call limit counter<br><br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">Michael Collins</b> <<a href="mailto:mcollins@fcnetwork.com">
mcollins@fcnetwork.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;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of
</span></b>Peter Halliday<br>
<b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 24, 2007
11:56 AM<br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users@lists.digium.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] setting
up AMD</span></font></p>
</div><div><span class="e" id="q_11055c0fffa215bb_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I'm trying get this
working. I've looked through the list, and can't see how to get AMD to
print out more. I have it call and say Hello like I normally would.
I've tried to say more and less doesn't seem to matter. After I hangup it
does recognize hangup. Here's logging during an attempt where I make
outbound call and answer, but then hangup after 1-2 seconds: <br>
<br>
Jan 24 17:01:37 VERBOSE[31455] logger.c: -- AMD:
SIP/sip.broadvoice.com-098c4aa8 6079362172 (null) (Fmt: 4)<br>
Jan 24 17:01:37 VERBOSE[31455] logger.c: -- AMD:
initialSilence [8000] greeting [1500] afterGreetingSilence [300]
totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50]
maximumNumberOfWords [5] silenceThreshold [256] <br>
Jan 24 17:01:44 DEBUG[31437] chan_sip.c: Auto destroying call '<a href="mailto:2223f71d5ccc73cc3f9b32a64fba2286@sip.broadvoice.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">2223f71d5ccc73cc3f9b32a64fba2286@sip.broadvoice.com
</a>'<br>
Jan 24 17:01:45 DEBUG[31447] manager.c: Manager received command 'Command'<br>
Jan 24 17:01:45 DEBUG[31447] manager.c: Manager received command 'Command'<br>
Jan 24 17:01:45 DEBUG[31447] manager.c: Manager received command '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>
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>
</span></font></p></span></div>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;">Peter,</span></font></p>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;">It looks like
your initial silence setting might be having trouble. The amd.conf file has a
value of 3500 but the log file is showing 8000. Try changing the amd.conf to
something like 3000 and issue a "reload" at the CLI. Make another
test call and see if the trace still shows 8000 for the initial silence. I
think having an initial silence value that is longer than the total analysis
time might be causing the undesired behavior.</span></font></p>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;"> </span></font></p>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;">Let us know what
happens when you try to modify the initial silence value. </span></font></p>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;"> </span></font></p>
<p><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy;">-MC</span></font></p>
</div>
</div>
</div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br></blockquote></div><br>