Então Thiago, quando vc pediu pra tirar o answer o wait(2) ficou como primeira opção, e msmo assim não funcionou.<br><br>A placa me aparece assim no lspci:<br>01:01.0 Communication controller: Motorola Wildcard X100P<br>A versão do DAHDI é <strong>2.1.0.4<br>

<br></strong><br><br><br><div id="WISESTAMP_SIG_4628"><div style="font-size: 13.3px; font-family: Verdana, Arial, Helvetica, sans-serif;"><div style="border-top: 1px solid #e5e5e5;background-color: #f8f8f8;padding: 0.8em 0.8em 0.3em 0.8em;">

<div style="margin: 0 0 8px 0"><p style="margin:0; "><span style="font-family: courier new,courier;">Fernando Vieira A. Diaz</span></p><div style="clear:both"></div></div><span style="color: gray;">My profiles: </span> <a href="http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924" style="text-decoration: underline"><img alt="Facebook" style="padding: 0px 0px 5px 0px; vertical-align: middle;" src="http://images.wisestamp.com/facebook.png" border="0" height="16" width="16"></a> <a href="http://twitter.com/#%21/diazfernando" style="text-decoration: underline"><img alt="Twitter" style="padding: 0px 0px 5px 0px; vertical-align: middle;" src="http://images.wisestamp.com/twitter.png" border="0" height="16" width="16"></a> <a href="http://www.orkut.com.br/Main#Profile?uid=12494510726739126423" style="text-decoration: underline"><img alt="Orkut" style="padding: 0px 0px 5px 0px; vertical-align: middle;" src="http://images.wisestamp.com/orkut.png" border="0" height="16" width="16"></a><br>

<span style="color: gray;">Contact me: </span> <img alt="MSN" style="padding: 0px 0px 5px 0px; vertical-align: middle;" src="http://images.wisestamp.com/msn.png" border="0" height="16" width="16"> <a href="mailto:fndiaz2@hotmail.com">fndiaz2@hotmail.com</a><br>

</div><div style="margin-top: 3px;padding-top: 2px; font-size: 70%;"><a style="color: #aaa; text-decoration: none;" href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313553287533&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0"><span style="color: #aaa;">Signature powered by </span></a><a style="color: #555; text-decoration: none;" href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313553287533&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0"><span style="color: #444;">WiseStamp</span></a> <img src="http://pr1.wisestamp.com/p.gif?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313553287533&amp;promo=0" height="1" width="1"></div>

<img src="http://p1.wisestamp.com/pixel.png?p=mozilla&amp;v=2.6.1.0&amp;t=1313553287533&amp;u=c98df2340c4ca423" height="1" width="1"></div></div><div class="gmail_quote">Em 17 de agosto de 2011 00:43, THIAGO RODRIGUES <span dir="ltr">&lt;<a href="mailto:thiagohardware.sp@gmail.com">thiagohardware.sp@gmail.com</a>&gt;</span> escreveu:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>Faz um outro teste. Ao inves do Answer coloca um Wait(1). Outra pergunta. Qual a placa que vc usa e a versão do dahdi?</p>


<div class="gmail_quote">Em 17/08/2011 00:31, &quot;Fernando Vieira&quot; &lt;<a href="mailto:fndiaz02@gmail.com" target="_blank">fndiaz02@gmail.com</a>&gt; escreveu:<div><div></div><div class="h5"><br type="attribution">

&gt; E ae Thiago, fiz o que vc pediu tirei o answer, mais ainda não adiantou...<br>
&gt; ae vai o procedimento pelo cli<br>&gt; Obs: (pelo cli parece que ele pega o comando e desliga, mais isso não<br>&gt; acontece)<br>&gt; <br>&gt;  -- Executing [s@fxo:1] GotoIfTime(&quot;DAHDI/1-1&quot;,<br>&gt; &quot;00:00-23:59,mon-sat,*,*?fxo-open,s,1&quot;) in new stack<br>


&gt;     -- Goto (fxo-open,s,1)<br>&gt;     -- Executing [s@fxo-open:1] Goto(&quot;DAHDI/1-1&quot;, &quot;teste-ura,s,1&quot;) in new<br>&gt; stack<br>&gt;     -- Goto (teste-ura,s,1)<br>&gt;     -- Executing [s@teste-ura:1] Wait(&quot;DAHDI/1-1&quot;, &quot;2&quot;) in new stack<br>


&gt;     -- Executing [s@teste-ura:2] Set(&quot;DAHDI/1-1&quot;, &quot;TIMEOUT(response)=3&quot;) in<br>&gt; new stack<br>&gt;     -- Response timeout set to 3<br>&gt;     -- Executing [s@teste-ura:3] BackGround(&quot;DAHDI/1-1&quot;,<br>


&gt; &quot;custom/Fernanda(1)&quot;) in new stack<br>&gt;     -- &lt;DAHDI/1-1&gt; Playing &#39;custom/Fernanda(1).slin&#39; (language &#39;pt_BR&#39;)<br>&gt;     -- ast_get_srv: SRV lookup for &#39;_sip._<a href="http://UDP.vono.net.br" target="_blank">UDP.vono.net.br</a>&#39; mapped to host<br>


&gt; <a href="http://sbc5.vono.net.br" target="_blank">sbc5.vono.net.br</a>, port 5060<br>&gt;     -- Executing [s@teste-ura:4] WaitExten(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<br>&gt;     -- Timeout on DAHDI/1-1, continuing...<br>


&gt;     -- Executing [s@teste-ura:5] BackGround(&quot;DAHDI/1-1&quot;,<br>&gt; &quot;custom/Fernanda(1)&quot;) in new stack<br>&gt;     -- &lt;DAHDI/1-1&gt; Playing &#39;custom/Fernanda(1).slin&#39; (language &#39;pt_BR&#39;)<br>


&gt;     -- Executing [s@teste-ura:6] WaitExten(&quot;DAHDI/1-1&quot;, &quot;5&quot;) in new stack<br>&gt;     -- ast_get_srv: SRV lookup for &#39;_sip._<a href="http://UDP.vono.net.br" target="_blank">UDP.vono.net.br</a>&#39; mapped to host<br>


&gt; <a href="http://sbc5.vono.net.br" target="_blank">sbc5.vono.net.br</a>, port 5060<br>&gt;     -- Timeout on DAHDI/1-1, continuing...<br>&gt;     -- Executing [s@teste-ura:7] Playback(&quot;DAHDI/1-1&quot;, &quot;vm-goodbye&quot;) in new<br>


&gt; stack<br>&gt;     -- &lt;DAHDI/1-1&gt; Playing &#39;vm-goodbye.slin&#39; (language &#39;pt_BR&#39;)<br>&gt;     -- Executing [s@teste-ura:8] Hangup(&quot;DAHDI/1-1&quot;, &quot;&quot;) in new stack<br>&gt;   == Spawn extension (teste-ura, s, 8) exited non-zero on &#39;DAHDI/1-1&#39;<br>


&gt;     -- Hungup &#39;DAHDI/1-1&#39;<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Fernando Vieira A. Diaz<br>&gt; My profiles: [image:<br></div></div><div class="im">&gt; Facebook]&lt;<a href="http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924" target="_blank">http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924</a>&gt;<br>


&gt; [image:<br>&gt; Twitter] &lt;<a href="http://twitter.com/#%21/diazfernando" target="_blank">http://twitter.com/#%21/diazfernando</a>&gt; [image:<br>&gt; Orkut]&lt;<a href="http://www.orkut.com.br/Main#Profile?uid=12494510726739126423" target="_blank">http://www.orkut.com.br/Main#Profile?uid=12494510726739126423</a>&gt;<br>


&gt; Contact me: [image: MSN] <a href="mailto:fndiaz2@hotmail.com" target="_blank">fndiaz2@hotmail.com</a><br>&gt; Signature powered by<br></div>&gt; &lt;<a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313551719150&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0" target="_blank">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313551719150&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a>&gt;<br>


&gt; WiseStamp&lt;<a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313551719150&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0" target="_blank">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313551719150&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a>&gt;<div>

<div></div><div class="h5"><br>
&gt; <br>&gt; Em 17 de agosto de 2011 00:06, THIAGO RODRIGUES &lt;<a href="mailto:thiagohardware.sp@gmail.com" target="_blank">thiagohardware.sp@gmail.com</a><br>&gt;&gt; escreveu:<br>&gt; <br>&gt;&gt; Tenta tirar o Answer<br>

&gt;&gt;  Em 16/08/2011 23:55, &quot;Fernando Vieira&quot; &lt;<a href="mailto:fndiaz02@gmail.com" target="_blank">fndiaz02@gmail.com</a>&gt; escreveu:<br>
&gt;&gt;<br>&gt;&gt; &gt; Ae pessoal, não sei porque mais minha placa fxo de uma saída não<br>&gt;&gt; reconhece a<br>&gt;&gt; &gt; função Hangup().<br>&gt;&gt; &gt; quando testo a ura internamente a ura se desliga sozinha, agora quando a<br>


&gt;&gt; &gt; chamada chega da minha placa fxo, a ligação não é desligada.<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Alguém pode me dar alguma ajuda com isso, segue a Ura<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; [teste-ura]<br>&gt;&gt; &gt; exten=&gt; s,1,Answer()<br>


&gt;&gt; &gt; exten=&gt; s,n,Wait(2)<br>&gt;&gt; &gt; exten=&gt; s,n,Set(TIMEOUT(response)=3)<br>&gt;&gt; &gt; exten=&gt; s,n,Background(custom/Fernanda(1))<br>&gt;&gt; &gt; exten=&gt; s,n,WaitExten()<br>&gt;&gt; &gt; exten=&gt; s,n,Background(custom/Fernanda(1))<br>


&gt;&gt; &gt; exten=&gt; s,n,WaitExten(5)<br>&gt;&gt; &gt; exten=&gt; s,n,Playback(vm-goodbye)<br>&gt;&gt; &gt; exten=&gt; s,n,Hangup()<br>&gt;&gt; &gt; exten=&gt; 1,1,Dial(SIP/201)<br>&gt;&gt; &gt; exten=&gt; 2,1,Goto(ura-suporte-1,s,1)<br>


&gt;&gt; &gt; exten=&gt; 3,1,Goto(ura-pos-compra,s,1)<br>&gt;&gt; &gt; exten=&gt; 9,1,Dial(SIP/204)<br>&gt;&gt; &gt; exten=&gt; i,1,Playback(invalid)<br>&gt;&gt; &gt; exten=&gt; i,2,Goto(teste-ura,s,1)<br>&gt;&gt; &gt;<br>


&gt;&gt; &gt;<br>&gt;&gt; &gt; Fernando Vieira A. Diaz<br>&gt;&gt; &gt; My profiles: [image:<br>&gt;&gt; &gt; Facebook]&lt;<br>&gt;&gt; <a href="http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924" target="_blank">http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924</a><br>


&gt;&gt; &gt;<br>&gt;&gt; &gt; [image:<br>&gt;&gt; &gt; Twitter] &lt;<a href="http://twitter.com/#%21/diazfernando" target="_blank">http://twitter.com/#%21/diazfernando</a>&gt; [image:<br>&gt;&gt; &gt; Orkut]&lt;<a href="http://www.orkut.com.br/Main#Profile?uid=12494510726739126423" target="_blank">http://www.orkut.com.br/Main#Profile?uid=12494510726739126423</a>&gt;<br>


&gt;&gt;<br>&gt;&gt; &gt; Contact me: [image: MSN] <a href="mailto:fndiaz2@hotmail.com" target="_blank">fndiaz2@hotmail.com</a><br>&gt;&gt; &gt; Signature powered by<br>&gt;&gt; &gt; &lt;<br>&gt;&gt; <a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313549418883&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0" target="_blank">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313549418883&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a><br>


&gt;&gt; &gt;<br>&gt;&gt; &gt; WiseStamp&lt;<br>&gt;&gt; <a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313549418883&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0" target="_blank">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&amp;v=2.6.1.0&amp;t=1313549418883&amp;promo=0&amp;dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a><br>


&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<br>&gt;&gt; - Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>


&gt;&gt; - Suporte técnico local qualificado e gratuito<br>&gt;&gt; Conheça a linha completa de produtos KHOMP em <a href="http://www.khomp.com.br" target="_blank">www.khomp.com.br</a><br>&gt;&gt; _______________________________________________<br>


&gt;&gt; DIGIVOICE: Lider no mercado de placas para Asterisk<br>&gt;&gt; Único fabricante com Centro de Treinamento especializado.<br>&gt;&gt; LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.<br>&gt;&gt; <a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a> ou (11)3016-5200.<br>


&gt;&gt; ________<br>&gt;&gt; LANÇAMENTO SHOPVOIP! Gateway Xibelis Lyric VoIP com 2,4 e 6 canais GSM.<br>&gt;&gt; Arquitetura Escalável, Balanceamento de Carga, Portabilidade Numérica.<br>&gt;&gt; Confira em <a href="http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org" target="_blank">http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org</a><br>


&gt;&gt; Mais informações: <a href="http://www.shopvoip.com.br" target="_blank">www.shopvoip.com.br</a> ou 0800-6021244<br>&gt;&gt; ______________________________________________<br>&gt;&gt; Para remover seu email desta lista, basta enviar um email em branco para<br>


&gt;&gt; <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>&gt;&gt;<br></div></div></div>
<br>_______________________________________________<br>
KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<br>
- Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>
- Suporte técnico local qualificado e gratuito<br>
Conheça a linha completa de produtos KHOMP em <a href="http://www.khomp.com.br" target="_blank">www.khomp.com.br</a><br>
_______________________________________________<br>
DIGIVOICE: Lider no mercado de placas para Asterisk<br>
Único fabricante com Centro de Treinamento especializado.<br>
LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.<br>
<a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a> ou (11)3016-5200.<br>
________<br>
LANÇAMENTO SHOPVOIP! Gateway Xibelis Lyric VoIP com 2,4 e 6 canais GSM.<br>
Arquitetura Escalável, Balanceamento de Carga, Portabilidade Numérica.<br>
Confira em <a href="http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org" target="_blank">http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org</a><br>
Mais informações: <a href="http://www.shopvoip.com.br" target="_blank">www.shopvoip.com.br</a> ou 0800-6021244<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>