View previous topic :: View next topic |
Author |
Message |
dan at keshercommunica... Guest
|
Posted: Wed Nov 20, 2013 5:04 pm Post subject: [asterisk-users] userfield not logged to CDR |
|
|
Hi,
I'm logging cdr via odbc to mysql. It seems that there is an intermittent problem where the CDR(userfield) isn't written to the database. The rows all seem to be there, but that specific field is missing. The same dialplan. Nothings changed. Probably 1 in 10 is missing the userfield.
Any ideas how I can debug this?
Many thanks
Dan |
|
Back to top |
|
|
dan at keshercommunica... Guest
|
Posted: Wed Nov 20, 2013 5:47 pm Post subject: [asterisk-users] userfield not logged to CDR |
|
|
<![if !supportLists]>Ø <![endif]>I'm logging cdr via odbc to mysql. It seems that there is an intermittent problem where the CDR(userfield) isn't written to the database. The rows all seem to be there, but that specific field is missing. The same dialplan. Nothings changed. Probably 1 in 10 is missing the userfield.
<![if !supportLists]>Ø <![endif]>Any ideas how I can debug this?
Ok, Ive done a little more digging and it appears that some lines in CDR-CSV are also being missed out intermittently.
But the userfield in CDR-CSV is populated every time.
Its Asterisk 11.5.1
Ignoring ODBC for now, how do I debug writing of CDR-CSV? |
|
Back to top |
|
|
dan at keshercommunica... Guest
|
Posted: Wed Nov 20, 2013 6:08 pm Post subject: [asterisk-users] userfield not logged to CDR |
|
|
<![if !supportLists]>Ø <![endif]>Ok, Ive done a little more digging and it appears that some lines in CDR-CSV are also being missed out intermittently.
<![if !supportLists]>Ø <![endif]>But the userfield in CDR-CSV is populated every time.
<![if !supportLists]>Ø <![endif]>Its Asterisk 11.5.1
<![if !supportLists]>Ø <![endif]>Ignoring ODBC for now, how do I debug writing of CDR-CSV?
I’ve logged this as an issue as I can’t see any reason for it to be intermittent.
Here is the link for future reference.
https://issues.asterisk.org/jira/browse/ASTERISK-22874 |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Thu Nov 21, 2013 8:23 am Post subject: [asterisk-users] userfield not logged to CDR |
|
|
Quote: | Quote: | I'm logging cdr via odbc to mysql. It seems that there is an intermittent problem where the CDR(userfield) isn't written to the database.
|
|
Had this problem as well, needed to edit the cdr_odbc.conf and change loguniqueid to yes:
loguniqueid=yes ; Required to use the userfield
Doug |
|
Back to top |
|
|
|