<div>Hi,</div><div><br></div><div>do noop(${AMDCAUSE}) after 
<span style="color:rgb(0,0,255)">exten =&gt; 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&#39;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&#39;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">&lt;<a href="mailto:manuliste@manu-dpk.net">manuliste@manu-dpk.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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&#39;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 =&gt; s,1,Ringing() <br>exten 
=&gt; s,2,Wait(2)<br>exten =&gt; s,3,Answer()  <br>exten =&gt; 
s,4,Set(NbInvalide=0)<br>exten =&gt; s,5,Set(NbEssai=0)<br>exten =&gt; 
s,6,background(${ChmAudio}/ServeurProBienvenu)<br>exten =&gt; 
s,7,WaitExten(2)</font></div>
<div><font color="#0000ff"></font> </div>
<div><font color="#0000ff">exten =&gt; 1,1,AMD()<br>exten =&gt; 
1,2,GotoIf($[&quot;${AMDSTATUS}&quot;=&quot;MACHINE&quot;]?1,4)<br>exten =&gt; 1,3,Dial(<a href="mailto:SIP/xxxxxxxx@ippi_outgoing2,40,r" target="_blank">SIP/xxxxxxxx@ippi_outgoing2,40,r</a>)<br>exten 
=&gt; 1,4,Voicemail(<a href="mailto:801@FloriePro,us" target="_blank">801@FloriePro,us</a>)<br>exten =&gt; 
i,1,Set(NbInvalide=$[${NbInvalide}+1]})<br>exten =&gt; 
i,2,Gotoif($[&quot;${NbInvalide}&quot; &lt; &quot;3&quot;]?:6)<br>exten =&gt; 
i,3,Playback(${ChmAudio}/ErreurSaisie) <br>exten =&gt; 
i,4,Playback(${ChmAudio}/RetourMenu) <br>exten =&gt; i,5,Goto(s,6)<br>exten 
=&gt; i,6,Playback(${ChmAudio}/ErreurSaisie)<br>exten =&gt; 
i,7,Playback(${ChmAudio}/Aurevoir)<br>exten =&gt; i,8,Hangup()<br>exten =&gt; 
t,1,Set(NbEssai=$[${NbEssai}+1])<br>exten =&gt; t,2,Gotoif($[&quot;${NbEssai}&quot; &lt; 
&quot;3&quot;]?:5)<br>exten =&gt; t,3,Playback(${ChmAudio}/DemandeIncomprise) <br>exten 
=&gt; t,4,Goto(s,6)<br>exten =&gt; t,5,PlayBack(${ChmAudio}/Aurevoir)<br>exten 
=&gt; t,6,Hangup()<br>exten =&gt; h,1,noOp(&quot;Statut AMD : 
&quot;${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&#39;environnnement, n&#39;imprimez ce mail qu&#39;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>