Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] cdr_odbc not working for some reason


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
tilghman at mail.jeffa...
Guest





PostPosted: Fri May 30, 2008 1:28 pm    Post subject: [asterisk-users] cdr_odbc not working for some reason Reply with quote

On Friday 30 May 2008 13:18:44 Sanjay Rajdev wrote:
Quote:
I installed a Asterisk 1.4.20.1, and for some reason the cdr_odbc is not
working, I do not get any error logged in /var/log/asterisk/messages or the
CLI. I have made sure that the ODBC connectivity is proper as one of my
custom application written as app in Asterisk is working just with ODBC.

Is there some way I can figure out why CDR is not being logged using ODBC.

If you do:

module unload cdr_odbc.so
module load cdr_odbc.so

do you see any error or warning messages?

--
Tilghman
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Fri May 30, 2008 2:04 pm    Post subject: [asterisk-users] cdr_odbc not working for some reason Reply with quote

On Friday 30 May 2008 13:47:48 Sanjay Rajdev wrote:
Quote:
Here is the output::

localhost*CLI> module unload cdr_odbc.so
== Unregistered 'ODBC' CDR backend

localhost*CLI> module load cdr_odbc.so
== Parsing '/etc/asterisk/cdr_odbc.conf : Found
-- cdr_odbc : dsn is asterisk
-- cdr_odbc : username is asterisk
-- cdr_odbc : password is [secret]
-- cdr_odbc : table is cdr
Loaded cdr_odbc.so => (ODBC CDR Backed)

localhost*CLI>

Okay, then it appears to be connecting, so the most likely
cause of no CDRs in the database is that your table layout does
not match what cdr_odbc expects. You have two options at this
point: either you can make the backend cdr table match what
cdr_odbc wants (in terms of fields) or you can use the backport
of cdr_adaptive_odbc, which will allow you to adapt the records to
your layout, instead of the other way around.

http://svncommunity.digium.com/view/tilghman/branches/1.4/

--
Tilghman
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services