Hi there, I am setting up a openSMPPBox, however every time the SMPP client try to connect, the log message shows command_status: 13. (Bind Failed). I already tried to bind as Transceiver, as Transmitter, and as Received, and the message is the same.
At this moment I am able to send and receive messages with a phone (virtual SMSC) What parameter(s) I am missing on the configuration files (smskannel.conf, opensmppbox.conf, smpplogins.txt), or which one(s) are wrong? Many thanks in advance, ====================================================================== The log's file is: 2012-02-14 15:09:39 [24766] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2012-02-14 15:09:39 [24766] [0] DEBUG: Kannel opensmppbox version svn-r63 gwlib version `svn-r4951'. 2012-02-14 15:09:39 [24766] [0] INFO: DLR using storage type: internal 2012-02-14 15:09:39 [24766] [0] INFO: Starting to log to file /var/log/kannel/opensmppbox.log level 0 2012-02-14 15:09:39 [24766] [0] INFO: Added logfile `/var/log/kannel/opensmppbox.log' with level `0'. 2012-02-14 15:09:39 [24766] [0] INFO: Waiting for SMPP connections on port 2346. 2012-02-14 15:10:22 [24766] [0] DEBUG: Started thread 1 (opensmppbox.c:function) 2012-02-14 15:10:22 [24766] [1] DEBUG: Thread 1 (opensmppbox.c:function) maps to pid 24766. 2012-02-14 15:10:22 [24766] [1] INFO: Client connected from <10.3.1.100> 2012-02-14 15:10:22 [24766] [1] DEBUG: Connecting to <127.0.0.1> 2012-02-14 15:10:22 [24766] [1] INFO: Connected to bearerbox at localhost port 13001. 2012-02-14 15:10:22 [24766] [1] DEBUG: Started thread 2 (opensmppbox.c:smpp_to_bearerbox) 2012-02-14 15:10:22 [24766] [2] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) maps to pid 24766. 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP[abcd]: Got PDU: 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP PDU 0x896abf8 dump: 2012-02-14 15:10:26 [24766] [2] DEBUG: type_name: bind_transceiver 2012-02-14 15:10:26 [24766] [2] DEBUG: command_id: 9 = 0x00000009 2012-02-14 15:10:26 [24766] [2] DEBUG: command_status: 0 = 0x00000000 2012-02-14 15:10:26 [24766] [2] DEBUG: sequence_number: 165 = 0x000000a5 2012-02-14 15:10:26 [24766] [2] DEBUG: system_id: "nms" 2012-02-14 15:10:26 [24766] [2] DEBUG: password: "greenbay" 2012-02-14 15:10:26 [24766] [2] DEBUG: system_type: "mysmsc" 2012-02-14 15:10:26 [24766] [2] DEBUG: interface_version: 3 = 0x00000003 2012-02-14 15:10:26 [24766] [2] DEBUG: addr_ton: 0 = 0x00000000 2012-02-14 15:10:26 [24766] [2] DEBUG: addr_npi: 0 = 0x00000000 2012-02-14 15:10:26 [24766] [2] DEBUG: address_range: NULL 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP PDU dump ends. 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP[abcd]: Sending PDU: 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP PDU 0x896ad40 dump: 2012-02-14 15:10:26 [24766] [2] DEBUG: type_name: bind_transceiver_resp 2012-02-14 15:10:26 [24766] [2] DEBUG: command_id: 2147483657 = 0x80000009 2012-02-14 15:10:26 [24766] [2] DEBUG: command_status: 13 = 0x0000000d 2012-02-14 15:10:26 [24766] [2] DEBUG: sequence_number: 165 = 0x000000a5 2012-02-14 15:10:26 [24766] [2] DEBUG: system_id: NULL 2012-02-14 15:10:26 [24766] [2] DEBUG: SMPP PDU dump ends. 2012-02-14 15:10:28 [24766] [2] ERROR: Invalid SMPP PDU received. 2012-02-14 15:10:28 [24766] [2] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) terminates. 2012-02-14 15:10:28 [24766] [1] DEBUG: Thread 1 (opensmppbox.c:function) terminates. My configuration file are: smskannel.conf -------------- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar dlr-storage = internal admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1;10.3.1.*" log-file = "/var/log/kannel/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/var/log/kannel/coreaccess.log" store-type = spool store-location = "/var/log/kannel/sent" group = smsc smsc = at smsc-id = smsc-01 sms-center = "+xxxxxxxxxx" modemtype = sierraMC device = /dev/ttyUSB3 my-number = "+xxxxxxxxxx" alt-charset = "ASCII" connect-allow-ip = 127.0.0.1 log-level = 0 sim-buffering = true group = modems id = sierraMC name = "Sierra Wireless MC" detect-string = "Sierra Wireless" init-string = "AT+CNMI=2,1,2,2,0" message-storage = me speed = 115200 group = smsbox smsbox-id = mysmsc bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = "+xxxxxxxxxx" sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" group = sendsms-user username = kanneluser password = foobar concatenation = true max-messages = 10 forced-smsc = smsc-01 group = sms-service keyword = default accepted-smsc = smsc-01 max-messages = 0 exec = "echo [%t] %a >> /var/log/kannel/incoming" group = smsbox-route smsbox-id = mysmsc smsc-id = smsc-01 opensmppbox.conf ------------------- group = core dlr-storage = internal group = opensmppbox opensmppbox-id = abcd opensmppbox-port = 2346 bearerbox-host = localhost bearerbox-port = 13001 log-level = 0 log-file = /var/log/kannel/opensmppbox.log our-system-id = chim1 route-to-smsc = smsc-01 smpp-logins = "/etc/kannel/smpplogins.txt" /etc/kannel/smpplogins.txt -------------------------- system-id-01 password-01 system-type-01 client-02 password-02 locahost 127.0.0.1 nms greenbay mysmsc *.*.*.* -- View this message in context: http://old.nabble.com/OpenSMPPBox-command_status%3A-13-%3D-0x0000000d---Invalid-SMPP-PDU-received.-tp33325028p33325028.html Sent from the Kannel - User mailing list archive at Nabble.com.