<div dir="ltr"><br>​Tirei o comentário das duas informações citadas acima, ficando assim:<div><br></div><div><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em">answeronpolarityswitch = yes<br></span><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em">hanguponpolarityswitch = yes</span><br></div><div><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em"><br></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em">porém o sistema continua iniciando o script sem o atendimento da linha.</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em">Segue o log do Asterisk:</span></div><div><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:1.1em"><br></span></div><div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Attempting call on Local/81238123@from-internal for application Agi(agi://<a href="http://192.168.0.1/script.agi">192.168.0.1/script.agi</a>) (Retry 1)</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Executing [</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">@from-internal:1] Dial(&quot;Local/</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">@from-internal-00000000;2&quot;, &quot;DAHDI/1/</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">,60,r&quot;) in new stack</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Called DAHDI/1/</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">DAHDI/1-1 answered Local/</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">@from-internal-00000001;2</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Playing &#39;custom/msg1&#39; (escape_digits=) (sample_offset 0)</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">&lt;Local/</span></font><span style="color:rgb(0,0,0);font-family:&#39;times new roman&#39;,&#39;new york&#39;,times,serif;font-size:14px">81238123</span><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">@from-internal-00000001;1&gt;AGI Script agi://<a href="http://192.168.0.1/script.agi">192.168.0.1/script.agi</a> completed, returning 4</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Hanging up on &#39;DAHDI/1-1&#39;</span></font></div><div><font color="#000000" face="times new roman, new york, times, serif"><span style="font-size:14px">Hungup &#39;DAHDI/1-1&#39;</span></font></div></div></div>