<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, "Fernando Vieira" <<a href="mailto:fndiaz02@gmail.com">fndiaz02@gmail.com</a>> escreveu:<br type="attribution">> E ae Thiago, fiz o que vc pediu tirei o answer, mais ainda não adiantou...<br>
> ae vai o procedimento pelo cli<br>> Obs: (pelo cli parece que ele pega o comando e desliga, mais isso não<br>> acontece)<br>> <br>> -- Executing [s@fxo:1] GotoIfTime("DAHDI/1-1",<br>> "00:00-23:59,mon-sat,*,*?fxo-open,s,1") in new stack<br>
> -- Goto (fxo-open,s,1)<br>> -- Executing [s@fxo-open:1] Goto("DAHDI/1-1", "teste-ura,s,1") in new<br>> stack<br>> -- Goto (teste-ura,s,1)<br>> -- Executing [s@teste-ura:1] Wait("DAHDI/1-1", "2") in new stack<br>
> -- Executing [s@teste-ura:2] Set("DAHDI/1-1", "TIMEOUT(response)=3") in<br>> new stack<br>> -- Response timeout set to 3<br>> -- Executing [s@teste-ura:3] BackGround("DAHDI/1-1",<br>
> "custom/Fernanda(1)") in new stack<br>> -- <DAHDI/1-1> Playing 'custom/Fernanda(1).slin' (language 'pt_BR')<br>> -- ast_get_srv: SRV lookup for '_sip._<a href="http://UDP.vono.net.br">UDP.vono.net.br</a>' mapped to host<br>
> <a href="http://sbc5.vono.net.br">sbc5.vono.net.br</a>, port 5060<br>> -- Executing [s@teste-ura:4] WaitExten("DAHDI/1-1", "") in new stack<br>> -- Timeout on DAHDI/1-1, continuing...<br>
> -- Executing [s@teste-ura:5] BackGround("DAHDI/1-1",<br>> "custom/Fernanda(1)") in new stack<br>> -- <DAHDI/1-1> Playing 'custom/Fernanda(1).slin' (language 'pt_BR')<br>
> -- Executing [s@teste-ura:6] WaitExten("DAHDI/1-1", "5") in new stack<br>> -- ast_get_srv: SRV lookup for '_sip._<a href="http://UDP.vono.net.br">UDP.vono.net.br</a>' mapped to host<br>
> <a href="http://sbc5.vono.net.br">sbc5.vono.net.br</a>, port 5060<br>> -- Timeout on DAHDI/1-1, continuing...<br>> -- Executing [s@teste-ura:7] Playback("DAHDI/1-1", "vm-goodbye") in new<br>
> stack<br>> -- <DAHDI/1-1> Playing 'vm-goodbye.slin' (language 'pt_BR')<br>> -- Executing [s@teste-ura:8] Hangup("DAHDI/1-1", "") in new stack<br>> == Spawn extension (teste-ura, s, 8) exited non-zero on 'DAHDI/1-1'<br>
> -- Hungup 'DAHDI/1-1'<br>> <br>> <br>> <br>> <br>> Fernando Vieira A. Diaz<br>> My profiles: [image:<br>> Facebook]<<a href="http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924">http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924</a>><br>
> [image:<br>> Twitter] <<a href="http://twitter.com/#%21/diazfernando">http://twitter.com/#%21/diazfernando</a>> [image:<br>> Orkut]<<a href="http://www.orkut.com.br/Main#Profile?uid=12494510726739126423">http://www.orkut.com.br/Main#Profile?uid=12494510726739126423</a>><br>
> Contact me: [image: MSN] <a href="mailto:fndiaz2@hotmail.com">fndiaz2@hotmail.com</a><br>> Signature powered by<br>> <<a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313551719150&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313551719150&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a>><br>
> WiseStamp<<a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313551719150&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313551719150&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a>><br>
> <br>> Em 17 de agosto de 2011 00:06, THIAGO RODRIGUES <<a href="mailto:thiagohardware.sp@gmail.com">thiagohardware.sp@gmail.com</a><br>>> escreveu:<br>> <br>>> Tenta tirar o Answer<br>>> Em 16/08/2011 23:55, "Fernando Vieira" <<a href="mailto:fndiaz02@gmail.com">fndiaz02@gmail.com</a>> escreveu:<br>
>><br>>> > Ae pessoal, não sei porque mais minha placa fxo de uma saída não<br>>> reconhece a<br>>> > função Hangup().<br>>> > quando testo a ura internamente a ura se desliga sozinha, agora quando a<br>
>> > chamada chega da minha placa fxo, a ligação não é desligada.<br>>> ><br>>> > Alguém pode me dar alguma ajuda com isso, segue a Ura<br>>> ><br>>> > [teste-ura]<br>>> > exten=> s,1,Answer()<br>
>> > exten=> s,n,Wait(2)<br>>> > exten=> s,n,Set(TIMEOUT(response)=3)<br>>> > exten=> s,n,Background(custom/Fernanda(1))<br>>> > exten=> s,n,WaitExten()<br>>> > exten=> s,n,Background(custom/Fernanda(1))<br>
>> > exten=> s,n,WaitExten(5)<br>>> > exten=> s,n,Playback(vm-goodbye)<br>>> > exten=> s,n,Hangup()<br>>> > exten=> 1,1,Dial(SIP/201)<br>>> > exten=> 2,1,Goto(ura-suporte-1,s,1)<br>
>> > exten=> 3,1,Goto(ura-pos-compra,s,1)<br>>> > exten=> 9,1,Dial(SIP/204)<br>>> > exten=> i,1,Playback(invalid)<br>>> > exten=> i,2,Goto(teste-ura,s,1)<br>>> ><br>
>> ><br>>> > Fernando Vieira A. Diaz<br>>> > My profiles: [image:<br>>> > Facebook]<<br>>> <a href="http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924">http://www.facebook.com/update_security_info.php?wizard=1#%21/profile.php?id=100001473024924</a><br>
>> ><br>>> > [image:<br>>> > Twitter] <<a href="http://twitter.com/#%21/diazfernando">http://twitter.com/#%21/diazfernando</a>> [image:<br>>> > Orkut]<<a href="http://www.orkut.com.br/Main#Profile?uid=12494510726739126423">http://www.orkut.com.br/Main#Profile?uid=12494510726739126423</a>><br>
>><br>>> > Contact me: [image: MSN] <a href="mailto:fndiaz2@hotmail.com">fndiaz2@hotmail.com</a><br>>> > Signature powered by<br>>> > <<br>>> <a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313549418883&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313549418883&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a><br>
>> ><br>>> > WiseStamp<<br>>> <a href="http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313549418883&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0">http://r1.wisestamp.com/r/landing?u=c98df2340c4ca423&v=2.6.1.0&t=1313549418883&promo=0&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_0</a><br>
>> ><br>>><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">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">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">http://www.yx.cl/landing/brasil/lyric_voip_asterisk.org</a><br>
>> Mais informações: <a href="http://www.shopvoip.com.br">www.shopvoip.com.br</a> ou 0800-6021244<br>>> ______________________________________________<br>>> Para remover seu email desta lista, basta enviar um email em branco para<br>
>> <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>>><br></div>