[Asterisk-Users] Corrupt CDR records in Asterisk 1.2.x

Jeroen Zwarts bdjeroen at xs4all.nl
Thu Feb 9 03:05:31 MST 2006


I have a problem with CDR recording in Asterisk 1.2.x. This is the
situation:

An Asterisk 1.2.0 (BRIstuffed-0.3.0-PRE-1 with florz) machine with a single
HFC-S ISDN BRI card. I log the call records to both the Master.csv and
MySQL.

The problem is that when an incoming call from the ISDN line is logged to
the CDR, the "src" and the "clid" field show up as something like 'h?
'
(random weird ASCII characters). This is in the MySQL table as well as the
Master.csv, so my guess is that it is not a MySQL problem. Furthermore, I
don't think it is a zaptel/bristuff problem, because my AGI scripts get the
incoming number without problems all the time.
The internal SIP calls are logged without a problem all the time. It's only
ISDN calls from the outside world that are corrupt.


When I stop Asterisk with "stop now" and restart it, the "src" and "clid"
fields are OK for a while, but after a few calls, or as some time passes by
(I don't know what triggers it), it goes back to the 'random ASCII
weirdness'.

I also tested this with Asterisk 1.2.4 (BRIstuffed-0.3.0-PRE-1h with florz)
and I have the same problem. Again, when I start Asterisk, everything is OK
for a while, and then suddenly, the src and clid fields are like 'ÀÜ'

Anybody has a clue as where to start looking for a solution for this
problem? I can't seem to find a single post, list e-mail or bug related to
this problem.

Thanks,

Jeroen Zwarts




More information about the asterisk-users mailing list