<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Minha Vars&atilde;o do asterisk &eacute; a 1.4.26.3 .<br>
    <br>
    Tive que alterar o extensions para:<br>
    [internacional]<br>
    exten =&gt; s,1,Answer<br>
    exten =&gt; s,n,Set(TIMEOUT(digit)=6)<br>
    exten =&gt; s,n,Background(beep)<br>
    exten =&gt; s,n,Read(NUMERO,,9,*,3,6)<br>
    exten =&gt; s,n,NoOp(###############################)<br>
    exten =&gt; s,n,NoOp(${NUMERO})<br>
    exten =&gt; s,n,NoOp(###############################)<br>
    exten =&gt; s,n,Dial(SIP/telein1/002083820707286487140${NUMERO})<br>
    exten =&gt; s,n,Hangup<br>
    <br>
    <br>
    [09/07/2014 - 15:26:12]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@internacional:5]
    NoOp("SIP/101-b7d055d8", "###############################") in new
    stack<br>
    [09/07/2014 - 15:26:12]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@internacional:6]
    NoOp("SIP/101-b7d055d8", "") in new stack<br>
    [09/07/2014 - 15:26:12]&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [s@internacional:7]
    NoOp("SIP/101-b7d055d8", "###############################") in new
    stack<br>
    <br>
    Parece que n&atilde;o est&aacute; aceitando o dtmf mas alterei para yes a op&ccedil;&atilde;o
    que disse mas ainda assim nao funcionou.. o estranho &eacute; que quando
    ligo pra banco e etc.. o dtmf funciona legal.<br>
    <br>
    Existe outra forma de receber o numero sem o READ?<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Em 09/07/2014 14:13, tel medola
      escreveu:<br>
    </div>
    <blockquote
cite="mid:CANRMYmjTHKMt_SEKQk1CFqAO=G+N9oVO3oVgKVq9-nUXz8-8Vg@mail.gmail.com"
      type="cite">Aqui na minha URA o&nbsp;read funciona corretamente da
      forma com que te passei.
      <div>Procure no sip.conf se o par&acirc;metro relaxdtmf est&aacute; yes. Fora
        isso n&atilde;o vejo mais motivos pra n&atilde;o funcionar.<br>
        <div><br>
          <br>
          Em quarta-feira, 9 de julho de 2014, Yves Fernandes &lt;<a
            moz-do-not-send="true" href="mailto:yvesfernandes@gmail.com">yvesfernandes@gmail.com</a>&gt;
          escreveu:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> ??<br>
              <div>Em 08/07/2014 13:18, tel medola escreveu:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Ele aguarda algum tempo pra digitar ou
                  executa o plano diretamente?
                  <div><br>
                  </div>
                  <div>tente colocar assim:</div>
                  <div><br>
                  </div>
                  <div>
                    <div
                      style="font-family:arial,sans-serif;font-size:13px">exten

                      =&gt; s,1,Answer</div>
                    <div
                      style="font-family:arial,sans-serif;font-size:13px"><b>exten

                        =&gt; s,2,<span
                          style="color:rgb(34,34,34);font-family:arial;font-size:small">Set(TIMEOUT(digit)=6)</span></b><br>
                      exten =&gt; s,<b>3</b>,Background(beep)<br>
                    </div>
                    <span
                      style="font-family:arial,sans-serif;font-size:13px">exten

                      =&gt; s,<b>4</b>,Read(NUMERO,,8,*,3,6)</span><br
                      style="font-family:arial,sans-serif;font-size:13px">
                    <div
                      style="font-family:arial,sans-serif;font-size:13px">
                      same =&gt; n,Set(NADA=${ISNULL(${NUMERO})})<br>
                    </div>
                    <span
                      style="font-family:arial,sans-serif;font-size:13px">same

                      =&gt; n,ExecIf($[${NADA}=1]?Goto(</span><span
                      style="font-family:arial,sans-serif;font-size:13px">Internacional,s,1))</span><br
style="font-family:arial,sans-serif;font-size:13px">
                    <span
                      style="font-family:arial,sans-serif;font-size:13px">same

                      =&gt; n,ExecIf($[${NADA}=0]?Dial(<b>SIP/</b>${</span><span
style="font-family:arial,sans-serif;font-size:13px">NUMERO}) )</span><br
style="font-family:arial,sans-serif;font-size:13px">
                    <span
                      style="font-family:arial,sans-serif;font-size:13px">same

                      =&gt;n,Hangup</span><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                </div>
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">Em 8 de julho de 2014 11:51,
                    Yves Fernandes <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="javascript:_e(%7B%7D,'cvml','yvesfernandes@gmail.com');"
                        target="_blank">yvesfernandes@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">Coloquei

                      assim mas parece que n&atilde;o aceita os caracteres
                      digitados.. n&atilde;o<br>
                      pro Dial..<br>
                      <br>
                      &nbsp; outra eu gostaria de discar por outro ramal SIP
                      n&atilde;o por este. (101)<br>
                      <div><br>
                        exten =&gt; s,1,Answer<br>
                        exten =&gt; s,2,Background(beep)<br>
                      </div>
                      exten =&gt; s,3,Read(NUMERO,,8,*,3,6)<br>
                      <div>same =&gt; n,Set(NADA=${ISNULL(${NUMERO})})<br>
                      </div>
                      same =&gt;
                      n,ExecIf($[${NADA}=1]?Goto(Internacional,s,1))<br>
                      same =&gt; n,ExecIf($[${NADA}=0]?Dial(${NUMERO}) )<br>
                      same =&gt;n,Hangup<br>
                      <br>
                      <br>
                      &nbsp; -- Executing [s@Internacional:1]
                      Answer("SIP/101-0000000c", "") in new<br>
                      stack<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:2]
                      BackGround("SIP/101-0000000c",<br>
                      "beep") in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- &lt;SIP/101-0000000c&gt; Playing
                      'beep.ulaw' (language 'en')<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:3]
                      Read("SIP/101-0000000c",<br>
                      "NUMERO,,8,*,3,6") in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- Accepting a maximum of 8 digits.<br>
                      &nbsp; &nbsp; &nbsp;-- User entered nothing, 2 chances left<br>
                      &nbsp; &nbsp; &nbsp;-- User entered nothing, 1 chance left<br>
                      &nbsp; &nbsp; &nbsp;-- User entered nothing.<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:4]
                      Set("SIP/101-0000000c", "NADA=1")<br>
                      in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:5]
                      ExecIf("SIP/101-0000000c",<br>
                      "1?Goto(Internacional,s,1)") in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- Goto (Internacional,s,1)<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:1]
                      Answer("SIP/101-0000000c", "") in<br>
                      new stack<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:2]
                      BackGround("SIP/101-0000000c",<br>
                      "beep") in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- &lt;SIP/101-0000000c&gt; Playing
                      'beep.ulaw' (language 'en')<br>
                      &nbsp; &nbsp; &nbsp;-- Executing [s@Internacional:3]
                      Read("SIP/101-0000000c",<br>
                      "NUMERO,,8,*,3,6") in new stack<br>
                      &nbsp; &nbsp; &nbsp;-- Accepting a maximum of 8 digits.<br>
                      <div><br>
                        <br>
                        Em 08/07/2014 11:15, tel medola escreveu:<br>
                      </div>
                      <div>&gt; exten =&gt; s,1,Answer<br>
                        &gt; exten =&gt; s,2,Background(beep)<br>
                        &gt; exten =&gt; s,3,Read(NUMERO,,8,*,*,6)<br>
                        &gt; same =&gt; n,Set(NADA=${ISNULL(${NUMERO})})<br>
                        &gt; same =&gt;
                        n,ExecIf($[${NADA}=1]?Goto(atender,s,1))<br>
                        &gt; same =&gt;
                        n,ExecIf($[${NADA}=0]?Dial(khomp/b0/${NUMERO}) )
                        ;aqui voc&ecirc;<br>
                        &gt; usa sua interface pra discar.<br>
                        &gt; same =&gt;n,Hangup<br>
                        <br>
                      </div>
                      <div>
                        <div>_______________________________________________<br>
                          <br>
                          WORKOFFEES KHOMP: Eventos KHOMP em diversas
                          cidades.<br>
                          Fa&ccedil;a j&aacute; a sua inscri&ccedil;&atilde;o GRATUITA para
                          participar da pr&oacute;xima<br>
                          edi&ccedil;&atilde;o que acontecer&aacute; dia 17 de julho, em
                          RECIFE.<br>
                          Veja as outras cidades agendadas em: <a
                            moz-do-not-send="true"
                            href="http://www.workoffee.com.br"
                            target="_blank">www.workoffee.com.br</a><br>
_______________________________________________<br>
                          ALIGERA &#8211; Fabricante e desenvolvedor nacional
                          de Solu&ccedil;&otilde;es para telefonia IP .<br>
                          Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1
                          para PCI ou PCI Express.<br>
                          Banco de Canais Anal&oacute;gicos &nbsp;&#8211; Appliance
                          Asterisk<br>
                          &nbsp;Acesse <a moz-do-not-send="true"
                            href="http://www.aligera.com.br"
                            target="_blank">www.aligera.com.br</a><br>
_______________________________________________<br>
                          Para remover seu email desta lista, basta
                          enviar um email em branco para <a
                            moz-do-not-send="true"
href="javascript:_e(%7B%7D,'cvml','asteriskbrasil-unsubscribe@listas.asteriskbrasil.org');"
                            target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
                <br>
                <fieldset></fieldset>
                <br>
                <pre>_______________________________________________

WORKOFFEES KHOMP: Eventos KHOMP em diversas cidades.
Fa&ccedil;a j&aacute; a sua inscri&ccedil;&atilde;o GRATUITA para participar da pr&oacute;xima 
edi&ccedil;&atilde;o que acontecer&aacute; dia 17 de julho, em RECIFE.
Veja as outras cidades agendadas em: <a moz-do-not-send="true" href="http://www.workoffee.com.br" target="_blank">www.workoffee.com.br</a>
_______________________________________________
ALIGERA &#8211; Fabricante e desenvolvedor nacional de Solu&ccedil;&otilde;es para telefonia IP .
Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Banco de Canais Anal&oacute;gicos  &#8211; Appliance Asterisk
 Acesse <a moz-do-not-send="true" href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','asteriskbrasil-unsubscribe@listas.asteriskbrasil.org');" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________

WORKOFFEES KHOMP: Eventos KHOMP em diversas cidades.
Fa&ccedil;a j&aacute; a sua inscri&ccedil;&atilde;o GRATUITA para participar da pr&oacute;xima 
edi&ccedil;&atilde;o que acontecer&aacute; dia 17 de julho, em RECIFE.
Veja as outras cidades agendadas em: <a class="moz-txt-link-abbreviated" href="http://www.workoffee.com.br">www.workoffee.com.br</a>
_______________________________________________
ALIGERA &#8211; Fabricante e desenvolvedor nacional de Solu&ccedil;&otilde;es para telefonia IP .
Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Banco de Canais Anal&oacute;gicos  &#8211; Appliance Asterisk
 Acesse <a class="moz-txt-link-abbreviated" href="http://www.aligera.com.br">www.aligera.com.br</a>
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>