Re: [asterisk-users] Adaptive CDR and default fields

2010-10-20 Thread Dan Austin
Paul wrote:
> On Wed, Oct 20, 2010 at 5:56 PM, Dan Austin  wrote:
>> The cdr_adaptive_odbc documentation suggests that it is safe to drop
>> the standard fields, and while my system does continue to function the
>> dropping of the db handle and extra logging is annoying.
>>
>> Have I missed an option to disable recording the standard CDR fields?
>>
>Have you reloaded the module within asterisk?
>
> *CLI> module reload cdr

I have not, but as the system is not fully in production, I have been
restarting asterisk as I make changes.  I also realize I may have
poorly described the issue.

I did not 'drop' columns from the database.  My CDR table has four columns
that are custom and only those four.  They are being updated correctly.
The notices and warnings occur when Asterisk tries to insert a record
with the standard fields.

Dan

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Adaptive CDR and default fields

2010-10-20 Thread Paul Belanger
On Wed, Oct 20, 2010 at 5:56 PM, Dan Austin  wrote:
> The cdr_adaptive_odbc documentation suggests that it is safe to drop
> the standard fields, and while my system does continue to function the
> dropping of the db handle and extra logging is annoying.
>
> Have I missed an option to disable recording the standard CDR fields?
>
Have you reloaded the module within asterisk?

*CLI> module reload cdr

-- 
Paul Belanger | dCAP
Polybeacon | Consultant
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
blog.polybeacon.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Adaptive CDR and default fields

2010-10-20 Thread Dan Austin
I'm running 1.6.2.13 and need to record a small number of custom
values use cdr_odbc and cdr_adaptive_odbc, and only the custom
fields.

The good news is that the custom records are being stored in the
database as desired.  The bad news is that I get three sets of
warnings/notice about 'SQL Exec Direct failed' and dropping then
reconnecting the database handle.  I traced the SQL calls and found
these occur when the CDR engine attempts to record all of standard
CDR fields.

The cdr_adaptive_odbc documentation suggests that it is safe to drop
the standard fields, and while my system does continue to function the
dropping of the db handle and extra logging is annoying.

Have I missed an option to disable recording the standard CDR fields?

Dan
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users