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 any help is highly appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090423/e2d62015/attachment.htm
On 4/23/09, Sam Hawkin <gvrtest at 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: HANGUPWhat version of Asterisk are you running this on? What is the dialplan path that this is running through? MATT---
Maybe the customer hangs up during the AMD analysis or you don't have any audio coming to asterisk through your sip channel. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sam Hawkin Sent: April-23-09 11:00 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] AMD Not Working 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 any help is highly appreciated. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090423/daae1518/attachment.htm
On 24/04/2009 3:00 a.m., Sam Hawkin 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.I'd say that the remote end of the call is hanging up - do a SIP debug so you can see what happens - the best way to test things like this is by calling your own number - that way you can guarantee it doesn't hang up :) -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
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 <astmattf at gmail.com> wrote:> On 4/23/09, Sam Hawkin <gvrtest at 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/30db0ad1/attachment-0001.htm
Hi, I am using my own number and not hanging up and audio is also coming please suggest our what might be the problem. Any help is highly appreciated. Thanks. On Thu, Apr 23, 2009 at 9:14 PM, Ruddy Gbaguidi <plugworld at micnes.com>wrote:> Maybe the customer hangs up during the AMD analysis or you don?t have > any audio coming to asterisk through your sip channel. > > > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Sam Hawkin > *Sent:* April-23-09 11:00 AM > *To:* asterisk-users at lists.digium.com > *Subject:* [asterisk-users] AMD Not Working > > > > 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 > > any help is highly appreciated. > > Thanks. > > _______________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/4684f85c/attachment.htm
Hi, Thanks for your reply. I have tried as you suggested, I does not even come upto NoOp() It hangups after AMD. I have decreased the silence threshold from 256 to 100 and 50. below is the log. -- Executing Answer("SIP/sip-38ea", "") in new stack -- Executing AMD("SIP/sip-38ea", "") in new stack -- AMD: SIP/sip-38ea (null) (null) (Fmt: 4) Apr 27 00:14:25 NOTICE[20035]: 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 [50] -- AMD: HANGUP vm3*CLI> Any help is highly appreciated. Thanks. On Mon, Apr 27, 2009 at 3:55 AM, Matt Riddell <lists at venturevoip.com> wrote:> On 25/04/2009 4:29 p.m., Sam Hawkin wrote: > > Hi, > > > > Thanks for your reply > > > > > > I have tried the HUMAN as you suggested , but still my problem does not > > get solved. > > I am answering the call and then running the amd. > > Below is the log. > > Few things. > > 1. Put an answer before the AMD line. > 2. Put a NoOp(Status: ${AMDSTATUS} Cause: ${AMDCAUSE}) after > 3. Decrease the silence threshold > > -- > Kind Regards, > > Matt Riddell > Director > _______________________________________________ > > http://www.venturevoip.com (Great new VoIP end to end solution) > http://www.venturevoip.com/news.php (Daily Asterisk News - html) > http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) > > _______________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090427/7d63e8d9/attachment.htm
On 27/04/2009 4:22 p.m., Sam Hawkin wrote:> Hi, > > Thanks for your reply. > > I have tried as you suggested, I does not even come upto NoOp() > It hangups after AMD. > I have decreased the silence threshold from 256 to 100 and 50.Try the NoOp in the h extension: exten => h,1,NoOp(Status: ${AMDSTATUS} Cause: ${AMDCAUSE}) -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
Hi, Thanks for your reply. I have tried as you suggested. In "h" extension it is giving Status as AMD_HANGUP. Below is the log -- Executing Answer("SIP/sip-874d", "") in new stack -- Executing AMD("SIP/sip-874d", "") in new stack -- AMD: SIP/sip-874d (null) (null) (Fmt: 4) Apr 28 00:53:41 NOTICE[5837]: 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 -- Executing NoOp("SIP/sip-874d", "Status: AMD_HANGUP Cause: ") in new stack vm3*CLI> Any help is highly appreciated. Thanks. On Mon, Apr 27, 2009 at 5:04 PM, Matt Riddell <lists at venturevoip.com> wrote:> On 27/04/2009 4:22 p.m., Sam Hawkin wrote: > > Hi, > > > > Thanks for your reply. > > > > I have tried as you suggested, I does not even come upto NoOp() > > It hangups after AMD. > > I have decreased the silence threshold from 256 to 100 and 50. > > Try the NoOp in the h extension: > > exten => h,1,NoOp(Status: ${AMDSTATUS} Cause: ${AMDCAUSE}) > > -- > Kind Regards, > > Matt Riddell > Director > _______________________________________________ > > http://www.venturevoip.com (Great new VoIP end to end solution) > http://www.venturevoip.com/news.php (Daily Asterisk News - html) > http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) > > _______________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090428/9b036b95/attachment.htm
" Hope your machine is not accessible via the Internet as 1.2.4 is likely to have quite a few security vulnerabilities in it." And they are ? the core itself ? LOL.. Im sure 1.6 has more than 1.2 or 1.4, but then again.. i was just reading a thread here " I have connected my Asterisk-box directly to my internetconnection. I have disabled my firewall. Still I am unable to register with my IAX-provider. Can someone" I think code 18 here, hence people getting hacked.. Probably with default settings that include (longdistance and international ) ;)>>-----Original Message----- >>From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- >>bounces at lists.digium.com] On Behalf Of Matt Riddell >>Sent: May-03-09 6:49 PM >>To: Asterisk Users Mailing List - Non-Commercial Discussion >>Subject: Re: [asterisk-users] AMD Not Working >> >>On 1/05/2009 10:10 p.m., Sam Hawkin wrote: >>> Hi, >>> >>> Thanks for your reply. >>> >>> I have tried to play the message 3 times, it played upto 30 >>seconds. >>> >>> We have installed amd based on the information given in below link >>> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+AMD >>> >>> We are using the asterisk 1.2.4 in production server, we cannot go >>to >>> new version. >> >>There are major changes (even in the 1.2 branch) since then, and >>Asterisk is now up to 1.6. >> >>How did AMD go? Is it a backport? >> >>Hope your machine is not accessible via the Internet as 1.2.4 is likely >>to have quite a few security vulnerabilities in it. >> >>-- >>Kind Regards, >> >>Matt Riddell >>Director >>_______________________________________________ >> >>http://www.venturevoip.com (Great new VoIP end to end solution) >>http://www.venturevoip.com/news.php (Daily Asterisk News - html) >>http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) >> >>_______________________________________________ >>-- 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