Fixed.
in the Makefile: where you have
libs = libgw.a libwmlscript.a libwap.a libgwlib.a
make it
libs = libgw.a libwmlscript.a libwap.a libgwlib.a libmio.a
also change:
sbinsrcs = \
gw/bearerbox.c \
gw/smsbox.c \
gw/wapbox.c \
utils/run_kannel_box.c \
$(STARTSTOPDAEMONSRC)
to:
sbinsrcs = \
gw/bearerbox.c \
gw/smsbox.c \
gw/smppbox.c \
gw/wapbox.c \
utils/run_kannel_box.c \
$(STARTSTOPDAEMONSRC)
Compiles fine now.
Pedro
Cesar Garcia wrote:
Hello,
You can find a example file configuration in "smppbox/doc/examples". you cand find the "kannelsmpp.conf" for the new directives and groups.
For add a new user you need a new group
group=smpp-user username = "JHON" password = "DOE" max-connections = 10
You can now login.
I try to upload some modifications tomorrow, and a more clean code.
Please, take a look and send me your comments.
Thanks
El mar, 03 de 08 de 2004 a las 19:16, Pedro B. escribiÃ:
Hola CÃsar,
First of all, congratulations for a great effort on something that i think it is very important for the kannel 'bundle'.
Now... as for first contact, the only way to make it run was to browse the code for the non-documented smppbox-active and smppbox-port, and then when it apparently ran, all i got was a screen full of:
mio.c#213: mio running for 5 mio.c#213: mio running for 5 mio.c#213: mio running for 5 mio.c#213: mio running for 5 (etc etc).
Also, i tried to do some modifications to the .c file (mostly some comments, because i really can't make much of your english spelling, sorry) but i was not able to compile it.
Is there any special trick?
Pedro
Cesar Garcia wrote:
Hello,
I write a smpp server for kannel, based on "smsc_smpp" and "smsbox" code.
It's not full functional but is working for send SMS and obtain DLR (my main purpoes). For example.
BEARERBOX ---- AT
|
SMPPBOX |
ESME ----+
I can send a SMS from a ESME (kannel) using a WAVECOME modem via SMPP protocol, and take the DLR back to the ESME.
At this time the code is very ugly, cut and paste from here to them, but I need your feedbak or comments.
You can download the full code from .
http://www.ceos.com.ve/smppbox/kannel_smppbox.tar.gz
Thanks a lot.
=============================================== Ing. CÃsar GarcÃa email: [EMAIL PROTECTED] CEOS Integradores de Sistemas, C.A. Barcelona, Edo. Anzoategui Telf. / Fax : +58-281-2749969
=============================================== Ing. CÃsar GarcÃa email: [EMAIL PROTECTED] CEOS Integradores de Sistemas, C.A. Barcelona, Edo. Anzoategui, Venezuela Telf. / Fax : +58-281-2749969
