pruiz / kannel-opensmppbox Goto Github PK
View Code? Open in Web Editor NEWkannel OpenSMPP Proxy
License: Other
kannel OpenSMPP Proxy
License: Other
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/
Hello<
Some one can help me solve this error ?
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 *.*.*.*
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
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.
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?
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.