<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">Olha, eu faria mais simples:</font></b></span></font><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000"><br></font></b></span></font></div><div><blockquote type="cite"><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">exten => 00,1,Dial(SIP/ramal0,60,tT)</font></b></span></font><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">exten => 00,n,Dial(SIP/ramal1,60,tT)</font></b></span></font><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">exten => 00,n,Dial(SIP/ramal2,60,tT)</font></b></span></font></div></div></blockquote><blockquote type="cite"><div><div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">exten => 00,n,HangUp</font></b></span></font></div></div></div></blockquote><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000"><br></font></b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b>ou em AEL:</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><br></b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b>00<span class="Apple-tab-span" style="white-space:pre">        </span>=> {</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><span class="Apple-tab-span" style="white-space:pre">        </span>Dial(SIP/ramal0,60,tT);</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><span class="Apple-tab-span" style="white-space:pre">        </span>Dial(SIP/ramal1,60,tT)</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><span class="Apple-tab-span" style="white-space:pre">        </span>Dial(SIP/ramal2,60,tT);</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><span class="Apple-tab-span" style="white-space:pre">        </span>HangUp;</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b>}</b></span></font></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><br></b></span></font></div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><font class="Apple-style-span" color="#000000">Saudações</font></b></span></font><br></div><div><br></div><div><font class="Apple-style-span" face="Arial" size="4"><span class="Apple-style-span" style="font-size: 14px;"><b><br></b></span></font></div><div><div><div>On 07/11/2008, at 13:58, Guilherme Loch Waltrick Góes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">exten => 00,1,dial(SIP/rama0,60)<div>exten => 00,n,gotoIf$[${DIALSTATUS} = BUSY]|01,1)</div><div>exten => 00,n,hangup()</div><div><br></div><div>exten => 01,1,dial(SIP/rama1,60)<div>exten => 01,n,gotoIf$[${DIALSTATUS} = BUSY]|02,1)</div> <div>exten => 01,n,hangup()</div><div><br></div><div>exten => 02,1,dial(SIP/rama2,60)<div>exten => 02,n,hangup()</div></div><br><div class="gmail_quote">2008/11/7 Otavio - Smart Computadores <span dir="ltr"><<a href="mailto:otavio@smartcomputadores.com.br">otavio@smartcomputadores.com.br</a>></span><br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div lang="PT-BR" link="blue" vlink="purple"> <div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Amigos ve se alguem pode me ajudar numa duvida básica ...</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Contexto:</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">exten => 00,1,Dial(SIP/rama0,60)</span></font></p><p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">exten => 00,2,Hangup</span></font></p><p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">exten => 01,1,Dial(SIP/ramal1,60)</span></font></p><p><font size="2" face="Arial"><span lang="EN-US" style="font-size:10.0pt;font-family:Arial">exten => 01,2,Hangup</span></font></p><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">exten => 02,1,Dial(SIP/ramal2,60)</span></font></p><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">exten => 02,2,Hangup</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">queria que quando o numero 00 tivesse ocupado a chamada fosse direcionada para o 01 e caso 01 estivesse ocupado direcionasse para 02 ...</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Esta é fácil "pruceis" ne ??? ... hehehe</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">"Brigadão" pela atenção ....</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Um abraço !</span></font></p><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><font color="#888888"><div><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font><br class="webkit-block-placeholder"></div><p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Otavio</span></font></p> </font></div> </div> <br>_______________________________________________<br> 2 a 4 de Dezembro - IPComm 2008<br> Com presença de engenheiros da Digium e Jon "maddog" Hall.<br> <a href="http://www.ipcomm2008.com.br" target="_blank">http://www.ipcomm2008.com.br</a><br> <br> Compre uma camiseta da AsteriskBrasil.org!<br> <a href="http://www.voipmania.com.br" target="_blank">http://www.voipmania.com.br</a><br> <br> Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br> _______________________________________________<br> Lista de discussões AsteriskBrasil.org<br> <a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br> <a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br></blockquote></div><br><br clear="all"><br>-- <br>Guilherme Loch Góes<br> <br>Notícias e Fórum sobre VoIP com software livre: <a href="http://www.voipexperts.com.br">http://www.voipexperts.com.br</a><br> </div> _______________________________________________<br>2 a 4 de Dezembro - IPComm 2008<br>Com presença de engenheiros da Digium e Jon "maddog" Hall.<br><a href="http://www.ipcomm2008.com.br">http://www.ipcomm2008.com.br</a><br><br>Compre uma camiseta da AsteriskBrasil.org!<br>http://www.voipmania.com.br<br><br>Acesse o canal IRC de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: #asterisk-br<br>_______________________________________________<br>Lista de discussões AsteriskBrasil.org<br>AsteriskBrasil@listas.asteriskbrasil.org<br>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</blockquote></div><br></div></body></html>