<div dir="ltr"><div><div>Eu comentei essa linha e conseguir acessar. <br>Vou fazer agora a integração via AMI com o asterisk. Se funcionar tudo perfeitamente, informo aqui!<br><br></div>Claudio, muito obrigado pelas dicas e comprometimento com a lista.<br>
<br></div>Elieser Junior<br>(71) 9943-5072<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">Em 8 de agosto de 2013 22:20, Claudio Eden GMAIL <span dir="ltr">&lt;<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Infelizmente com o Wheezy (7) não vai
      conseguir mesmo. Nem mesmo instalando o PHP manualmente :(<br>
      <br>
      Se for primordial manter o Wheezy, e não conseguir outra
      ferramenta que supra sua necessidade, talvez uma ultima opção
      seria ter o Asterisk em uma maquina e seu sistema (Apache + Mysql
      + PHP) em outra. Rola, mas dá um trabalhinho, mas nada que faça
      desistir. <br>
      <br>
      <pre cols="72">Claudio Eden
<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@gmail.com</a>
<a href="http://www.eden.com.br" target="_blank">www.eden.com.br</a></pre>
      Em 08/08/13 22:04, Elieser Junior escreveu:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>Estou utilizando o Debian Wheezy. Está tudo funcionando com
          asterisk perfeitamente. Teria que fazer downgrade?<br>
          <br>
        </div>
        Se for isso como proceder? Tem uma outra saída?<br>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">Em 8 de agosto de 2013 22:00, Claudio
          Eden GMAIL <span dir="ltr">&lt;<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@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">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Possivelmente sua versão do PHP deve ser 5.3.27 ou
                maior. Até o PHP 5.3.3 o asternic rodava sem problemas,
                mas nas versões mais recentes do PHP, em virtude das
                atualizações, principalmente no que diz respeito a
                $_SESSION, códigos mais antigos só rodam mexendo no
                código.<br>
                <br>
                Veja por exemplo:
                <a href="http://stackoverflow.com/questions/3682615/how-to-fix-the-session-register-deprecated-problem" target="_blank">http://stackoverflow.com/questions/3682615/how-to-fix-the-session-register-deprecated-problem</a><br>

                <br>
                Sugestão:<br>
                1. Ou altere o código onde precisar (é muita coisa, te
                adianto logo) se você tiver tempo e conhecimento em PHP.<br>
                2. Tente um ambiente com PHP &lt; 5.3.3, APACHE2 &lt;
                2.2.16. <br>
                <br>
                Qual S.O.? Qual versão do PHP e APACHE?<br>
                <br>
                <pre cols="72">Claudio Eden
<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@gmail.com</a>
<a href="http://www.eden.com.br" target="_blank">www.eden.com.br</a></pre>
                Em 08/08/13 21:30, Elieser Junior escreveu:<br>
              </div>
              <div>
                <div>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Claudio, habilitei e depois tentei acessar
                        novamente, verifique a mensagem que retornou no
                        browser:<br>
                        <br>
                        <b>Fatal error: Call to undefined function
                          session_register() in
                          /var/www/qstats/html/config.php on line 29</b><br>
                        <br>
                      </div>
                      <div><b>OBS.:</b><br>
                      </div>
                      Olhei a linha 29 e o nome do banco está todo em
                      maiúsculo, será que é isso, segue abaixo:<br>
                      <br>
                      <b> session_register(&quot;QSTATS&quot;);</b><br>
                      <br>
                      <br>
                      <br>
                      <br>
                      <br>
                    </div>
                    <div class="gmail_extra"> <br>
                      <br>
                      <div class="gmail_quote">Em 8 de agosto de 2013
                        21:15, Claudio Eden GMAIL <span dir="ltr">&lt;<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@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">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <div>Bem, de toda forma ainda aparece a
                              mensagem de erro na base de dados. Essa
                              mensagem só aparece quando em um dos dois
                              locais onde se configura os dados para
                              acesso ao seu BD em mysql não estão
                              devidamente configurados.<br>
                              <br>
                              Reveja os dois locais onde você deve
                              configurar os dados:<br>
                              1.
                              /usr/local/asternic-stats/parselog/config.php<br>
                              2. /var/www/html/queue-stats/config.php<br>
                              <br>
                              De toda forma, se está aparecendo uma tela
                              em branco, sugiro ativar as mensagens de
                              erro do seu PHP (altere no php.ini a linha
                              onde tem display_errors=Off para
                              display_errors=On).
                              <pre cols="72">Claudio Eden
<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@gmail.com</a>
<a href="http://www.eden.com.br" target="_blank">www.eden.com.br</a></pre>
                              Em 08/08/13 21:09, Elieser Junior
                              escreveu:<br>
                            </div>
                            <div>
                              <div>
                                <blockquote type="cite">
                                  <div dir="ltr">
                                    <div>Claudio, conseguir resolver a
                                      mensagem abaixo<br>
                                      <br>
                                      <h2>Error en la Base de Datos</h2>
                                      Porém agora quando eu tento
                                      acessar via browser não aparece
                                      nada. A tela fica em branco e não
                                      carrega nada. Já concedi
                                      permissão, já mudei até o dono e o
                                      grupo da pasta conforme abaixo:<br>
                                      <br>
                                      chmod -R 777 /var/www/<br>
                                      <br>
                                      chown -R www-data:www-data
                                      /var/www/<br>
                                      <br>
                                    </div>
                                    Se alguém puder ajudar e contribuir,
                                    estou a tentar rodar o <b>&quot;Asternic&quot;</b>.<br>
                                    <div><br>
                                    </div>
                                  </div>
                                  <div class="gmail_extra"> <br>
                                    <br>
                                    <div class="gmail_quote">Em 8 de
                                      agosto de 2013 20:20, Elieser
                                      Junior <span dir="ltr">&lt;<a href="mailto:zeljunior@gmail.com" target="_blank">zeljunior@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">
                                        <div dir="ltr">Claudio, boa
                                          noite, seguir todos os passos
                                          correto, quando tento acessar
                                          o front end via browser
                                          aparece a mensagem:<br>
                                          <h2>Error en la Base de Datos</h2>
                                          As informações de
                                          configurações estão todas
                                          corretas no arquivo
                                          &quot;config.php&quot; em relação ao
                                          usuário e ao banco de dados.<br>
                                        </div>
                                        <div class="gmail_extra"><br>
                                          <br>
                                          <div class="gmail_quote">Em 7
                                            de agosto de 2013 20:18,
                                            Claudio Eden GMAIL <span dir="ltr">&lt;<a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@gmail.com</a>&gt;</span>
                                            escreveu:
                                            <div>
                                              <div><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>Elieser,<br>
                                                      <br>
                                                      Conheço o
                                                      ASTERNIC. Fácil
                                                      implementação e
                                                      tem além de
                                                      relatórios de
                                                      histórico das
                                                      filas de
                                                      atendimento, com
                                                      gráficos, tem o
                                                      monitoramento em
                                                      tempo real, com
                                                      atualização
                                                      automatica da
                                                      página
                                                      (configurável). <br>
                                                      <br>
                                                      Neste endereço tem
                                                      o passo-a-passo
                                                      para o processo de
                                                      download e
                                                      configuração: <a href="http://www.asternic.net/install/" target="_blank">http://www.asternic.net/install/</a><br>
                                                      <br>
                                                      A partir dele, dá
                                                      inclusive para
                                                      você implementar
                                                      mais alguma coisa
                                                      que seja de seu
                                                      interesse, ele é
                                                      em PHP com
                                                      persistência de
                                                      dados em MySQL com
                                                      acesso ao Asterisk
                                                      via AMI para
                                                      captura dos dados
                                                      para a exibição em
                                                      realtime.<br>
                                                      <br>
                                                      Claudio Eden<br>
                                                      <a href="mailto:claudio.eden@gmail.com" target="_blank">claudio.eden@gmail.com</a><br>
                                                      <a href="http://www.eden.com.br" target="_blank">www.eden.com.br</a><br>
                                                      <br>
                                                      <br>
                                                      Em 07/08/13 19:53,
                                                      Elieser Junior
                                                      escreveu:<br>
                                                    </div>
                                                    <blockquote type="cite">
                                                      <div>
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>Pessoal
                                                          boa noite.<br>
                                                          <br>
                                                          </div>
                                                          Temos um
                                                          pequena equipe
                                                          de atendimento
                                                          com quatro
                                                          técnicos de
                                                          suporte em um
                                                          Service Desk.
                                                          Implantei no
                                                          asterik o DAC
                                                          (distribuição
                                                          automática de
                                                          atendimento).
                                                          Como se trata
                                                          de um pequeno
                                                          Callcenter e
                                                          não vai se
                                                          expandir,
                                                          alguém conhece
                                                          algum <b>&quot;front
                                                          end gratuito&quot;</b>
                                                          que eu poderia
                                                          integrar com o
                                                          meu servidor
                                                          asterisk 1.8?<br>
                                                          </div>
                                                          Preciso apenas
                                                          monitorar os &quot;<b>agentes


                                                          logados</b>&quot; e
                                                          a &quot;<b>fila de
                                                          atendimento&quot;</b>.<br>
                                                          <br>
                                                          </div>
                                                          Obrigado.<br>
                                                          <br>
                                                          </div>
                                                          Elieser Júnior<br>
                                                          <a href="tel:%2871%29%209943-5072" value="+17199435072" target="_blank">(71)


                                                          9943-5072</a><br>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>

                                                      </div>
                                                    </blockquote>
                                                    <br>
                                                  </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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
                                                  ALIGERA – 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 –
                                                  Appliance Asterisk -
                                                  Acesse <a 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 href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                          <br>
                                        </div>
                                      </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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
                          ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 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ça
            em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
            _______________________________________________<br>
            ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 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ça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
ALIGERA – 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 – Appliance Asterisk - Acesse <a 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 href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br></div>