<div dir="ltr">Ivan, eu uso através de macro, não usei assim no mesmo contexto, mais tentei colocar o AMD antes do Dial<div><br></div><div><span style="font-size:12.8000001907349px">exten =&gt; </span><span style="font-size:12.8000001907349px">_15X.,1</span><span style="font-size:12.8000001907349px">,Noop(&gt;&gt;&gt; DISCAGEM INICIADA &lt;&lt;&lt;)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> same =&gt; n,AMD()</span><br></div><div><span style="font-size:12.8000001907349px"> same =&gt; n,Dial(SIP/${EXTEN}@</span><span style="font-size:12.8000001907349px">IPCORP)</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">same =&gt; n,NoOp(${AMDSTATUS})</span><br style="font-size:12.8000001907349px"></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b style="background-color:rgb(255,255,255)"><font color="#0000ff">att</font></b><div><b style="background-color:rgb(255,255,255)"><font color="#0000ff">Danilo Almeida</font></b></div></div></div></div>
<br><div class="gmail_quote">Em 24 de março de 2015 10:44, Ivan de Almeida <span dir="ltr">&lt;<a href="mailto:ivan.grupoksl@hotmail.com" target="_blank">ivan.grupoksl@hotmail.com</a>&gt;</span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Bom dia,<br><br>Estou tendo problemas ao utilizar as funções do AMD()<br>Eu criei o teste lógico para identificar se é o atendimento é feito por maquina ou humano, porem o problema esta quando efetuo ligação. O telefone não toca nem nada, pelo que percebi assim que inicio a chamada o AMD é executado.<br>Em meu softphone não ouço ring nem nada.<br>Alguém poderia me dar um auxilio? Abaixo o extension que utilizei para um teste e em seguida o resulta que me é retornado<br><br>exten =&gt; _15X.,1,Dial(SIP/${EXTEN}@IPCORP)<br> same =&gt; n,Noop(&gt;&gt;&gt; DISCAGEM INICIADA &lt;&lt;&lt;)<br> same =&gt; n,AMD()<br> same =&gt; n,NoOp(${AMDSTATUS})<br><br><br><br>  == Using SIP RTP TOS bits 184<br>  == Using SIP RTP CoS mark 5<br>    -- Executing [151130281559@from-internal:1] Dial(&quot;SIP/2580-00000004&quot;, &quot;SIP/151130281559@IPCORP&quot;) in new stack<br>  == Using SIP RTP TOS bits 184<br>  == Using SIP RTP CoS mark 5<br>    -- Called SIP/151130281559@IPCORP<br>  == Everyone is busy/congested at this time (1:0/0/1)<br>    -- Executing [151130281559@from-internal:2] NoOp(&quot;SIP/2580-00000004&quot;, &quot;&gt;&gt;&gt; DISCAGEM INICIADA &lt;&lt;&lt;&quot;) in new stack<br>    -- Executing [151130281559@from-internal:3] NoCDR(&quot;SIP/2580-00000004&quot;, &quot;&quot;) in new stack<br>    -- Executing [151130281559@from-internal:4] AMD(&quot;SIP/2580-00000004&quot;, &quot;&quot;) in new stack<br>    -- AMD: SIP/2580-00000004 2580 (N/A) (Fmt: ulaw)<br>    -- AMD: initialSilence [5000] greeting [1500] afterGreetingSilence [800] totalAnalysisTime [5100] minimumWordLength [100] betweenWordsSilence [50] maximumNumberOfWords [3] silenceThreshold [256] maximumWordLength [5000]<br>    -- AMD: Channel [SIP/2580-00000004]. Changed state to STATE_IN_SILENCE<br>    -- AMD: Channel [SIP/2580-00000004]. ANSWERING MACHINE: silenceDuration:5000 initialSilence:5000<br>    -- Executing [151130281559@from-internal:5] NoOp(&quot;SIP/2580-00000004&quot;, &quot;MACHINE&quot;) in new stack<br><br> <br>                                               </div></div>
<br>_______________________________________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7<br>
Intercomunicadores para acesso remoto via rede IP e telefones IP<br>
Conheça todo o portfólio em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a><br>
_______________________________________________<br>
DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.<br>
Construa soluções de PABX IP com produtos DigiVoice - visite  <a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div><br></div>