<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.13" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff>Thank you, I'll try and say you after.</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=a.skirgaila@gmail.com href="mailto:a.skirgaila@gmail.com">Aurimas
Skirgaila</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=manuliste@manu-dpk.net
href="mailto:manuliste@manu-dpk.net">Etann</A> ; <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">Asterisk Users Mailing List -
Non-Commercial Discussion</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 03, 2012 8:36
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [asterisk-users] amd detect
answering machine</DIV>
<DIV><BR></DIV>
<DIV>Hi,</DIV>
<DIV><BR></DIV>
<DIV>do noop(${AMDCAUSE}) after <SPAN style="COLOR: rgb(0,0,255)">exten
=> 1,1,AMD()</SPAN> , run some test calls and find out why the call
was detected as Answering Machine and adjust amd.conf accordingly. if I recall
correctly, you can also see the AMD flow in Asterisk in verbose mode.</DIV>
<DIV><BR></DIV>
<DIV>I'd suspect low <SPAN
style="COLOR: rgb(0,0,255)">silence_threshold</SPAN><SPAN
style="COLOR: rgb(0,0,255)"> </SPAN>. I usually set it 384, but it's
very dependent on carrier.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV><BR>
<DIV class=gmail_quote>On Thu, Feb 2, 2012 at 5:51 PM, Etann <SPAN
dir=ltr><<A
href="mailto:manuliste@manu-dpk.net">manuliste@manu-dpk.net</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT color=#0000ff>Hi,</FONT></DIV>
<DIV><FONT color=#0000ff>I have IVR and when I press 1, asterisk calls my
mobile phone.</FONT></DIV>
<DIV><FONT color=#0000ff>If my mobile phone is offline, asterisk transfers
to asterisk voicemail.</FONT></DIV>
<DIV><FONT color=#0000ff>I'd like asterisk detects my mobile voicemail and
if my mobile voicemail answers, asterisk transfers to asterisk
voicemail.</FONT></DIV>
<DIV><FONT color=#0000ff>For that, I used AMD.</FONT></DIV>
<DIV><FONT color=#0000ff>So I have problems ! Asterisk detects answering
machine everytime!</FONT></DIV>
<DIV><FONT color=#0000ff>How do I do please ?</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>extensions.conf</FONT></DIV>
<DIV><FONT color=#0000ff>[ServeurPro]<BR>exten => s,1,Ringing() <BR>exten
=> s,2,Wait(2)<BR>exten => s,3,Answer() <BR>exten =>
s,4,Set(NbInvalide=0)<BR>exten => s,5,Set(NbEssai=0)<BR>exten =>
s,6,background(${ChmAudio}/ServeurProBienvenu)<BR>exten =>
s,7,WaitExten(2)</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>exten => 1,1,AMD()<BR>exten =>
1,2,GotoIf($["${AMDSTATUS}"="MACHINE"]?1,4)<BR>exten => 1,3,Dial(<A
href="mailto:SIP/xxxxxxxx@ippi_outgoing2,40,r"
target=_blank>SIP/xxxxxxxx@ippi_outgoing2,40,r</A>)<BR>exten =>
1,4,Voicemail(<A href="mailto:801@FloriePro,us"
target=_blank>801@FloriePro,us</A>)<BR>exten =>
i,1,Set(NbInvalide=$[${NbInvalide}+1]})<BR>exten =>
i,2,Gotoif($["${NbInvalide}" < "3"]?:6)<BR>exten =>
i,3,Playback(${ChmAudio}/ErreurSaisie) <BR>exten =>
i,4,Playback(${ChmAudio}/RetourMenu) <BR>exten => i,5,Goto(s,6)<BR>exten
=> i,6,Playback(${ChmAudio}/ErreurSaisie)<BR>exten =>
i,7,Playback(${ChmAudio}/Aurevoir)<BR>exten => i,8,Hangup()<BR>exten
=> t,1,Set(NbEssai=$[${NbEssai}+1])<BR>exten =>
t,2,Gotoif($["${NbEssai}" < "3"]?:5)<BR>exten =>
t,3,Playback(${ChmAudio}/DemandeIncomprise) <BR>exten =>
t,4,Goto(s,6)<BR>exten => t,5,PlayBack(${ChmAudio}/Aurevoir)<BR>exten
=> t,6,Hangup()<BR>exten => h,1,noOp("Statut AMD :
"${AMDSTATUS})<BR></FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>amd.conf</FONT></DIV>
<DIV><FONT color=#0000ff>[general]<BR>initial_silence = 2500 ;
Maximum silence duration before the greeting.<BR> ;
If exceeded then MACHINE.<BR>greeting = 1500 ; Maximum
length of a greeting. If exceeded then MACHINE.<BR>after_greeting_silence =
500 ; Silence after detecting a greeting.<BR> ;
If exceeded then HUMAN<BR>total_analysis_time = 5000 ; Maximum time
allowed for the algorithm to decide<BR> ; on a HUMAN
or MACHINE<BR>min_word_length = 120 ; Minimum duration of Voice
to considered as a word<BR>between_words_silence = 50 ; Minimum
duration of silence after a word to consider<BR> ;
the audio what follows as a new word<BR>maximum_number_of_words = 3 ;
Maximum number of words in the greeting.<BR> ; If
exceeded then MACHINE<BR>silence_threshold = 256</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff>Thank you for your reply and for help!</FONT></DIV>
<DIV><FONT color=#0000ff>
<HR>
<P>AMICALEMENT<BR>Manu<BR><BR>SITES WEBS<BR><A
href="http://www.manu-dpk.net/" target=_blank>Mon site web Officiel
(Manu-dpk.net)</A><BR><A href="http://webradio.manu-dpk.net/?page=Radio"
target=_blank>Ecoutez Radio DPK</A><BR><BR>CONTACT<BR>- E-mail : <A
href="mailto:manuliste@manu-dpk.net"
target=_blank>manuliste@manu-dpk.net</A><BR>- Messenger (WLM) : <A
href="mailto:msn@manu-dpk.net" target=_blank>msn@manu-dpk.net</A><BR>- Skype
: manu-dpk<BR></P>
<HR>
<P></P>
<BLOCKQUOTE>PS : Pour le respect de l'environnnement, n'imprimez ce mail
qu'en cas de nécessité. </BLOCKQUOTE>
<P></P></FONT></DIV></DIV><BR>--<BR>_____________________________________________________________________<BR>--
Bandwidth and Colocation Provided by <A href="http://www.api-digital.com"
target=_blank>http://www.api-digital.com</A> --<BR>New to Asterisk? Join us
for a live introductory webinar every Thurs:<BR>
<A href="http://www.asterisk.org/hello"
target=_blank>http://www.asterisk.org/hello</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></BLOCKQUOTE></DIV><BR><BR
clear=all>
<DIV><BR></DIV>-- <BR>Mvh,<BR>Aurimas Skirgaila<BR></BLOCKQUOTE></BODY></HTML>