<div dir="ltr">Valeu Patrick, funfou a parada aqui<div><br></div><div>abraço</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">Em 6 de agosto de 2013 17:02, Patrick El Youssef <span dir="ltr">&lt;<a href="mailto:wushumasters@gmail.com" target="_blank">wushumasters@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">
    Pra mysql é cdr_adaptive_odbc.conf<br>
    <br>
    Creio que deva ser o mesmo pro Postgres<br>
    <br>
    Patrick<br>
    <br>
    <div>Em 06-08-2013 16:52, Danilo Almeida
      escreveu:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">na verdade usava mysql e mudei recentemente para o
        postgres, então como usava ODBC mantive.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">Em 6 de agosto de 2013 16:45, Marcelo
          Terres <span dir="ltr">&lt;<a href="mailto:mhterres@gmail.com" target="_blank">mhterres@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">Uma dúvida que tenho: pq o pessoal usa o odbc
              para conectar ao Postgres e não o pgsql?
              <div><br>
              </div>
              <div>
                De todas as instalação com postgres todas sempre foram
                com o pgsql e nunca houve problemas.</div>
              <div>
                <br>
              </div>
              <div>[]s</div>
            </div>
            <div class="gmail_extra">
              <div><br clear="all">
                <div>Marcelo H. Terres<br>
                  <a href="mailto:mhterres@gmail.com" target="_blank">mhterres@gmail.com</a><br>
                  <a href="http://mundoopensource.blogspot.com" target="_blank">http://mundoopensource.blogspot.com</a><br>
                  <a href="http://biertasters.blogspot.com" target="_blank">http://biertasters.blogspot.com</a><br>
                  <a href="http://twitter.com/mhterres" target="_blank">http://twitter.com/mhterres</a></div>
                <br>
                <br>
              </div>
              <div>
                <div>
                  <div class="gmail_quote">2013/8/6 Danilo Almeida <span dir="ltr">&lt;<a href="mailto:daniloricalmeida@gmail.com" target="_blank">daniloricalmeida@gmail.com</a>&gt;</span><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">Sylvio,
                        <div>Pegando o bonde andando aqui, estou usando
                          o driver ODBC para conectar ao Postgres, onde
                          seto o alias para poder setar um valor a um
                          novo campo da tabela?</div>
                        <div><br>
                        </div>
                        <div>abraço</div>
                      </div>
                      <div class="gmail_extra"><br>
                        <br>
                        <div class="gmail_quote">Em 6 de agosto de 2013
                          11:07, Sylvio Jollenbeck <span dir="ltr">&lt;<a href="mailto:sylvio.jollenbeck@gmail.com" target="_blank">sylvio.jollenbeck@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 dir="ltr">Eduardo,
                                  <div><br>
                                  </div>
                                  <div>  Para simplificar, no
                                    cdr_mysql.conf você deve criar o
                                    alias, depois reinicie o modulo cdr.
                                    para usar via dialplan faça:
                                    Set(CDR(<span style="font-size:13px;font-family:arial,sans-serif">protocolo)=${</span><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">Protocolo});
                                      Isso funciona a partir da versão
                                      1.6 do Asterisk e não é preciso
                                      criar agi ou usar outra app.</span></div>
                                  <div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px"><br>
                                    </span></div>
                                  <div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">Abs,</span></div>
                                </div>
                                <div class="gmail_extra"><br>
                                  <br>
                                  <div class="gmail_quote">Em 5 de
                                    agosto de 2013 16:46, Eduardo Souza
                                    <span dir="ltr">&lt;<a href="mailto:edusouza.ti@gmail.com" target="_blank">edusouza.ti@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">Boa
                                          tarde,<br>
                                          <br>
                                          Blz testei conforme o Dirceu
                                          passou e já está funcionando e
                                          consultando as gravações via
                                          WEB PHP.<br>
                                          <br>
                                          Estarei finalizando e postarei
                                          a documentação e os arquivos
                                          tanto do extensions como php
                                          para quem quiser.<br>
                                          <br>
                                          agradeço mais uma vez a
                                          cooperação de todos.<br>
                                          <br>
                                          abs<br>
                                          <br>
                                          <br>
                                          Eduardo Souza<br>
                                          <br>
                                          <br>
                                          <br>
                                          Em 05/08/2013, às 16:26,
                                          Asterisk - Junior Polegato
                                          &lt;<a href="mailto:asterisk@juniorpolegato.com.br" target="_blank">asterisk@juniorpolegato.com.br</a>&gt;
                                          escreveu:<br>
                                          <div>
                                            <div><br>
                                              &gt; Em 05-08-2013 16:18,
                                              Eduardo Souza escreveu:<br>
                                              &gt;&gt; [...]<br>
                                              &gt;&gt; [protocolo]<br>
                                              &gt;&gt; exten =&gt;
                                               s,1,Answer<br>
                                              &gt;&gt; exten =&gt;
                                               s,n,set(Protocolo=${STRFTIME(${EPOCH},GMT-3,%C%y%m%d%H%M%S)})<br>
                                              &gt;&gt; exten =&gt;
                                               s,3,SayDigits(${Protocolo})<br>
                                              &gt;&gt; exten =&gt;
                                               s,4,Dial(SIP/2001,30,Tt)<br>
                                              &gt;&gt; exten =&gt;
                                               s,5,Set(CDR(protocolo)=${Protocolo})<br>
                                              &gt;&gt; exten =&gt;
                                               s,6,Hangup<br>
                                              &gt;&gt; Porem ele fala os
                                              dígitos mas não grava no
                                              banco alguem poderia dar
                                              uma ajuda depois irei
                                              disponibilizar para quem
                                              estiver precisando da
                                              solução.<br>
                                              &gt;<br>
                                              &gt; Olá!<br>
                                              &gt;<br>
                                              &gt;         Tenta gravar
                                              no BD antes do Dial, pois
                                              se tiver hangup do outro<br>
                                              &gt; lado não passa do
                                              Dial, a menos que no Dial
                                              tenha a opção &quot;g&quot;
                                              especificada.<br>
                                              &gt;<br>
                                              &gt; []&#39;s<br>
                                              &gt;         Junior
                                              Polegato<br>
                                              &gt;<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; KHOMP: completa linha
                                              de placas externas FXO,
                                              FXS, GSM e E1;<br>
                                              &gt; Media Gateways de 1 a
                                              64 E1s para SIP com R2,
                                              ISDN e SS7;<br>
                                              &gt; Intercomunicadores
                                              para acesso remoto via
                                              rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; ALIGERA – Fabricante
                                              nacional de Gateways
                                              SIP-E1 para R2, ISDN e
                                              SS7.<br>
                                              &gt; Placas de 1E1, 2E1,
                                              4E1 e 8E1 para PCI ou PCI
                                              Express.<br>
                                              &gt; Channel Bank –
                                              Appliance Asterisk -
                                              Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
                                              &gt;
                                              _______________________________________________<br>
                                              &gt; 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>
                                              <br>
                                            </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>
                                    </div>
                                  </div>
                                  <span><font color="#888888">
                                      <br>
                                      <br clear="all">
                                      <div><br>
                                      </div>
                                      -- <br>
                                      <span style="font-family:trebuchet ms,sans-serif">Sylvio Jollenbeck<br>
                                        <font size="1"><a href="http://www.hosannatecnologia.com.br/" target="_blank">www.hosannatecnologia.com.br</a></font></span><br>
                                      <img><br>
                                    </font></span></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>
                        <span><font color="#888888">
                            <br>
                            <br clear="all">
                            <div><br>
                            </div>
                            -- <br>
                            <div dir="ltr"><b><font color="#0000ff">att</font></b>
                              <div><b><font color="#0000ff">Danilo
                                    Almeida</font></b></div>
                            </div>
                          </font></span></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>
              </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>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr"><b style><font color="#0000ff">att</font></b>
          <div><b style><font color="#0000ff">Danilo Almeida</font></b></div>
        </div>
      </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><br clear="all"><div><br></div>-- <br><div dir="ltr"><b style="background-color:rgb(255,255,255)"><font color="#0000ff">att</font></b><div><b style="background-color:rgb(255,255,255)"><font color="#0000ff">Danilo Almeida</font></b></div>
</div>
</div>