Hi,

Thanks for your reply

We are using the Asterisk 1.2.4.
and below the dialplan path. we are orginating the call to
my number and connection it to context cdtest and extension 1.

[cdtest]
exten => 1,1,NoOp( cb amd issue testing )
exten => 1,2,Macro(Cb-old|/root/business_hours|/root/business_hours)

[macro-Cb]
exten => s,1,NoOp( values in CB arg1 ${ARG1} arg2 ${ARG1} )
exten => s,2,AMD
exten => s,3,GotoIf($[${AMDSTATUS}=AMD_PERSON]?4:7)
exten => s,4,NoOp(<------------Human------------playing---------->${ARG1})
exten => s,5,Playback(${ARG1})
exten => s,6,Hangup
exten => s,7,GotoIf($[${AMDSTATUS}=AMD_MACHINE]?8:11)
exten => s,8,NoOp(<------------Machine-----------playing---------->${ARG2})
exten => s,9,Playback(${ARG2})
exten => s,10,Goto(s|12)
exten => s,11,Playback(${ARG1})

please suggest our what might be the problem.

Any help is highly appreciated.


Thanks.


On Thu, Apr 23, 2009 at 8:36 PM, Matt Florell <astma...@gmail.com> wrote:

>  On 4/23/09, Sam Hawkin <gvrt...@gmail.com> wrote:
> >
> >
> > Hi All,
> >
> > I am trying to use the AMD (Answering Machine Detect).
> > But it is not sending the AMD_Status as either
> > the Human or Machine, it hangs up in middle.
> >
> > can any one suggest us, what might be the problem
> > and possible solution to it.
> >
> > below is the log
> >
> >  -- Executing AMD("SIP/sip-ffe0", "") in new stack
> >     -- AMD: SIP/sip-ffe0 14082284927 (null) (Fmt: 4)
> > Apr 23 08:00:26 NOTICE[28319]: app_amd.c:134 isAnsweringMachine: AMD
> using
> > the default parameters.
> >      -- AMD: initialSilence [3500] greeting [1500] afterGreetingSilence
> > [300] totalAnalysisTime [5000] minimumWordLength [120]
> betweenWordsSilence
> > [50] maximumNumberOfWords [5] silenceThreshold [256]
> >     -- AMD: HANGUP
>
> What version of Asterisk are you running this on?
>
> What is the dialplan path that this is running through?
>
> MATT---
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to