Summary: | ASTERISK-00894: [patch] add userfield in mysql cdr | ||
Reporter: | cybershield (cybershield) | Labels: | |
Date Opened: | 2004-01-22 08:50:16.000-0600 | Date Closed: | 2004-09-25 02:55:01 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) mysql.diff | |
Description: | Add into mysql cdr the userfield record | ||
Comments: | By: Mark Spencer (markster) 2004-01-22 15:45:54.000-0600 Fixed in CVS By: Brian West (bkw918) 2004-01-22 15:46:59.000-0600 This patch has a problem. You need to declair this in the correct scope. if (connected) { char *clid=NULL, *dcontext=NULL, *channel=NULL, *dstchannel=NULL, *lastapp=NULL, *lastdata=NULL; #ifdef MYSQL_LOGUNIQUEID char *uniqueid=NULL; char *userfielddata = NULL; #endif Then do the same when you alloca for it. Dont do it globally. |