On Tuesday 14 March 2006 10:33, Wendell A. Silva wrote: > http://www.voip-info.org/wiki/view/Asterisk+RealTime+PostgreSQL? > Não entendi o pq dele realizar a conexão com o banco via ODBC, sendo que > existe um módulo (cdr_pgsql.so) para o CDR que faz a conexão direta com > o Postgres.
A resposta está no próprio link que você indicou: "While PostgreSQL can still be used Asterisk cdr pgsql, it can no longer be used with the voicemail system. Thus, if you are using the old pgsql for your db driven voicemail, when you upgrade, you will have to use the unixODBC code. As such, I figured it was just as easy to use the unixODBC subsystem for the CDR. I haven't done any preformance testing yet, but my guess is that the over head is not enough to justify having two different DataAccess layers. Anyhow, I choose to use one, so here is how I got RealTime and the CDR subsystem to use unixODBC" -- caio[1982] begotti http://caio.ueberalles.net