I've recently submitted two sets of changes in the Main stream
(revisions 15858 and 15859) that modify the tables in the SIPXCDR
database.  The effects of changing the CDR records won't be seen when
observing the records from SipXconfig (at this point in time) but will
impact your development environment if you've enabled CDR.

Some of you may not know whether or not you've enabled CDR but its
simply a switch that is used when your setting up/configuring your build
directory. The switch is --enable-cdr and would be used in a manner
similar to the following:

<from your build directory>

> ../configure --cache-file=./ac-cache-file --prefix=<your output
directory> --enable-cdr SIPXPBXUSER=`whoami`

NOTE:  The Express Development Environment scripts do enable cdr.


If you've enabled CDR in your configuration and have updated your
software to these revisions, you'll need to drop your existing CDR
database and create a new one in order to get it working.  This can be
done by issuing the following commands:

> <your sipXecs output directory path>/bin/sipxcallresolver.sh
--database drop
> <your sipXecs output directory path>/bin/sipxcallresolver.sh
--database create


I've also noticed a problem with the generation of the
sipxcallresolver.sh script in a development environment (not in an ISO
install) that will prevent CDR from working.  The location of the ODBC
postgres drivers (variable LibOdbcDir) is incorrectly pointing to 

  <your sipXecs output directory>/lib  or <your sipXecs output
directory>/lib/unixODBC   (dependent on your OS)

You'll need to modify the path to point to the correct location
(typically /usr/lib or /usr/lib/unixODBC) before starting up your
system.



Please note that there will be another round of CDR changes in the
future that will require database changes and I'll post about it when
I've done them.


Raymond
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to