Summary: | ASTERISK-22573: in Asterisk 12, cdr_mysql does not compile and makes the whole project fail | ||
Reporter: | Private Name (falves11) | Labels: | |
Date Opened: | 2013-09-23 01:16:12 | Date Closed: | 2013-09-25 20:51:44 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Addons/cdr_mysql |
Versions: | 12.0.0-alpha1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | debian 64 bits | Attachments: | ( 0) cdr_mysql_errors.txt |
Description: | if I include cdr_mysql, the whole project does not compile | ||
Comments: | By: Private Name (falves11) 2013-09-23 05:48:48.299-0500 I am struggling to convert my short dialplan to PJSIP. I need scalability, and the old SIP stack could not handle a lot of calls. Specifically, I used to read the inbound IP from a channel variable, ${CHANNEL(recvip)}, but it no longer the information is there. The same with ${CHANNEL(audiowriteformat)} Is there a document that shows how to get this information from PJSIP? otherwise my application no longer works. I need to obtain the IP where the call is coming from in order to route the call. By: Walter Doekes (wdoekes) 2013-09-24 02:37:42.365-0500 Private Name, that second question has nothing to do with the first. And I don't think it's appropriate for the bug tracker either. Try the asterisk-users (or if that fails, the asterisk-dev) mailing list. As for your cdr_mysql compile errors. They look odd to me, please try the most recent Asterisk 12 from SVN and see if that resolves your issue. {noformat} cd /usr/src svn co http://svn.digium.com/svn/asterisk/branches/12 asterisk-12.x {noformat} By: Matt Jordan (mjordan) 2013-09-25 20:51:26.403-0500 I have no idea what version of {{cdr.h}} that is, but {{ast_cdr_getvar}}'s first parameter is a {{struct ast_cdr*}} pointer: {noformat} void ast_cdr_getvar(struct ast_cdr *cdr, const char *name, char **ret, char *workspace, int workspacelen, int recur, int raw); {noformat} This looks to be a setup problem. As such, I'm closing this out as "Not a Bug". |