Hello, people. My name is Vadim and i am trying to get opensmppbox for
kannel work stable.
I compiled 1.5.0 kannel and github version of opensmppbox.
(https://github.com/pruiz/kannel-opensmppbox/tree/master/gw)
all up and sending sms'es but crashes very soon after sending a sms or
just after some idle time.
for example, it craches if i send some trash over a tcp-ip to 2775 port
to smppbox via telnet:
===NETSTAT OUTPUT===
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:2775 0.0.0.0:* LISTEN
3232/opensmppbox
===TELNET OUTPUT===
telnet 127.0.0.1 2775
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
asd
Connection closed by foreign host.
smppbox logs looks like this. from start to finish:
2013-04-17 09:25:46 [2612] [0] INFO: No more waiting for SMPP connections.
2013-04-17 09:25:46 [2612] [0] DEBUG: Immutable octet strings: 121.
2013-04-17 09:27:15 [3232] [0] INFO: Added logfile
`/var/log/kannel/smppbox.log' with level `0'.
2013-04-17 09:27:15 [3232] [0] WARNING: DLR: using default 'internal'
for storage type.
2013-04-17 09:27:15 [3232] [0] INFO: DLR using storage type: internal
2013-04-17 09:27:15 [3232] [0] INFO: MYSQL: Connected to server at
localhost.
2013-04-17 09:27:15 [3232] [0] INFO: MYSQL: server version
5.5.29-0ubuntu0.12.04.2, client version 5.5.29.
2013-04-17 09:27:15 [3232] [0] INFO: opensmppbox DLR storage using type:
mysql
2013-04-17 09:27:15 [3232] [0] INFO: Waiting for SMPP connections on
port 2775.
2013-04-17 09:30:20 [3232] [0] DEBUG: Started thread 1
(opensmppbox.c:function) ----------- here i try to telnet
smpbox on 2775 port
2013-04-17 09:30:20 [3232] [1] DEBUG: Thread 1 (opensmppbox.c:function)
maps to pid 3232.
2013-04-17 09:30:20 [3232] [1] INFO: Client connected from <127.0.0.1>
2013-04-17 09:30:20 [3232] [1] DEBUG: Connecting to <127.0.0.1>
2013-04-17 09:30:20 [3232] [1] INFO: Connected to bearerbox at 127.0.0.1
port 13002.
2013-04-17 09:30:20 [3232] [1] DEBUG: Started thread 2
(opensmppbox.c:smpp_to_bearerbox)
2013-04-17 09:30:20 [3232] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) maps to pid 3232.
2013-04-17 09:30:20 [3232] [1] ERROR: opensmppbox: bearerbox_to_smpp:
thread starts
2013-04-17 09:30:20 [3232] [2] ERROR: opensmppbox: smpp_to_bearerbox:
thread starts
2013-04-17 09:30:22 [3232] [2] ERROR: SMPP: PDU length was too large
(1634952205, maximum is 7424).
2013-04-17 09:30:22 [3232] [2] ERROR: opensmppbox[(null)]: Server sent
garbage, ignored.
2013-04-17 09:30:22 [3232] [2] ERROR: Invalid SMPP PDU received.
2013-04-17 09:30:22 [3232] [2] ERROR: opensmppbox: smpp_to_bearerbox:
thread terminates
2013-04-17 09:30:22 [3232] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) terminates.
2013-04-17 09:30:22 [3232] [1] ERROR: opensmppbox: bearerbox_to_smpp:
thread terminates
2013-04-17 09:30:22 [3232] [1] DEBUG: Thread 1 (opensmppbox.c:function)
terminates.
2013-04-17 09:30:23 [3232] [0] INFO: No more waiting for SMPP connections.
2013-04-17 09:30:23 [3232] [0] DEBUG: Immutable octet strings: 121.
if my customer send an sms with an smpp windows client. it sends sms to
a specified mobile number afterwards it craches too. like after telnet
experiment.