Command status 0x0d means: Invalid login. Either the login file could not be found or it doesn't have the correct syntax.
== Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Davit Mirzoyan Sent: Thursday, 12 August, 2010 13:03 To: users@kannel.org Subject: SMPPbox: client binding problem Dear all, Lately I was testing the smppbox with the gateway. I got the SMPPbox sources (revision 41), together with the latest gateway sources (revision 4837), from the svn repository. I managed to compile and install kannel and smppbox. Anyhow, I was running the smppbox with the bearerbox and strangely I couldn't manage to bind my client over SMPP to SMPPbox. Every time my client tries to bind to smppbox, it says that an invalid SMPP PDU is recieved (even though correct username and password are sent to my smppbox, as set up in smpp-logins.txt). I was wondering if there is anybody who managed to bind the whole thing and get it work or if anybody got a binding error like this. I would greatly appreciate your help, I am kind of stalled here. I can post my configuration files if needed. Here is my output 2010-08-12 12:47:48 [4738] [0] INFO: Waiting for SMPP connections on port 2346. 2010-08-12 12:54:17 [4738] [0] DEBUG: Started thread 1 (smppbox.c:function) 2010-08-12 12:54:17 [4738] [1] DEBUG: Thread 1 (smppbox.c:function) maps to pid 4738. 2010-08-12 12:54:17 [4738] [1] INFO: Client connected from <192.123.1.103> 2010-08-12 12:54:17 [4738] [1] DEBUG: Connecting to <127.0.0.1> 2010-08-12 12:54:17 [4738] [1] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-08-12 12:54:17 [4738] [1] DEBUG: Started thread 2 (smppbox.c:smpp_to_bearerbox) 2010-08-12 12:54:17 [4738] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) maps to pid 4738. 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP[(null)]: Got PDU: 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU 0x8aa5770 dump: 2010-08-12 12:54:18 [4738] [2] DEBUG: type_name: bind_transceiver 2010-08-12 12:54:18 [4738] [2] DEBUG: command_id: 9 = 0x00000009 2010-08-12 12:54:18 [4738] [2] DEBUG: command_status: 0 = 0x00000000 2010-08-12 12:54:18 [4738] [2] DEBUG: sequence_number: 1 = 0x00000001 2010-08-12 12:54:18 [4738] [2] DEBUG: system_id: "foo" 2010-08-12 12:54:18 [4738] [2] DEBUG: password: "bar" 2010-08-12 12:54:18 [4738] [2] DEBUG: system_type: "vma" 2010-08-12 12:54:18 [4738] [2] DEBUG: interface_version: 52 = 0x00000034 2010-08-12 12:54:18 [4738] [2] DEBUG: addr_ton: 1 = 0x00000001 2010-08-12 12:54:18 [4738] [2] DEBUG: addr_npi: 1 = 0x00000001 2010-08-12 12:54:18 [4738] [2] DEBUG: address_range: NULL 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU dump ends. 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP[(null)]: Sending PDU: 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU 0x8aaf370 dump: 2010-08-12 12:54:18 [4738] [2] DEBUG: type_name: bind_transceiver_resp 2010-08-12 12:54:18 [4738] [2] DEBUG: command_id: 2147483657 = 0x80000009 2010-08-12 12:54:18 [4738] [2] DEBUG: command_status: 13 = 0x0000000d 2010-08-12 12:54:18 [4738] [2] DEBUG: sequence_number: 1 = 0x00000001 2010-08-12 12:54:18 [4738] [2] DEBUG: system_id: NULL 2010-08-12 12:54:18 [4738] [2] DEBUG: SMPP PDU dump ends. 2010-08-12 12:54:19 [4738] [2] ERROR: Invalid SMPP PDU received. 2010-08-12 12:54:19 [4738] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. P.S. My bearerbox works fine with the smsbox. I can send messages through smsbox via HTTP easily. Something is wrong with my smppbox setup I guess. Thanks in advance Davit