Thank you Rene!

I was following an old guide to install, with a wrong path.


It’s working fine, thank you!







From: Rene Kluwen
Sent: ‎Friday‎, ‎November‎ ‎22‎, ‎2013 ‎9‎:‎36‎ ‎PM
To: [email protected], [email protected]






I remember it used to be an issue in an old version.

Are you using latest svn?

 



From: users [mailto:[email protected]] On Behalf Of [email protected]
Sent: vrijdag 22 november 2013 21:18
To: [email protected]
Subject: OpenSMPP Crashing after client's disconnect

 



Hello List,


 


I’m having an issue with OpenSMPPBOX. Basically the application crashes after 
the SMPP client disconnects.


 


I can send messages, and everything works fine, but at the moment the client 
disconnects, the app crashes.


 


If anybody could give me a hand on this, it would be very helpful.


 


Thank you very much in advance!


 


Here’s my log and config files:


 


2013-11-22 15:01:12 [27544] [0] INFO: Debug_lvl = -1, log_file = <none>, 
log_lvl = 0
2013-11-22 15:01:12 [27544] [0] DEBUG: Kannel opensmppbox version svn-r gwlib 
version `1.5.0'.
Build `Nov 21 2013 14:33:54', compiler `4.6.3'.
System Linux, release 3.8.0-29-generic, version #42~precise1-Ubuntu SMP Wed Aug 
14 15:31:16 UTC 2013, machine i686.
Hostname sm, IP 127.0.1.1.
Libxml version 2.7.8.
Compiled with MySQL 5.5.34, using MySQL 5.5.34.
Using native malloc.


 


2013-11-22 15:01:12 [27544] [0] INFO: Starting to log to file 
/var/log/kannel/smppbox.log level 0
2013-11-22 15:01:12 [27544] [0] INFO: Added logfile 
`/var/log/kannel/smppbox.log' with level `0'.
2013-11-22 15:01:12 [27544] [0] INFO: DLR using storage type: internal
2013-11-22 15:01:12 [27544] [0] WARNING: opensmmpbox: DLR: using default 
'internal' for storage type.
2013-11-22 15:01:12 [27544] [0] INFO: opensmppbox DLR storage using type: 
internal
2013-11-22 15:01:12 [27544] [0] INFO: Waiting for SMPP connections on port 2775.
2013-11-22 15:01:22 [27544] [0] DEBUG: Started thread 1 (opensmppbox.c:function)
2013-11-22 15:01:22 [27544] [1] DEBUG: Thread 1 (opensmppbox.c:function) maps 
to pid 27544.
2013-11-22 15:01:22 [27544] [1] INFO: Client connected from <181.31.246.81>
2013-11-22 15:01:22 [27544] [1] DEBUG: Connecting to <127.0.0.1>
2013-11-22 15:01:22 [27544] [1] INFO: Connected to bearerbox at 127.0.0.1 port 
13001.
2013-11-22 15:01:22 [27544] [1] DEBUG: Started thread 2 
(opensmppbox.c:smpp_to_bearerbox)
2013-11-22 15:01:22 [27544] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread 
starts
2013-11-22 15:01:22 [27544] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) maps to pid 27544.
2013-11-22 15:01:22 [27544] [2] ERROR: opensmppbox: smpp_to_bearerbox: thread 
starts
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP[(null)]: Got PDU:
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP PDU 0xb5e008b8 dump:
2013-11-22 15:01:23 [27544] [2] DEBUG:   type_name: bind_transceiver
2013-11-22 15:01:23 [27544] [2] DEBUG:   command_id: 9 = 0x00000009
2013-11-22 15:01:23 [27544] [2] DEBUG:   command_status: 0 = 0x00000000
2013-11-22 15:01:23 [27544] [2] DEBUG:   sequence_number: 1 = 0x00000001
2013-11-22 15:01:23 [27544] [2] DEBUG:   system_id: "test"
2013-11-22 15:01:23 [27544] [2] DEBUG:   password: "test"
2013-11-22 15:01:23 [27544] [2] DEBUG:   system_type: NULL
2013-11-22 15:01:23 [27544] [2] DEBUG:   interface_version: 52 = 0x00000034
2013-11-22 15:01:23 [27544] [2] DEBUG:   addr_ton: 0 = 0x00000000
2013-11-22 15:01:23 [27544] [2] DEBUG:   addr_npi: 0 = 0x00000000
2013-11-22 15:01:23 [27544] [2] DEBUG:   address_range: NULL
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP PDU dump ends.
2013-11-22 15:01:23 [27544] [2] DEBUG: Client connected with id test
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP[test]: Sending PDU:
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP PDU 0xb5e00c78 dump:
2013-11-22 15:01:23 [27544] [2] DEBUG:   type_name: bind_transceiver_resp
2013-11-22 15:01:23 [27544] [2] DEBUG:   command_id: 2147483657 = 0x80000009
2013-11-22 15:01:23 [27544] [2] DEBUG:   command_status: 0 = 0x00000000
2013-11-22 15:01:23 [27544] [2] DEBUG:   sequence_number: 1 = 0x00000001
2013-11-22 15:01:23 [27544] [2] DEBUG:   system_id: "NetTalkSMPP"
2013-11-22 15:01:23 [27544] [2] DEBUG: SMPP PDU dump ends.
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP[test]: Got PDU:
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP PDU 0xb5e009c8 dump:
2013-11-22 15:01:24 [27544] [2] DEBUG:   type_name: unbind
2013-11-22 15:01:24 [27544] [2] DEBUG:   command_id: 6 = 0x00000006
2013-11-22 15:01:24 [27544] [2] DEBUG:   command_status: 0 = 0x00000000
2013-11-22 15:01:24 [27544] [2] DEBUG:   sequence_number: 2 = 0x00000002
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP PDU dump ends.
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP[test]: Sending PDU:
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP PDU 0xb5e00888 dump:
2013-11-22 15:01:24 [27544] [2] DEBUG:   type_name: unbind_resp
2013-11-22 15:01:24 [27544] [2] DEBUG:   command_id: 2147483654 = 0x80000006
2013-11-22 15:01:24 [27544] [2] DEBUG:   command_status: 0 = 0x00000000
2013-11-22 15:01:24 [27544] [2] DEBUG:   sequence_number: 2 = 0x00000002
2013-11-22 15:01:24 [27544] [2] DEBUG: SMPP PDU dump ends.
2013-11-22 15:01:24 [27544] [2] ERROR: opensmppbox: smpp_to_bearerbox: thread 
terminates
2013-11-22 15:01:24 [27544] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) terminates.
2013-11-22 15:01:24 [27544] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread 
terminates
2013-11-22 15:01:24 [27544] [1] DEBUG: Thread 1 (opensmppbox.c:function) 
terminates.
2013-11-22 15:01:25 [27544] [0] INFO: No more waiting for SMPP connections.
2013-11-22 15:01:25 [27544] [0] DEBUG: Immutable octet strings: 105.


 


 


 


OpenSMPPBox Config:


 


group = core
dlr-storage = internal


 


group = opensmppbox
opensmppbox-id = SMPPSERVER
opensmppbox-port = 2775
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
our-system-id = NetTalkSMPP
smpp-logins = /usr/local/etc/smpplogins.txt
use-systemid-as-smsboxid = true
log-level = 0
log-file = /var/log/kannel/smppbox.log


 


 


Kannel.conf:


 


group = core
dlr-storage = internal
admin-port = 13000
admin-password = password
status-password = password
admin-allow-ip = ""
wapbox-port = 13002
smsbox-port = 13001
log-level = 0
log-file = "/var/log/kannel/bearerbox.log"
box-allow-ip = "127.0.0.1"


 


group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"


 


group = smsbox
smsbox-id = BOX1
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
log-file = "/var/log/kannel/smsbox.log"
log-level = 0


 


group = sendsms-user
username = user
password = password


 


group = smsc
smsc = smpp
smsc-id = SMSC1
host = smsc6.routotelecom.com
port = 7777
smsc-username = XXXXXXX
smsc-password = XXXXXX
address-range = ""
system-type = ""
transceiver-mode = true


 


group = sms-service
keyword = nop
text = "Some text"


 


group = sms-service
keyword = default
text = "NetTalk SMS"

Reply via email to