| Summary: | ASTERISK-00663: CDR unique id | ||
| Reporter: | mlh (mlh) | Labels: | |
| Date Opened: | 2003-12-12 16:19:00.000-0600 | Date Closed: | 2011-06-07 14:05:12 |
| Priority: | Major | Regression? | No |
| Status: | Closed/Complete | Components: | Core/General |
| Versions: | Frequency of Occurrence | ||
| Related Issues: | |||
| Environment: | Attachments: | ( 0) cdr_mysql.txt ( 1) cdr_mysql.txt | |
| Description: | It would be nice if each call comming into asterisk could be giving a unique id by asterisk, so that when doing db queies, you can track a call though the system | ||
| Comments: | By: Brian West (bkw918) 2003-12-12 18:42:16.000-0600 it already does this.. read the src of cdr_csv.c and define that. #define CSV_LOGUNIQUEID 1 By: Brian West (bkw918) 2003-12-12 18:43:19.000-0600 Also cdr_mysql, cdr_pgsql and cdr_odbc have these options also. cdr_odbc has a config file option for that.. the others are activated similar to cdr_csv.c By: mlh (mlh) 2003-12-13 09:30:56.000-0600 after uncommeinting everything about MYSQL_LOGUNIQUEID in cdr_addon_mysql.c it does not complie By: mlh (mlh) 2003-12-13 10:52:37.000-0600 Please view the second file I uploaded, it now will compile, however it does not fill in the unique id into the sql table, is there something wrong with the code, or with what I have done. ( I do not know much C) By: Brian West (bkw918) 2003-12-13 11:42:52.000-0600 #define MYSQL_LOGUNIQUEID 1 <== no "" By: mlh (mlh) 2003-12-13 16:26:19.000-0600 That works, thanks | ||