adlerweb / chan_capi Goto Github PK
View Code? Open in Web Editor NEWchan_capi workbench for asterisk 11.x
License: GNU General Public License v2.0
chan_capi workbench for asterisk 11.x
License: GNU General Public License v2.0
Hi, I am trying to compile this against Asterisk 13 and it is failing.
The output can be found here http://pastebin.com/vYt5hyAR
Is there any chance this can be updated to support 13?
Thanks,
Nick
When compiling against Asterisk 11 (Asterisk 11.12.1), I get the following error:
chan_capi_ami.c: In function ‘pbx_capi_ami_register’:
chan_capi_ami.c:105: error: ‘module’ undeclared (first use in this function)
chan_capi_ami.c:105: error: (Each undeclared identifier is reported only once
chan_capi_ami.c:105: error: for each function it appears in.)
It appears that commit #1 04be6ca is responsible - the methods expect variable module, but myself is provided.
The following diff allows me to compile successfully:
--- chan_capi_ami.c.orig 2014-09-23 14:32:58.485874291 +0100
+++ chan_capi_ami.c 2014-09-23 14:33:11.146813584 +0100
@@ -96,7 +96,7 @@
" *Capicommand: <capicommand>\n";
#ifdef CC_AST_HAS_VERSION_11_0
-void pbx_capi_ami_register(struct ast_module *myself)
+void pbx_capi_ami_register(struct ast_module *module)
{
capiChatListRegistered = ast_manager_register2(CC_AMI_ACTION_NAME_CHATLIST,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.