<p>Hi,<br> <br>Thanks for your reply</p>
<p> <br>I have tried the HUMAN as you suggested , but still my problem does not get solved.<br>I am answering the call and then running the amd.<br>Below is the log.</p>
<p> -- AMD: SIP/sip-58ab (null) (null) (Fmt: 4)<br>Apr 25 00:26:07 NOTICE[27310]: app_amd.c:134 isAnsweringMachine: AMD using the default parameters.<br> -- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence [300] totalAnalysisTime [5000] minimumWordLength [120] betweenWordsSilence [50] maximumNumberOfWords [5] silenceThreshold [256] <br>
-- AMD: HANGUP<br>vm3*CLI> </p>
<p> <br>Any help is highly appreciated.</p>
<p>Thanks.<br><br></p>
<div class="gmail_quote">On Fri, Apr 24, 2009 at 4:03 PM, Matt Florell <span dir="ltr"><<a href="mailto:astmattf@gmail.com">astmattf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br>Well, depending on the version of app_amd that you used when you added<br>it to Asterisk 1.2, you might need to use HUMAN and MACHINE as the<br>
possible AMDSTATUS instead of AMD_PERSON and AMD_MACHINE. The<br>AMDSTATUS was changed at some point in the app_amd code, not sure why<br>they changed it, but that might be your issue.<br><br>Also, since you are calling your own number you might want to do an<br>
Answer on the call before running AMD, not sure if that would cause<br>the hangups you are seeing or not, but it's something to try.<br><font color="#888888"><br>MATT---<br></font>
<div>
<div></div>
<div class="h5"><br>On 4/24/09, Sam Hawkin <<a href="mailto:gvrtest@gmail.com">gvrtest@gmail.com</a>> wrote:<br>><br>> Hi,<br>><br>> Thanks for your reply<br>><br>> We are using the Asterisk 1.2.4.<br>
> and below the dialplan path. we are orginating the call to<br>> my number and connection it to context cdtest and extension 1.<br>><br>> [cdtest]<br>> exten => 1,1,NoOp( cb amd issue testing )<br>> exten =><br>
> 1,2,Macro(Cb-old|/root/business_hours|/root/business_hours)<br>><br>> [macro-Cb]<br>> exten => s,1,NoOp( values in CB arg1 ${ARG1} arg2 ${ARG1} )<br>> exten => s,2,AMD<br>> exten => s,3,GotoIf($[${AMDSTATUS}=AMD_PERSON]?4:7)<br>
> exten =><br>> s,4,NoOp(<------------Human------------playing---------->${ARG1})<br>> exten => s,5,Playback(${ARG1})<br>> exten => s,6,Hangup<br>> exten => s,7,GotoIf($[${AMDSTATUS}=AMD_MACHINE]?8:11)<br>
> exten =><br>> s,8,NoOp(<------------Machine-----------playing---------->${ARG2})<br>> exten => s,9,Playback(${ARG2})<br>> exten => s,10,Goto(s|12)<br>> exten => s,11,Playback(${ARG1})<br>
><br>> please suggest our what might be the problem.<br>><br>> Any help is highly appreciated.<br>><br>><br>> Thanks.<br>><br>><br>><br>> On Thu, Apr 23, 2009 at 8:36 PM, Matt Florell <<a href="mailto:astmattf@gmail.com">astmattf@gmail.com</a>> wrote:<br>
><br>> ><br>> ><br>> ><br>> ><br>> > On 4/23/09, Sam Hawkin <<a href="mailto:gvrtest@gmail.com">gvrtest@gmail.com</a>> wrote:<br>> > ><br>> > ><br>> > > Hi All,<br>
> > ><br>> > > I am trying to use the AMD (Answering Machine Detect).<br>> > > But it is not sending the AMD_Status as either<br>> > > the Human or Machine, it hangs up in middle.<br>> > ><br>
> > > can any one suggest us, what might be the problem<br>> > > and possible solution to it.<br>> > ><br>> > > below is the log<br>> > ><br>> > > -- Executing AMD("SIP/sip-ffe0", "") in new stack<br>
> > > -- AMD: SIP/sip-ffe0 14082284927 (null) (Fmt: 4)<br>> > > Apr 23 08:00:26 NOTICE[28319]: app_amd.c:134 isAnsweringMachine: AMD<br>> using<br>> > > the default parameters.<br>> > > -- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence<br>
> > > [300] totalAnalysisTime [5000] minimumWordLength [120]<br>> betweenWordsSilence<br>> > > [50] maximumNumberOfWords [5] silenceThreshold [256]<br>> > > -- AMD: HANGUP<br>> ><br>
> > What version of Asterisk are you running this on?<br>> ><br>> > What is the dialplan path that this is running through?<br>> ><br>> > MATT---<br>> ><br>> > _______________________________________________<br>
> > -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> ><br>><br>><br>> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>