<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      Entendi o seu caso, <br>
      <br>
      Bom, n&atilde;o sei como ele poderia pegar o hangup cause neste caso,
      por&eacute;m oque voc&ecirc; falou de mandar a chamada para um contexto &eacute; oque
      eu fa&ccedil;o at&eacute; para ter mais flexbilidade, voc&ecirc; pode usar o
      Local/NUMERO@contexto&nbsp; invez do SIP/operadora/numero para fazer
      isso, de qualquer forma, acho estranho o seu caso, nunca tive
      problema similar, mas nas ultimas opera&ccedil;&otilde;es de discagem que fiz
      tamb&eacute;m n&atilde;o usei asterisk acabei usando o NewFies com Freeswitch pq
      achei bem interessante e me atendia na situa&ccedil;&atilde;o.<br>
      <br>
      em todo caso, normalmente eu por quest&otilde;es de tarifa&ccedil;&atilde;o e tudo mais
      costumo ter uma maquina para rodar a aplica&ccedil;&atilde;o e outra para ser o
      gateway desta, ent&atilde;o eu (asterisk N2) sempre recebo a chamada e
      fa&ccedil;o os devidos tratamentos , acho que talvez por isso nunca tive
      este problema.<br>
      <br>
      Em 22/05/13 21:14, Ronaldo Toledo escreveu:<br>
    </div>
    <blockquote
cite="mid:CANZVRDsu1ujGBgaTMbuQPyhvrcZJg8GsJMuka0_HF=vj_xzyGQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:large">Mike, o meu
          problema &eacute;, na verdade, pegar o c&oacute;digo que o meu tronco sip me
          repassa ao ligar para os tais n&uacute;meros.<br>
        </div>
        <div class="gmail_default" style="font-size:large">
          Quando uso o call file, ele me repassa aquele REASON 8,
          CONGESTION(se n&atilde;o estou&nbsp; enganado), o c&oacute;digo guarda-chuva que
          se aplica a uma s&eacute;rie de erros. <br>
          O HANGUPCAUSE&nbsp; seria a vari&aacute;vel que eu imaginei me servir,
          mas, at&eacute; onde li, ele s&oacute; seria aplic&aacute;vel ao Dial,&nbsp; o que me
          levou a alterar&nbsp; a l&oacute;gica para que o Asterisk executasse um
          certo contexto e ali dentro eu faria o Dial e teria o c&oacute;digo
          de erro em HANGUPCAUSE. O inesperado &eacute; que a mesma conex&atilde;o,
          que acontece com o call file, n&atilde;o acontece com o Dial devido
          ao erro que citei e que vc recomendou ligar o debug para
          tentar diagnosticar. Eu fiz isto, mas o debug s&oacute; mostrou os
          eventos relacionados a chamada do call file e n&atilde;o reportou os
          eventos do Dial(talvez porque ele nem chegou a iniciar a
          conversa com o tronco)<br>
          &nbsp;<br>
        </div>
        <div class="gmail_default" style="font-size:large">O Fernando,
          que tamb&eacute;m participa desta thread, disse que &eacute; poss&iacute;vel, sim,
          usar o HANGUPCAUSE para Call Files e me pediu que eu postasse
          o call file e o contexto do dialplan, mas ele ainda n&atilde;o
          retornou.<br>
        </div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">Em 22 de maio de 2013 12:32, Mike
          Tesliuk <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mike@tesliuk.com" target="_blank">mike@tesliuk.com</a>&gt;</span>
          escreveu:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Tudo bem que voce nao alterou, por&eacute;m veja o seguinte,
                ele reclamou que nao conseguiu estabelecer um codec,
                ent&atilde;o habilite o debug e veja oque voce ta fazendo,
                talvez voce esteja pegando uma rota que o cara esteja te
                jogando 729 e voce nao tenha, enfim, veja esta quest&atilde;o.<br>
                <br>
                Em 22/05/13 11:23, Ronaldo Toledo escreveu:<br>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div class="gmail_default" style="font-size:large">Eis
                        o call file<br>
                        <br>
                        Channel: SIP/tronco/numtel<br>
                        Context: testeamd<br>
                        extension: s<br>
                        priority: 1<br>
                        waittime: 30<br>
Set:LINHACSV=xxxxxxxxxxxxxxxxxxx*#*55*#*31*#*numtel<br>
                        <br>
                      </div>
                      <div class="gmail_default" style="font-size:large">O
                        contexto testeamd no dialplan<br>
                        <br>
                        [testeamd]<br>
                        exten =&gt; s,1,Set(marca=0)<br>
                        exten =&gt; s,n,Noop(Telefone chamado ${EXTEN})<br>
                        exten =&gt;
                        s,n,Playback(/usr/local/projetoamd/teste)<br>
                        exten =&gt; s,n,AMD<br>
                        exten =&gt;
                        s,n,GotoIf($[${AMDSTATUS}=HUMAN]?humano)<br>
                        exten =&gt;
                        s,n,GotoIf($[${AMDSTATUS}=MACHINE]?maquina)<br>
                        exten =&gt;
                        s,n,GotoIf($[${AMDSTATUS}=NOTSURE]?duvida)<br>
                        exten =&gt;
                        s,n,GotoIf($[${AMDSTATUS}=HANGUP]?desligou)<br>
                        exten =&gt; s,n(maquina),WaitForSilence(2500)<br>
                        exten =&gt; s,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Maquina")<br>
                        exten =&gt; s,n,Set(marca=1)<br>
                        exten =&gt; s,n,Hangup<br>
                        exten =&gt; s,n(humano),WaitForSilence(500)<br>
                        exten =&gt; s,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Humano")<br>
                        exten =&gt; s,n,Set(marca=1)<br>
                        exten =&gt; s,n,Hangup<br>
                        exten =&gt; s,n(duvida),WaitForSilence(500)<br>
                        exten =&gt; s,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Duvida")<br>
                        exten =&gt; s,n,Set(marca=1)<br>
                        exten =&gt; s,n,Hangup<br>
                        <br>
                        exten =&gt; h,1,GotoIf($["${marca}" =
                        "1"]?getout)<br>
                        exten =&gt; h,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}"&nbsp; "Desligou")<br>
                        exten =&gt; h,n(getout),Hangup()<br>
                        <br>
                        exten =&gt; failed,1,Set(marca=1)<br>
                        exten =&gt; failed,n,Noop(${REASON})<br>
                        exten =&gt; failed,n,Verbose(hangupcause =
                        ${HANGUPCAUSE})<br>
                        exten =&gt; failed,n,GotoIf($["${REASON}" !=
                        "8"]?ocupado)<br>
                        exten =&gt;
                        failed,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Maquina")<br>
                        exten =&gt; failed,n,Hangup()<br>
                        exten =&gt;
                        failed,n(ocupado),GotoIf($["${REASON}" !=
                        "5"]?naoatendeu)<br>
                        exten =&gt;
                        failed,n,System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Ocupado")<br>
                        exten =&gt; failed,n,Hangup()<br>
                        exten =&gt;
                        failed,n(naoatendeu),System(/usr/local/projetoamd/<a
                          moz-do-not-send="true"
                          href="http://registrar.pl" target="_blank">registrar.pl</a>
                        "${LINHACSV}" "Cliente nao atendeu")<br>
                        exten =&gt; failed,n,Hangup()<br>
                        <br>
                      </div>
                      <div class="gmail_default" style="font-size:large">Obrigado.<br>
                      </div>
                      <div class="gmail_default" style="font-size:large"><br>
                        <br>
                        <br>
                        <br>
                        <br>
                      </div>
                      <div class="gmail_default" style="font-size:large">
                        <br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">Em 22 de maio de 2013
                        12:09, Fernando - NextBilling IP Solutions <span
                          dir="ltr">&lt;<a moz-do-not-send="true"
                            href="mailto:fernando@nextbilling.com.br"
                            target="_blank">fernando@nextbilling.com.br</a>&gt;</span>
                        escreveu:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="white" link="blue"
                            vlink="purple" lang="PT-BR">
                            <div>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Posta

                                  a parte principal que realiza a
                                  chamada pra gente ver como voc&ecirc; ta
                                  gerando ela.</span></p>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Posta

                                  tamb&eacute;m o seu callfile, pois deveria
                                  funcionar o hangupcause mesmo atrav&eacute;s
                                  de callfile, j&aacute; o fiz aqui, se voc&ecirc;
                                  montar a l&oacute;gica entre o callfile e
                                  para onde ele envia a chamada depois
                                  de conectada tem que funcionar.</span></p>
                              <div>
                                <div>
                                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Atenciosamente,</span></p>
                                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                  <p class="MsoNormal"><b><span
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Fernando

                                        da Silva Santos</span></b></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">CEO</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">
                                      &#8211; Chief Executive Officer</span></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">NextBilling

                                        IP Solutions</span></b></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">&nbsp;</span></b></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">SP:

                                      </span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
                                        moz-do-not-send="true"
                                        href="tel:%2B55%20%2811%29%203522-9200"
                                        value="+551135229200"
                                        target="_blank">+55 (11)
                                        3522-9200</a></span></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">RJ:

                                      </span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
                                        moz-do-not-send="true"
                                        href="tel:%2B55%20%2821%29%204063-8854"
                                        value="+552140638854"
                                        target="_blank">+55 (21)
                                        4063-8854</a></span></p>
                                  <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Tollfree:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">
                                      0800 580-9200</span></p>
                                  <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
                                        moz-do-not-send="true"
                                        href="http://www.nextbilling.com.br/"
                                        target="_blank"><span
                                          style="color:#0563c1">http://www.nextbilling.com.br</span></a></span></p>
                                </div>
                                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                              </div>
                              <div>
                                <div style="border:none;border-top:solid
                                  #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm
                                  0cm">
                                  <p class="MsoNormal"
                                    style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext">De:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:windowtext">
                                      <a moz-do-not-send="true"
                                        href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org"
                                        target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>
                                      [mailto:<a moz-do-not-send="true"
href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org"
                                        target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>]
                                      <b>Em nome de </b>Mike Tesliuk<br>
                                      <b>Enviada em:</b> quarta-feira,
                                      22 de maio de 2013 12:01<br>
                                      <b>Para:</b> <a
                                        moz-do-not-send="true"
                                        href="mailto:asteriskbrasil@listas.asteriskbrasil.org"
                                        target="_blank">asteriskbrasil@listas.asteriskbrasil.org</a><br>
                                      <b>Assunto:</b> Re:
                                      [AsteriskBrasil] RES: Asterisk n&atilde;o
                                      detecta atendimento pela operadora</span></p>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <p class="MsoNormal"
                                    style="margin-left:35.4pt">&nbsp;</p>
                                  <div>
                                    <p class="MsoNormal"
                                      style="margin-left:35.4pt">parece
                                      erro de codec, veja os formatos
                                      que voce ta mandando e os que eles
                                      aceitam, voce pode ver isso no
                                      debug<br>
                                      <br>
                                      Em 22/05/13 10:41, Ronaldo Toledo
                                      escreveu:</p>
                                  </div>
                                  <blockquote
                                    style="margin-top:5.0pt;margin-bottom:5.0pt">
                                    <div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt"><span
                                            style="font-size:18.0pt">Amigos,
                                            com as respostas recebidas
                                            imaginei que fosse uma
                                            quest&atilde;o de ir atr&aacute;s de uma
                                            vari&aacute;vel que, usada no
                                            dialplan, contivesse o
                                            c&oacute;digo de erro sip. Tentei o
                                            HANGUPCAUSE (a vers&atilde;o do meu
                                            asterisk &eacute; 11.3.0) mas ela&nbsp;
                                            estava vazia durante a
                                            execu&ccedil;&atilde;o da extension
                                            failed,1 (estou usando call
                                            files).</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt"><span
                                            style="font-size:18.0pt">Tentei
                                            usar o
                                            ${HASH(SIP_CAUSE,${CDR(dstchannel)})}
                                            e tamb&eacute;m n&atilde;o funcionou.
                                            Depois de muito pesquisar
                                            descobri que elas se aplicam
                                            ao Hangup que se segue a um&nbsp;
                                            Dial. Tive que mudar minha
                                            estrat&eacute;gia.</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt"><span
                                            style="font-size:18.0pt">Minha
                                            aplica&ccedil;&atilde;o previa o envio de
                                            uma s&eacute;rie de call files ao
                                            Asterisk.&nbsp; Prossegui com os
                                            call files para que fosse
                                            feita uma conex&atilde;o fantasma&nbsp;
                                            s&oacute; para que o Asterisk, ao
                                            executar a extens&atilde;o failed
                                            do contexto especificado,
                                            fosse desviado para um outro
                                            contexto onde seria feita a&nbsp;
                                            liga&ccedil;&atilde;o atrav&eacute;s de Dial&nbsp;
                                            para o n&uacute;mero passado via
                                            vari&aacute;vel no call file.</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-right:0cm;margin-bottom:18.0pt;margin-left:35.4pt"><span
                                            style="font-size:18.0pt">Bem,
                                            a&iacute; veio o problema maior. Ao
                                            executar o
                                            Dial(SIP/troncomeuprovedor/numero),
                                            invariavelmente recebo as
                                            mensagens <br>
                                            [May 22 05:21:35]
                                            NOTICE[16975][C-00000436]:
                                            chan_sip.c:29464
                                            sip_request_call: Asked to
                                            get a channel of unsupported
                                            format (nothing) while
                                            capability is
                                            (gsm|ulaw|alaw|h263|testlaw)<br>
                                            [May 22 05:21:35]
                                            WARNING[16975][C-00000436]:
                                            app_dial.c:2437
                                            dial_exec_full: Unable to
                                            create channel of type 'SIP'
                                            (cause 58 - Bearer
                                            capability not available)</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt"><span
                                            style="font-size:18.0pt">N&atilde;o
                                            consigo passar deste ponto</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt"><span
                                            style="font-size:18.0pt">&nbsp;</span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-right:0cm;margin-bottom:18.0pt;margin-left:35.4pt"><span
                                            style="font-size:18.0pt">Continuo

                                            pesquisando via Google o que
                                            est&aacute; errado&nbsp; mas se algu&eacute;m
                                            j&aacute; passou por isso ou sabe a
                                            raz&atilde;o, por favor, jogue uma
                                            luz no assunto.<br>
                                            <br>
                                          </span></p>
                                      </div>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-right:0cm;margin-bottom:18.0pt;margin-left:35.4pt"><span
                                            style="font-size:18.0pt"><br>
                                            <br>
                                          </span></p>
                                      </div>
                                    </div>
                                    <div>
                                      <p class="MsoNormal"
                                        style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
                                        &nbsp;</p>
                                      <div>
                                        <p class="MsoNormal"
                                          style="margin-left:35.4pt">Em
                                          21 de maio de 2013 21:59,
                                          Ronaldo Toledo &lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:rtmorais@gmail.com"
                                            target="_blank">rtmorais@gmail.com</a>&gt;

                                          escreveu:</p>
                                        <blockquote
                                          style="border:none;border-left:solid
                                          #cccccc 1.0pt;padding:0cm 0cm
                                          0cm
                                          6.0pt;margin-left:4.8pt;margin-right:0cm">
                                          <div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-left:35.4pt"><span
style="font-size:18.0pt">Fernando e Rafael, muito obrigado pelas
                                                  respostas.</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-left:35.4pt"><span
style="font-size:18.0pt">Liguei o debug(deveria ter feito isto antes,
                                                  n&eacute;?) e voil&aacute;: o tronco
                                                  responde 503 (Service
                                                  Unavailable).</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-left:35.4pt"><span
style="font-size:18.0pt">Mais uma vez, muito obrigado.</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-right:0cm;margin-bottom:18.0pt;margin-left:35.4pt">
                                                <span
                                                  style="font-size:18.0pt">Ronaldo

                                                  Toledo.</span></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-left:35.4pt"><span
style="font-size:18.0pt">&nbsp;</span></p>
                                            </div>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"
                                              style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt">
                                              &nbsp;</p>
                                            <div>
                                              <p class="MsoNormal"
                                                style="margin-left:35.4pt">Em
                                                21 de maio de 2013
                                                21:51, Fernando -
                                                NextBilling IP Solutions
                                                &lt;<a
                                                  moz-do-not-send="true"
href="mailto:fernando@nextbilling.com.br" target="_blank">fernando@nextbilling.com.br</a>&gt;

                                                escreveu:</p>
                                              <blockquote
                                                style="border:none;border-left:solid
                                                #cccccc
                                                1.0pt;padding:0cm 0cm
                                                0cm
                                                6.0pt;margin-left:4.8pt;margin-right:0cm">
                                                <div>
                                                  <div>
                                                    <div>
                                                      <div>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Ronaldo.</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nesses

                                                          casos,
                                                          geralmente o
                                                          retorno &eacute;
                                                          feito pelo seu
                                                          tronco SIP, ou
                                                          seja, o
                                                          Asterisk vai
                                                          agir de acordo
                                                          com o retorno
                                                          que seu tronco
                                                          SIP informar.</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">J&aacute;

                                                          vi casos em
                                                          que troncos
                                                          SIP retornam
                                                          SIP Reason 503
                                                          para n&uacute;meros
                                                          inv&aacute;lidos, e
                                                          j&aacute; vi casos em
                                                          que o tronco
                                                          SIP retorna
                                                          SIP 404 para
                                                          para n&uacute;meros
                                                          inv&aacute;lidos.</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Eu

                                                          sugiro a voc&ecirc;
                                                          analisar o
                                                          siptrace do
                                                          retorno do seu
                                                          Tronco quando
                                                          ligar para
                                                          esses n&uacute;meros,
                                                          pode ser um
                                                          bom ponto de
                                                          partida para
                                                          analisar o que
                                                          ele realmente
                                                          retorna.</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Crusando

                                                          essa
                                                          informa&ccedil;&atilde;o com
                                                          o ISDN Code de
                                                          cada retorno,
                                                          seria mais
                                                          f&aacute;cil para
                                                          voc&ecirc; ter um
                                                          ponto de
                                                          partida.</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Sip

                                                          set debug peer
                                                          NAME_DO_PEER
                                                          ou sip set
                                                          debug IP
                                                          IP_DO_PEER</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Atenciosamente,</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <b><span
style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Fernando

                                                          da Silva
                                                          Santos</span></b></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">CEO</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">
                                                          &#8211; Chief
                                                          Executive
                                                          Officer</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">NextBilling

                                                          IP Solutions</span></b></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"> <b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">&nbsp;</span></b></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">SP:

                                                          </span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
moz-do-not-send="true" href="tel:%2B55%20%2811%29%203522-9200"
                                                          target="_blank">+55
                                                          (11) 3522-9200</a></span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">RJ:

                                                          </span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
moz-do-not-send="true" href="tel:%2B55%20%2821%29%204063-8854"
                                                          target="_blank">+55
                                                          (21) 4063-8854</a></span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Tollfree:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">
                                                          0800 580-9200</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a
moz-do-not-send="true" href="http://www.nextbilling.com.br/"
                                                          target="_blank"><span
style="color:#0563c1">http://www.nextbilling.com.br</span></a></span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:35.4pt"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                                                        <p
                                                          class="MsoNormal"
style="margin-left:70.8pt"> <b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">De:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org"
                                                          target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>
                                                          [mailto:<a
                                                          moz-do-not-send="true"
href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org"
                                                          target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>]
                                                          <b>Em nome de
                                                          </b>Ronaldo
                                                          Toledo<br>
                                                          <b>Enviada em:</b>
                                                          ter&ccedil;a-feira,
                                                          21 de maio de
                                                          2013 20:20<br>
                                                          <b>Para:</b>
                                                          Alexandre
                                                          Keller<br>
                                                          <b>Assunto:</b>
                                                          [AsteriskBrasil]
                                                          Asterisk n&atilde;o
                                                          detecta
                                                          atendimento
                                                          pela operadora</span></p>
                                                        <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-left:70.8pt"> &nbsp;</p>
                                                          <div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:18.0pt;margin-left:70.8pt"><span
                                                          style="font-size:18.0pt">Ol&aacute;.</span></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:18.0pt;margin-left:70.8pt"> <span
                                                          style="font-size:18.0pt">Estou

                                                          com um
                                                          problema que
                                                          j&aacute; pesquisei
                                                          aqui e ali:
                                                          Tento ligar
                                                          via tronco SIP
                                                          para uma s&eacute;rie
                                                          de n&uacute;meros de
                                                          telefones e a
                                                          coisa vai bem
                                                          at&eacute; que
                                                          encontro pela
                                                          frente n&uacute;meros
                                                          de telefones
                                                          como <a
                                                          moz-do-not-send="true"
href="tel:%2851%2932216470" target="_blank">(51)32216470</a> E <a
                                                          moz-do-not-send="true"
href="tel:%2851%2932254067" target="_blank">(51)32254067</a>.&nbsp; O
                                                          asterisk
                                                          assume um
                                                          comportamento
                                                          err&aacute;tico para
                                                          eles, ora d&aacute;
                                                          como
                                                          ocupado(reason
                                                          8), ora d&aacute; que
                                                          n&atilde;o
                                                          atendeu(reason
                                                          3). Se fa&ccedil;o a
                                                          liga&ccedil;&atilde;o por
                                                          meio de tel
                                                          fixo ou
                                                          celular, o
                                                          atendimento &eacute;
                                                          feito pela
                                                          operadora que
                                                          sugere que o
                                                          n&uacute;mero n&atilde;o &eacute;
                                                          v&aacute;lido.</span></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:18.0pt;margin-left:70.8pt"><span
                                                          style="font-size:18.0pt">Por
                                                          que o Asterisk
                                                          n&atilde;o identifica
                                                          o atendimento
                                                          pela
                                                          operadora?
                                                          Algu&eacute;m j&aacute;
                                                          passou por
                                                          este problema
                                                          usando SIP?</span></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt;margin-left:70.8pt"><span
                                                          style="font-size:18.0pt">Existe
                                                          ocorr&ecirc;ncias
                                                          reportando
                                                          problemas de
                                                          atendimento
                                                          com placas
                                                          digium,
                                                          digivoice
                                                          etc..... mas
                                                          n&atilde;o com SIP.</span></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-left:70.8pt"><span style="font-size:18.0pt">Ronaldo Toledo
                                                          Morais.</span></p>
                                                          </div>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-left:70.8pt"><span style="font-size:18.0pt">&nbsp;</span></p>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <p class="MsoNormal"
style="margin-left:35.4pt">&nbsp;</p>
                                                  </div>
                                                </div>
                                                <p class="MsoNormal"
                                                  style="margin-left:35.4pt">_______________________________________________<br>
                                                  KHOMP: completa linha
                                                  de placas externas
                                                  FXO, FXS, GSM e E1;<br>
                                                  Media Gateways de 1 a
                                                  64 E1s para SIP com
                                                  R2, ISDN e SS7;<br>
                                                  Intercomunicadores
                                                  para acesso remoto via
                                                  rede IP. Conhe&ccedil;a em <a
moz-do-not-send="true" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
                                                  ALIGERA &#8211; Fabricante
                                                  nacional de Gateways
                                                  SIP-E1 para R2, ISDN e
                                                  SS7.<br>
                                                  Placas de 1E1, 2E1,
                                                  4E1 e 8E1 para PCI ou
                                                  PCI Express.<br>
                                                  Channel Bank &#8211;
                                                  Appliance Asterisk -
                                                  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="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org"
                                                    target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></p>
                                              </blockquote>
                                            </div>
                                            <p class="MsoNormal"
                                              style="margin-left:35.4pt">&nbsp;</p>
                                          </div>
                                        </blockquote>
                                      </div>
                                      <p class="MsoNormal"
                                        style="margin-left:35.4pt">&nbsp;</p>
                                    </div>
                                    <p class="MsoNormal"
                                      style="margin-left:35.4pt"> <br>
                                      <br>
                                      <br>
                                    </p>
                                    <pre style="margin-left:35.4pt">_______________________________________________</pre>
                                    <pre style="margin-left:35.4pt">KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;</pre>
                                    <pre style="margin-left:35.4pt">Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;</pre>
                                    <pre style="margin-left:35.4pt">Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a em <a moz-do-not-send="true" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.</pre>
                                    <pre style="margin-left:35.4pt">_______________________________________________</pre>
                                    <pre style="margin-left:35.4pt">ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.</pre>
                                    <pre style="margin-left:35.4pt">Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.</pre>
                                    <pre style="margin-left:35.4pt">Channel Bank &#8211; Appliance Asterisk - Acesse <a moz-do-not-send="true" href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.</pre>
                                    <pre style="margin-left:35.4pt">_______________________________________________</pre>
                                    <pre style="margin-left:35.4pt">Para remover seu email desta lista, basta enviar um email em branco para <a moz-do-not-send="true" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
                                  </blockquote>
                                  <p class="MsoNormal"
                                    style="margin-left:35.4pt">&nbsp;</p>
                                </div>
                              </div>
                            </div>
                          </div>
                          <br>
_______________________________________________<br>
                          KHOMP: completa linha de placas externas FXO,
                          FXS, GSM e E1;<br>
                          Media Gateways de 1 a 64 E1s para SIP com R2,
                          ISDN e SS7;<br>
                          Intercomunicadores para acesso remoto via rede
                          IP. Conhe&ccedil;a em <a moz-do-not-send="true"
                            href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
                          ALIGERA &#8211; Fabricante nacional de Gateways
                          SIP-E1 para R2, ISDN e SS7.<br>
                          Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI
                          Express.<br>
                          Channel Bank &#8211; Appliance Asterisk - 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="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org"
                            target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a em <a moz-do-not-send="true" href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank &#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="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
            Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
            Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a
            em <a moz-do-not-send="true" href="http://www.Khomp.com"
              target="_blank">www.Khomp.com</a>.<br>
            _______________________________________________<br>
            ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2,
            ISDN e SS7.<br>
            Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
            Channel Bank &#8211; Appliance Asterisk - 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="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conhe&ccedil;a em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com">www.Khomp.com</a>.
_______________________________________________
ALIGERA &#8211; Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank &#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>