[asterisk-dev] Channel Event Logging and newcdr svn branch

Russell Bryant russell at digium.com
Thu Jun 4 10:02:24 CDT 2009


Alexander Krylowsky wrote:
> On Thu, 2009-06-04 07:27:11 -0500, Russell Bryant wrote:
>> Alexander Krylowsky wrote:
>>>  - Where should I submit bugs (bugs.digium.com?) and does anybody
>>>    interested in this?
>> Since it hasn't been merged into trunk yet, let's start by keeping it
>> off of the bug tracker.  If you have an issue discuss, just bring it up
>> on the mailing list.  If the issues become unmanageable, we can start
>> using the issue tracker.
>  
> Okay, thanks. 
> At this moment (rev 199021) I've got at least two issues:
> 
> 1. with CEL logging enabled ("enable=yes" in cel.conf general section)
> a lot of astobj2.c warnings on every cel event appears on console:
> 
> ERROR[9355]: astobj2.c:116 INTERNAL_OBJ: bad magic number 0x3b5 for 0xb78f3a70
> ERROR[9355]: astobj2.c:116 INTERNAL_OBJ: bad magic number 0x3b5 for 0xb78f3a70
> ERROR[9355]: astobj2.c:116 INTERNAL_OBJ: bad magic number 0x3b5 for 0xb78f3a70
> ERROR[9355]: astobj2.c:116 INTERNAL_OBJ: bad magic number 0x3b5 for 0xb78f3a70
> .........
> 
> Looks like it doesn't affect normal asterisk operation. This bug is similar to #14974.
> 
> 2. Unescaped data (eventtime) in cel_pgsql query: on every cel event on console appears:
> 
> [Jun  4 18:23:59] ERROR[9781]: cel_pgsql.c:338 pgsql_log: Connection may have been lost... attempting to reconnect.
> [Jun  4 18:23:59] ERROR[9781]: cel_pgsql.c:341 pgsql_log: Connection reestablished.
> [Jun  4 18:23:59] ERROR[9781]: cel_pgsql.c:347 pgsql_log: HARD ERROR!  Attempted reconnection failed.  DROPPING CALL RECORD!
> [Jun  4 18:23:59] ERROR[9781]: cel_pgsql.c:348 pgsql_log: Reason: ERROR: syntax error near "18"
> LINE 1: ...rfield","peer") VALUES ('CEL_CHAN_END',2009-06-04 18:23:59,'...

Thanks a lot for the report.  The first one looks like it's from some
code that hasn't been updated for the some of the latest changes in
Asterisk trunk.  I'll ask someone to take a look at these issues.

-- 
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list