Giter Site home page Giter Site logo

chan_capi's People

Contributors

adlerweb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

pputerla

chan_capi's Issues

Undeclared variable when compiling against Asterisk 11

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,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.