<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:Consolas;
        color:black;}
span.EstiloDeEmail20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:70.85pt 85.05pt 70.85pt 85.05pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=PT-BR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Se tiver filas de atendimento no queues.conf, adicione o
contexto que pertence os ramais em cada fila:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ex:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Context=contexto-ramais<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Eu tenho em clientes que funciona dessa forma,  começa uma ura
em que diz para a pessoa digitar o ramal ou aguardar para ser atendido,daí já
entra na fila de atendimento, se a pessoal digitar ele direciona para o ramal,
senão continua até alguém atender.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal>[contexto-entrada]<o:p></o:p></p>

<p class=MsoNormal>exten =&gt; s,1,Answer()<br>
exten =&gt; s,n,Playback(AUDIO_DA_URA)<br>
exten =&gt; s,n,Queue(ATENDIMENTO,t,,,120)<br>
<br>
[contexto-ramais]<br>
exten =&gt; _XXXX,1,Dial(SIP/${EXTEN})<span style='font-size:11.0pt;font-family:
"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Att<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Danilo Almeida<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> asteriskbrasil-bounces@listas.asteriskbrasil.org
[mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Mike
Tesliuk<br>
<b>Enviada em:</b> Thursday, June 28, 2012 9:13 AM<br>
<b>Para:</b> andre luiz OLIVEIRA; asteriskbrasil@listas.asteriskbrasil.org<br>
<b>Assunto:</b> Re: [AsteriskBrasil] Dúvida URA c/ Ramal<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Você pode usar tanto a aplicação Read ou WaitExten, o
WaitExten é o mais facil<br>
<br>
ex:<br>
<br>
<br>
exten =&gt; 1000,1,Answer()<br>
exten =&gt; 1000,n,Background(AUDIO_DA_URA)<br>
exten =&gt; 1000,n,WaitExten(5)<br>
<br>
<br>
exten =&gt; _XXXX,1,Dial(SIP/${EXTEN})<br>
<br>
<br>
a ideia basica é esta, ele vai tocar o audio e aguardar após o auido que em 5
segundos algo seja digitado, se bater quatro digitos, então ele disca<br>
<br>
<br>
Em 28-06-2012 08:31, andre luiz OLIVEIRA escreveu:<o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<div>

<div>

<p class=MsoNormal style='background:white'>Senhores da Lista bom dia,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span> </span>Sou
iniciante com asterisk e preciso implementar uma ura que reconhece os dígitos
dos ramais administrativos da minha empresa por exemplo:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><span class=apple-tab-span> </span>Eu
disco para o meu tronco chave e meu PBX/IP atende com a ura e ela pede para
informar o ramal desejado que são 4 dígitos. Eu digito o ramal e ele encaminha
a ligação para o mesmo.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'>Alguém poderia me ajudar ?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'><o:p>&nbsp;</o:p></p>

</div>

<div>

<p class=MsoNormal style='background:white'>Desde Já obrigado.<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal><br>
<br>
<br>
<o:p></o:p></p>

<pre>_______________________________________________<o:p></o:p></pre><pre>KHOMP Inovação: External Board Series<o:p></o:p></pre><pre>Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<o:p></o:p></pre><pre>Tenha a External Series Experience na sua aplicação. Visite&nbsp;<a
href="http://www.khomp.com">www.khomp.com</a><o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>DIGIVOICE  Fabricante de Placas de Voz e Channel Bank<o:p></o:p></pre><pre>20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<o:p></o:p></pre><pre>Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  <a
href="http://www.digivoice.com.br">www.digivoice.com.br</a><o:p></o:p></pre><pre>________<o:p></o:p></pre><pre>YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<o:p></o:p></pre><pre>email: <a
href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a> | <a
href="http://www.commlogik.com.br">www.commlogik.com.br</a> | (11) 5503-1011<o:p></o:p></pre><pre>______________________________________________<o:p></o:p></pre><pre>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><o:p></o:p></pre></blockquote>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>