Re: [asterisk-users] AMD Not Working

2009-05-03 Thread ContactTel Business
" 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-boun...@lists.digium.com [mailto:asterisk-users-
>>boun...@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


___
-- 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


Re: [asterisk-users] AMD Not Working

2009-05-03 Thread Matt Riddell
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


Re: [asterisk-users] AMD Not Working

2009-05-01 Thread Sam Hawkin
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.

 Any help is highly appreciated.

 Thanks.


On Thu, Apr 30, 2009 at 11:09 AM, Matt Riddell wrote:

> On 30/04/2009 4:26 p.m., Sam Hawkin wrote:
> >   Hi,
> >
> > Thanks for your reply.
> > We I remove the AMD it plays the message in the 12 seconds.
> > It takes 16 seconds before AMD disconnects.
> > We are using Asterisk 1.2.4
> > Any help is highly appreciated.
>
> Few things:
>
> 1. Play the message twice without AMD (you might be being disconnected
> after 15 seconds)
> 2. I thought AMD wasn't present in 1.2.  Is it a backport?
> 3. 1.2.4 is quite an old version, any chance you could upgrade it to a
> more recent version?  There have been many bugs fixed since 1.2.4 was
> released.
>
> --
>  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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-29 Thread Matt Riddell
On 30/04/2009 4:26 p.m., Sam Hawkin wrote:
>   Hi,
>
> Thanks for your reply.
> We I remove the AMD it plays the message in the 12 seconds.
> It takes 16 seconds before AMD disconnects.
> We are using Asterisk 1.2.4
> Any help is highly appreciated.

Few things:

1. Play the message twice without AMD (you might be being disconnected 
after 15 seconds)
2. I thought AMD wasn't present in 1.2.  Is it a backport?
3. 1.2.4 is quite an old version, any chance you could upgrade it to a 
more recent version?  There have been many bugs fixed since 1.2.4 was 
released.

-- 
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


Re: [asterisk-users] AMD Not Working

2009-04-29 Thread Sam Hawkin
 Hi,

Thanks for your reply.
We I remove the AMD it plays the message in the 12 seconds.

It takes 16 seconds before AMD disconnects.

We are using Asterisk 1.2.4

Any help is highly appreciated.
Thanks.
On Thu, Apr 30, 2009 at 3:00 AM, Matt Riddell  wrote:

> On 30/04/2009 2:25 a.m., Sam Hawkin wrote:
> > Hi,
> > Thanks for your reply.
> > We donot kept any absolute time out's.
> > And we have remove the AMD and kept only the play back,
> > it works fine.
> > Any help is highly appreciated.
>
> Ok, so when you remove AMD and keep playback, how long is the message.
>
> Secondly, how long does it take before you are disconnected with AMD.
>
> Oh, and which version of Asterisk are you running?
>
> --
>  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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-29 Thread Matt Riddell
On 30/04/2009 2:25 a.m., Sam Hawkin wrote:
> Hi,
> Thanks for your reply.
> We donot kept any absolute time out's.
> And we have remove the AMD and kept only the play back,
> it works fine.
> Any help is highly appreciated.

Ok, so when you remove AMD and keep playback, how long is the message.

Secondly, how long does it take before you are disconnected with AMD.

Oh, and which version of Asterisk are you running?

-- 
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


Re: [asterisk-users] AMD Not Working

2009-04-29 Thread Sam Hawkin
Hi,

Thanks for your reply.

We donot kept any absolute time out's.
And we have remove the AMD and kept only the play back,
it works fine.

Any help is highly appreciated.

Thanks.

On Wed, Apr 29, 2009 at 6:35 AM, Matt Riddell  wrote:

> On 28/04/2009 4:56 p.m., Sam Hawkin wrote:
> >   Hi,
> >
> >   Thanks for your reply.
> >   I have tried as you suggested.
> >   In "h" extension it is giving Status as AMD_HANGUP.
>
> That normally means that the remote end disconnected the call - if I
> were you I'd do a SIP debug to find out why the call is being disconnected.
>
> You don't have any absolute timeouts or anything?
>
> The other thing to test would be to skip AMD for the moment and just
> play some audio instead and see if it hangs up in that case.
>
> --
>  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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-28 Thread Matt Riddell
On 28/04/2009 4:56 p.m., Sam Hawkin wrote:
>   Hi,
>
>   Thanks for your reply.
>   I have tried as you suggested.
>   In "h" extension it is giving Status as AMD_HANGUP.

That normally means that the remote end disconnected the call - if I 
were you I'd do a SIP debug to find out why the call is being disconnected.

You don't have any absolute timeouts or anything?

The other thing to test would be to skip AMD for the moment and just 
play some audio instead and see if it hangs up in that case.

-- 
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


Re: [asterisk-users] AMD Not Working

2009-04-27 Thread Sam Hawkin
 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  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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-27 Thread Matt Riddell
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


Re: [asterisk-users] AMD Not Working

2009-04-26 Thread Sam Hawkin
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  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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-26 Thread Matt Riddell
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



Re: [asterisk-users] AMD Not Working

2009-04-24 Thread Sam Hawkin
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.

 -- AMD: SIP/sip-58ab (null) (null) (Fmt: 4)
Apr 25 00:26:07 NOTICE[27310]: 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
vm3*CLI>


Any help is highly appreciated.

Thanks.

On Fri, Apr 24, 2009 at 4:03 PM, Matt Florell  wrote:

> Hello,
>
> Well, depending on the version of app_amd that you used when you added
> it to Asterisk 1.2, you might need to use HUMAN and MACHINE as the
> possible AMDSTATUS instead of AMD_PERSON and AMD_MACHINE. The
> AMDSTATUS was changed at some point in the app_amd code, not sure why
> they changed it, but that might be your issue.
>
> Also, since you are calling your own number you might want to do an
> Answer on the call before running AMD, not sure if that would cause
> the hangups you are seeing or not, but it's something to try.
>
> MATT---
>
> On 4/24/09, Sam Hawkin  wrote:
> >
> > 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(${ARG1})
> >  exten => s,5,Playback(${ARG1})
> > exten => s,6,Hangup
> > exten => s,7,GotoIf($[${AMDSTATUS}=AMD_MACHINE]?8:11)
> > exten =>
> > s,8,NoOp(${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 
> wrote:
> >
> > >
> > >
> > >
> > >
> > > On 4/23/09, 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.
> > > >
> > > > 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
> >
>
> ___
> -- 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

Re: [asterisk-users] AMD Not Working

2009-04-24 Thread Matt Florell
Hello,

Well, depending on the version of app_amd that you used when you added
it to Asterisk 1.2, you might need to use HUMAN and MACHINE as the
possible AMDSTATUS instead of AMD_PERSON and AMD_MACHINE. The
AMDSTATUS was changed at some point in the app_amd code, not sure why
they changed it, but that might be your issue.

Also, since you are calling your own number you might want to do an
Answer on the call before running AMD, not sure if that would cause
the hangups you are seeing or not, but it's something to try.

MATT---

On 4/24/09, Sam Hawkin  wrote:
>
> 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(${ARG1})
>  exten => s,5,Playback(${ARG1})
> exten => s,6,Hangup
> exten => s,7,GotoIf($[${AMDSTATUS}=AMD_MACHINE]?8:11)
> exten =>
> s,8,NoOp(${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  wrote:
>
> >
> >
> >
> >
> > On 4/23/09, 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.
> > >
> > > 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
>

___
-- 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


Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Sam Hawkin
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(${ARG1})
exten => s,5,Playback(${ARG1})
exten => s,6,Hangup
exten => s,7,GotoIf($[${AMDSTATUS}=AMD_MACHINE]?8:11)
exten => s,8,NoOp(${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  wrote:

>  On 4/23/09, 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.
> >
> > 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

Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Sam Hawkin
Hi,

Thanks for your reply

I am using my own number and not hanging up. and sip debug is also not
showing much
information regarding the failure.
please suggest our what might be the problem.

Any help is highly appreciated.

Thanks.


On Fri, Apr 24, 2009 at 4:58 AM, Steve Totaro <
stot...@totarotechnologies.com> wrote:

>
>
>  On Thu, Apr 23, 2009 at 6:12 PM, Matt Riddell wrote:
>
>> 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)
>>
>
>
> You can also run Orecx on the localhost (for very small production or lab
> systems) or on a different host via mirrored switch port and then listen to
> all calls (SIP and other VoIP), or RTPTap via Sangoma cards).
>
> I have done this many times to catch intermittent problems that are
> continuously reported by users but cannot be readily reproduced.  I just ask
> that the user log the time of the call and what they experienced, then I can
> listen to the recording, ascertain all the critical info that users leave
> off trouble reports, and figure out the commonalities.  Obviously, all due
> notice/permission and/or legal disclosures should be made/given before
> recording anything.
>
> It is great for troubleshooting (and yes, calls do get crossed and all
> kinds of other strangness in Asterisk, you know, what you write off as user
> error :-)
>
> --
> Thanks,
> Steve Totaro
> +18887771888 (Toll Free)
> +12409381212 (Cell)
>
> ___
> -- 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

Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Sam Hawkin
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 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-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *On Behalf Of *Sam Hawkin
> *Sent:* April-23-09 11:00 AM
> *To:* asterisk-users@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
>
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Steve Totaro
On Thu, Apr 23, 2009 at 6:12 PM, Matt Riddell  wrote:

> 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)
>


You can also run Orecx on the localhost (for very small production or lab
systems) or on a different host via mirrored switch port and then listen to
all calls (SIP and other VoIP), or RTPTap via Sangoma cards).

I have done this many times to catch intermittent problems that are
continuously reported by users but cannot be readily reproduced.  I just ask
that the user log the time of the call and what they experienced, then I can
listen to the recording, ascertain all the critical info that users leave
off trouble reports, and figure out the commonalities.  Obviously, all due
notice/permission and/or legal disclosures should be made/given before
recording anything.

It is great for troubleshooting (and yes, calls do get crossed and all kinds
of other strangness in Asterisk, you know, what you write off as user error
:-)

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
___
-- 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

Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Matt Riddell
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)

___
-- 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


Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Ruddy Gbaguidi
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-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Sam Hawkin
Sent: April-23-09 11:00 AM
To: asterisk-users@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

Re: [asterisk-users] AMD Not Working

2009-04-23 Thread Matt Florell
On 4/23/09, 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.
>
> 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


[asterisk-users] AMD Not Working

2009-04-23 Thread Sam Hawkin
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