Giter VIP home page Giter VIP logo

kannel-pluginbox's Introduction

Overview

Pluginbox is a special Kannel box that sits between bearerbox and smsbox and allows plugins to execute and manipulate messages in both directions.

Pluginbox behaves similar to other Kannel boxes and share a compatible configuration file format and command line options.

Requirements

Before you can compile pluginbox and plugins you need a Kannel version installed on your OS with the -fPIC flag set.

To do this, you can just follow the commands below:

svn checkout https://svn.kannel.org/gateway/trunk kannel-svn
cd kannel-svn
CFLAGS="-fPIC" ./configure
make
sudo make install

Installation

Please read the INSTALL file for further instructions. If in a hurry, the quick explanation is:

./bootstrap
./configure
make

And finally, as root:

make install

Included plugins

For example purposes I have included an HTTP plugin which can intercept all messages to and from Kannel and forward them to an HTTP URL. In the headers will be included all the parameters of the message, which can then be changed by the HTTP server or simply reject the message.

Please see contrib/plugin-http/pluginbox_http.conf as well as example/pluginbox.conf.example for an example of how to configure.

There is also a PHP script example showing how to reject messages as well as modify parameters of the message structures in contrib/plugin-http/http-processor.php

You need to have a compiled version of Kannel available in order to compile pluginbox.

The Userguide has also valuable information about the install and configuration steps.

Help

The best to ask for help is on Kannel's mailing lists.

Please visit Kannel's site for more information:

http://www.kannel.org/

kannel-pluginbox's People

Contributors

donald-jackson avatar rkluwen avatar

Stargazers

Jacques Marneweck avatar

Watchers

Jacques Marneweck avatar James Cloos avatar

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.