Eduardo, isso é muito simples.<br><br>cria dois contextos <br>exten=&gt;10,1,Dial(SIP/10,60,Ttr)<br>exten=&gt;10,2,Hangup()<br>abs,<br>Thiago<br><br><div><span class="gmail_quote">On 10/26/07, <b class="gmail_sendername">Eduardo Assis
</b> &lt;<a href="mailto:eduardo@proredes.com.br">eduardo@proredes.com.br</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font face="Verdana" size="2">Tenho a seguinte entrada:</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">[pstn]<br>exten =&gt; s,1,NoOp(Ligação vindo da 
Telefônica)<br>exten =&gt; s,2,Wait,2<br>exten =&gt; 
s,3,BackGround(/var/lib/asterisk/sounds/ura)<br>exten =&gt; 
s,4,Wait,5<br></font></div>
<div><font face="Verdana" size="2">exten =&gt; s,5,Dial(SIP/9,60,Ttr)<br>exten =&gt; 
s,6,Hangup</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">Acontece que quando alguem me liga, ele toca o 
SOM URA e depois toca o Ramal 9.</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">O que gostaria e não estou conseguindo, pelo fato 
de usar o Asterisk 1.4, é fazer que qualdo alguem digitar um Ramal 10 ( Por 
exemplo ) ele encaminha a chamada para o mesmo Ramal, e quando ninguem atender 
ele encaminha para o Ramal 9.</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">Conto com a ajuda dos Srs.</font></div>
<div><font face="Verdana" size="2"></font>&nbsp;</div>
<div><font face="Verdana" size="2">Abraços.</font></div>
<div><font face="Verdana" size="2">&nbsp;</font></div>
<div><br>--<br>Eduardo Assis<br>Pro Redes - Consultoria em Redes<br><span onmouseup="SetCallButtonPressed(this, 0,0)" onmousedown="SetCallButtonPressed(this, 1,0)" onmouseover="SetCallButton(this, 1,0);skype_active=CheckCallButton(this);" onmouseout="SetCallButton(this, 0,0);HideSkypeMenu();" class="skype_tb_injection" id="__skype_highlight_id">
<span title="Change country code ..." onclick="javascript:if(1){doRunCMD(event, &#39;chdial&#39;,&#39;0&#39;);}else{doRunCMD(event, &#39;call&#39;,&#39;+551934067524&#39;);}event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0);" onmouseover="SetCallButtonPart(this, 1);" class="skype_tb_injection_left" id="__skype_highlight_id_left">
<span style="background-image: url(chrome://skype_ff_toolbar_win/content/cb_normal_l.gif);" class="skype_tb_injection_left_img" id="__skype_highlight_id_left_adge"><img src="chrome://skype_ff_toolbar_win/content/cb_transparent_l.gif" style="height: 11px; width: 7px;" class="skype_tb_img_adge" height="11">
</span><span class="skype_tb_injection_left_img" id="__skype_highlight_id_left_img"><img style="width: 16px;" src="chrome://skype_ff_toolbar_win/content/famfamfam/br.gif" title="" class="skype_tb_img_flag" name="skype_tb_img_f0">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/arrow.gif" title="" class="skype_tb_img_arrow" name="skype_tb_img_a0"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"></span></span><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<span title="Call this phone number in Brazil with Skype: +551934067524" onclick="javascript:doRunCMD(event, &#39;call&#39;,&#39;+551934067524&#39;);event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0)" onmouseover="SetCallButtonPart(this, 1)" class="skype_tb_injection_right" id="__skype_highlight_id_right">
<span class="skype_tb_innerText" id="__skype_highlight_id_innerText"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">(19) 3406-7524</span><span style="background-image: url(chrome://skype_ff_toolbar_win/content/cb_normal_r.gif);" class="skype_tb_injection_left_img" id="__skype_highlight_id_right_adge">
<img src="chrome://skype_ff_toolbar_win/content/cb_transparent_r.gif" style="height: 11px; width: 19px;" class="skype_tb_img_adge" height="11"></span></span></span><br><span onmouseup="SetCallButtonPressed(this, 0,0)" onmousedown="SetCallButtonPressed(this, 1,0)" onmouseover="SetCallButton(this, 1,0);skype_active=CheckCallButton(this);" onmouseout="SetCallButton(this, 0,0);HideSkypeMenu();" class="skype_tb_injection" id="__skype_highlight_id">
<span title="Change country code ..." onclick="javascript:if(1){doRunCMD(event, &#39;chdial&#39;,&#39;1&#39;);}else{doRunCMD(event, &#39;call&#39;,&#39;+551992564050&#39;);}event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0);" onmouseover="SetCallButtonPart(this, 1);" class="skype_tb_injection_left" id="__skype_highlight_id_left">
<span style="background-image: url(chrome://skype_ff_toolbar_win/content/cb_normal_l.gif);" class="skype_tb_injection_left_img" id="__skype_highlight_id_left_adge"><img src="chrome://skype_ff_toolbar_win/content/cb_transparent_l.gif" style="height: 11px; width: 7px;" class="skype_tb_img_adge" height="11">
</span><span class="skype_tb_injection_left_img" id="__skype_highlight_id_left_img"><img style="width: 16px;" src="chrome://skype_ff_toolbar_win/content/famfamfam/br.gif" title="" class="skype_tb_img_flag" name="skype_tb_img_f1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/arrow.gif" title="" class="skype_tb_img_arrow" name="skype_tb_img_a1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"></span></span><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<span title="Call this phone number in Brazil with Skype: +551992564050" onclick="javascript:doRunCMD(event, &#39;call&#39;,&#39;+551992564050&#39;);event.preventBubble();return false;" onmouseout="SetCallButtonPart(this, 0)" onmouseover="SetCallButtonPart(this, 1)" class="skype_tb_injection_right" id="__skype_highlight_id_right">
<span class="skype_tb_innerText" id="__skype_highlight_id_innerText"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1"><img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">
<img src="chrome://skype_ff_toolbar_win/content/space.gif" style="margin: 0px; padding: 0px; height: 1px; width: 1px;" class="skype_tb_img_space" height="1" width="1">(19) 9256-4050</span><span style="background-image: url(chrome://skype_ff_toolbar_win/content/cb_normal_r.gif);" class="skype_tb_injection_left_img" id="__skype_highlight_id_right_adge">
<img src="chrome://skype_ff_toolbar_win/content/cb_transparent_r.gif" style="height: 11px; width: 19px;" class="skype_tb_img_adge" height="11"></span></span></span><br>MSN: <a href="mailto:eduardo@proredes.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eduardo@proredes.com.br</a><br>Usuário 
Registrado De Linux #244210<br><a href="http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=244210" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=244210
</a></div></div>
<br>_______________________________________________<br>Compre uma camiseta da AsteriskBrasil.org!<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.voipmania.com.br" target="_blank">
http://www.voipmania.com.br</a><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;== <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://VoIPMania.com.br" target="_blank">VoIPMania.com.br</a> ==<br><br>_______________________________________________
<br>LIsta de discussões AsteriskBrasil.org<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" 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>----------------------------------------------------------------<br>THIAGO MALUF RESENDE<br>Consultor Voip e Programador WEB (Voip Developer and Web Developer) 
<br>Tel: +55 21 86042100<br>e-mail: <a href="mailto:malufrj@gmail.com">malufrj@gmail.com</a>