Hi, Aurelien

Yes it is the problem. I found the same error in sipXproxy.log and corrected it 
as yours. The CDR report is there now.

 

As for the configure with --enable-odbc, it was broken in configure progress on 
the sector of sipXcommserverLib.

 

Thanks for your help.

 

Regards,

 

Jun
 
> Date: Thu, 2 Apr 2009 22:26:17 +0200
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [Bulk] [sipX-dev] No CDR Report Found
> 
> Hi,
> have you an error in sipXproxy.log :
> > odbcConnect: Failed to connect
> > DATABASE=SIPXCDR;SERVER=localhost;UID=postgres;PWD=;DRIVER={PostgreSQL};READONLY=0;,
> > error code -1
> The file /etc/odbcinst.ini is created by
> > # This function configures the Postgresql ODBC drivers.
> > configOdbcDrivers() {
> > # Generate a global odbcinst.ini file.
> > odbcinst -v -i -d -r <<EOF
> > # Included in the unixODBC package
> > [PostgreSQL]
> > Description = ODBC for PostgreSQL
> > Driver = ${LibDir}/libodbcpsql.so
> > Setup = ${LibDir}/libodbcpsqlS.so
> > FileUsage = 1
> > EOF
> > }
> If you installed sipxecs in a different directory than /usr/, the
> libodbcpsql.so will not be found.
> Recent user of sipXecs, I had the same problem.
> I linked the /usr/lib/libodbc* in my sipXecs lib directory ...........
> 
> Maybe the --with-odbc options of configure (from sipXcommserverLib) is
> what we are looking for but I cannot tell.
> 
> Aurelien
> 
> 
> 
> wenjun a écrit :
> > Hi, I compiled sipx source code of 3.11.12-015038 and each services
> > were running well. Whereas, after making several calls, I could not
> > found any CDR report. What did I miss anything ?
> >
> > Regards,
> >
> > Jun
> >
> > ------------------------------------------------------------------------
> > 立刻下载 MSN 保护盾,保障 MSN 安全稳定! 现在就下载!
> > <http://im.live.cn/safe/>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > sipx-dev mailing list
> > [email protected]
> > List Archive: http://list.sipfoundry.org/archive/sipx-dev
> > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
> 
> 

_________________________________________________________________
上Windows Live 中国首页,下载最新版 MSN!
http://im.live.cn/
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to