Giter Site home page Giter Site logo

kannel-opensmppbox's Introduction

OVERVIEW
========

OpenSMPPBox is a special Kannel box that listens for smpp connections and accepts
and sends sms messages from and to smpp clients.

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

After starting opensmppbox, a new connection to bearerbox is made for each
smpp client that is connecting. This (new) connection with it's own
'smsbox-id' is dedicated to sending and receiving messages for this particular
smpp client.

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

You need to have a development version of Kannel installed in order to compile
opensmppbox.

The Userguide has also valuable information about the install and configuration
steps. To create the userguide, run ./configure with --enable-docs and then
type "make docs".

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-opensmppbox's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kannel-opensmppbox's Issues

Smpp-logins file with comments

For example:

/etc/kannel# vi smpplogins.conf

  # Group description for administrators and build masters
  sender password sender *.*.*.*

  # Group description 2
  client1 password receiver *.*.*.*
  client2 password receiver *.*.*.*

Typo on file box-dlr.c at line 1718

There is a number 1 in the begging of line 1718, this cause an error when trying to compile.
The error generated is: box-dlr.c:1720:5: error: expected ‘;’ before ‘debug’

diff --git a/gw/box-dlr.c b/gw/box-dlr.c
index 2f29dee..478b657 100644
--- a/gw/box-dlr.c
+++ b/gw/box-dlr.c
@@ -1715,7 +1715,6 @@ static void dlr_sqlite3_add_with_id(box_dlr_entry *entry)
box_fields->dlr_db_fields->field_serv, box_fields->dlr_db_fields->field_url,
box_fields->dlr_db_fields->field_mask, box_fields->dlr_db_fields->field_boxc,
box_fields->dlr_db_fields->field_status, box_fields->field_id);
-1
#if defined(DLR_TRACE)
debug("opensmmpbox", 0, "sql: %s", octstr_get_cstr(sql));
#endif

Issue with starting it with Kannel.

Hello,

When I start my bearerbox and smsbox with any configuration of OpenSMPPBox, only SMPPBox starts, bearerbox and smsbox won't start.
WHat I might have doen wrong?

group = smsc-route

Hi,

I'm using opensmpp in a kannel system where i have a GSM modem. I have an EMSE that binds properly to the SMSC built with opensmpp, and the modem receives messages just fine from the network. Now, the text messages received by the modem need to be forwarded to the corresponding EMSE. I added the following in the opensmpp.conf file:

group = smsc-route
smsc-id = usb0modem
smsbox-id = "thesmsc"

With this, the opensmpp fails to start with the following:

2020-08-22 20:43:50 [134212] [0] DEBUG: Adding smsc routing to id <usb0modem> for box id <thesmsc>
2020-08-22 20:43:50 [134212] [0] PANIC: gwlib/octstr.c:2561: seems_valid_real: Assertion `ostr->len + 1 <= ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)

Any idea what can be missing or misspelled? Thanks.

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.