In /etc/smpplogin.txt, try: 12345 12345 vma *.*.*.*
== Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of David Ige: Cellulant Sent: Friday, 14 January, 2011 14:54 To: users@kannel.org Subject: ESME Client not connecting to OpenSmppbox Hello everyone, I have installed opensmppbox on a centOS server and have configured it with a client, but the client is not able to connect. When the client tries to connect it gives SMSC rejected login to transmit, code 0x0000000d (Bind Failed). Couldn't connect to SMS center (retrying in 10 seconds). On the server side, it gives this error, Invalid SMPP PDU received. Server Bearerbox log 2011-01-15 13:07:37 [26155] [5] INFO: Client connected from <127.0.0.1> 2011-01-15 13:07:37 [26155] [5] DEBUG: Started thread 45 (gw/bb_boxc.c:function) 2011-01-15 13:07:37 [26155] [45] DEBUG: Thread 45 (gw/bb_boxc.c:function) maps to pid 26155. 2011-01-15 13:07:37 [26155] [45] DEBUG: Started thread 46 (gw/bb_boxc.c:boxc_sender) 2011-01-15 13:07:37 [26155] [46] DEBUG: Thread 46 (gw/bb_boxc.c:boxc_sender) maps to pid 26155. 2011-01-15 13:07:40 [26155] [45] INFO: Connection closed by the box <127.0.0.1> 2011-01-15 13:07:40 [26155] [46] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2011-01-15 13:07:40 [26155] [46] DEBUG: Thread 46 (gw/bb_boxc.c:boxc_sender) terminates. 2011-01-15 13:07:40 [26155] [45] DEBUG: Thread 45 (gw/bb_boxc.c:function) terminates. 2011-01-15 13:07:48 [26155] [5] INFO: Client connected from <127.0.0.1> 2011-01-15 13:07:48 [26155] [5] DEBUG: Started thread 47 (gw/bb_boxc.c:function) 2011-01-15 13:07:48 [26155] [47] DEBUG: Thread 47 (gw/bb_boxc.c:function) maps to pid 26155. 2011-01-15 13:07:48 [26155] [47] DEBUG: Started thread 48 (gw/bb_boxc.c:boxc_sender) 2011-01-15 13:07:48 [26155] [48] DEBUG: Thread 48 (gw/bb_boxc.c:boxc_sender) maps to pid 26155. 2011-01-15 13:07:51 [26155] [47] INFO: Connection closed by the box <127.0.0.1> 2011-01-15 13:07:51 [26155] [48] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2011-01-15 13:07:51 [26155] [48] DEBUG: Thread 48 (gw/bb_boxc.c:boxc_sender) terminates. 2011-01-15 13:07:51 [26155] [47] DEBUG: Thread 47 (gw/bb_boxc.c:function) terminates. 2011-01-15 13:07:59 [26155] [5] INFO: Client connected from <127.0.0.1> 2011-01-15 13:07:59 [26155] [5] DEBUG: Started thread 49 (gw/bb_boxc.c:function) 2011-01-15 13:07:59 [26155] [49] DEBUG: Thread 49 (gw/bb_boxc.c:function) maps to pid 26155. 2011-01-15 13:07:59 [26155] [49] DEBUG: Started thread 50 (gw/bb_boxc.c:boxc_sender) 2011-01-15 13:07:59 [26155] [50] DEBUG: Thread 50 (gw/bb_boxc.c:boxc_sender) maps to pid 26155. 2011-01-15 13:08:02 [26155] [49] INFO: Connection closed by the box <127.0.0.1> 2011-01-15 13:08:02 [26155] [50] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2011-01-15 13:08:02 [26155] [50] DEBUG: Thread 50 (gw/bb_boxc.c:boxc_sender) terminates. 2011-01-15 13:08:02 [26155] [49] DEBUG: Thread 49 (gw/bb_boxc.c:function) terminates. Server Opensmppbox log 2011-01-15 13:06:40 [28249] [25] INFO: Client connected from <40.100.0.000> 2011-01-15 13:06:40 [28249] [25] DEBUG: Connecting to <127.0.0.1> 2011-01-15 13:06:40 [28249] [25] INFO: Connected to bearerbox at localhost port 13001. 2011-01-15 13:06:40 [28249] [25] DEBUG: Started thread 26 (opensmppbox.c:smpp_to_bearerbox) 2011-01-15 13:06:40 [28249] [26] DEBUG: Thread 26 (opensmppbox.c:smpp_to_bearerbox) maps to pid 28249. 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP[opensmppbox]: Got PDU: 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU 0x4ea0170 dump: 2011-01-15 13:06:41 [28249] [26] DEBUG: type_name: bind_transceiver 2011-01-15 13:06:41 [28249] [26] DEBUG: command_id: 9 = 0x00000009 2011-01-15 13:06:41 [28249] [26] DEBUG: command_status: 0 = 0x00000000 2011-01-15 13:06:41 [28249] [26] DEBUG: sequence_number: 13 = 0x0000000d 2011-01-15 13:06:41 [28249] [26] DEBUG: system_id: "12345" 2011-01-15 13:06:41 [28249] [26] DEBUG: password: "12345" 2011-01-15 13:06:41 [28249] [26] DEBUG: system_type: "vma" 2011-01-15 13:06:41 [28249] [26] DEBUG: interface_version: 52 = 0x00000034 2011-01-15 13:06:41 [28249] [26] DEBUG: addr_ton: 0 = 0x00000000 2011-01-15 13:06:41 [28249] [26] DEBUG: addr_npi: 1 = 0x00000001 2011-01-15 13:06:41 [28249] [26] DEBUG: address_range: NULL 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU dump ends. 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP[opensmppbox]: Sending PDU: 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU 0x4ea38a0 dump: 2011-01-15 13:06:41 [28249] [26] DEBUG: type_name: bind_transceiver_resp 2011-01-15 13:06:41 [28249] [26] DEBUG: command_id: 2147483657 = 0x80000009 2011-01-15 13:06:41 [28249] [26] DEBUG: command_status: 13 = 0x0000000d 2011-01-15 13:06:41 [28249] [26] DEBUG: sequence_number: 13 = 0x0000000d 2011-01-15 13:06:41 [28249] [26] DEBUG: system_id: NULL 2011-01-15 13:06:41 [28249] [26] DEBUG: SMPP PDU dump ends. 2011-01-15 13:06:42 [28249] [26] ERROR: Invalid SMPP PDU received. 2011-01-15 13:06:42 [28249] [26] DEBUG: Thread 26 (opensmppbox.c:smpp_to_bearerbox) terminates. 2011-01-15 13:06:43 [28249] [25] DEBUG: Thread 25 (opensmppbox.c:function) terminates. Client bearerbox log 2011-01-14 14:19:13 [20507] [6] DEBUG: SMPP[ukserver]: Sending PDU: 2011-01-14 14:19:13 [20507] [6] DEBUG: SMPP PDU 0x9305058 dump: 2011-01-14 14:19:13 [20507] [6] DEBUG: type_name: bind_transceiver 2011-01-14 14:19:13 [20507] [6] DEBUG: command_id: 9 = 0x00000009 2011-01-14 14:19:13 [20507] [6] DEBUG: command_status: 0 = 0x00000000 2011-01-14 14:19:13 [20507] [6] DEBUG: sequence_number: 1 = 0x00000001 2011-01-14 14:19:13 [20507] [6] DEBUG: system_id: "12345" 2011-01-14 14:19:13 [20507] [6] DEBUG: password: "12345" 2011-01-14 14:19:13 [20507] [6] DEBUG: system_type: "vma" 2011-01-14 14:19:13 [20507] [6] DEBUG: interface_version: 52 = 0x00000034 2011-01-14 14:19:13 [20507] [6] DEBUG: addr_ton: 0 = 0x00000000 2011-01-14 14:19:13 [20507] [6] DEBUG: addr_npi: 1 = 0x00000001 2011-01-14 14:19:13 [20507] [6] DEBUG: address_range: NULL 2011-01-14 14:19:13 [20507] [6] DEBUG: SMPP PDU dump ends. 2011-01-14 14:19:14 [20507] [6] DEBUG: SMPP[ukserver]: Got PDU: 2011-01-14 14:19:14 [20507] [6] DEBUG: SMPP PDU 0x9305098 dump: 2011-01-14 14:19:14 [20507] [6] DEBUG: type_name: bind_transceiver_resp 2011-01-14 14:19:14 [20507] [6] DEBUG: command_id: 2147483657 = 0x80000009 2011-01-14 14:19:14 [20507] [6] DEBUG: command_status: 13 = 0x0000000d 2011-01-14 14:19:14 [20507] [6] DEBUG: sequence_number: 1 = 0x00000001 2011-01-14 14:19:14 [20507] [6] DEBUG: system_id: NULL 2011-01-14 14:19:14 [20507] [6] DEBUG: SMPP PDU dump ends. 2011-01-14 14:19:14 [20507] [6] ERROR: SMPP[ukserver]: SMSC rejected login to transmit, code 0x0000000d (Bind Failed). 2011-01-14 14:19:14 [20507] [6] ERROR: SMPP[ukserver]: Couldn't connect to SMS center (retrying in 10 seconds). Bearerbox configuration group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" log-file = "/tmp/kannel.log" log-level = 0 #box-deny-ip = "*.*.*.*" box-allow-ip = "*.*.*.*" #unified-prefix = "+358,00358,0;+,00" access-log = "/tmp/access.log" store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" group = smsc smsc = fake smsc-id = FAKE port = 20000 connect-allow-ip = 127.0.0.1 group = smsbox bearerbox-host = 127.0.0.1 bearerbox-port=13005 sendsms-port = 13013 global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 0 access-log = "/tmp/access.log" group = sendsms-user username = tester password = foobar user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" Opensmppbox configuration # this group defines your opensmppbox group = opensmppbox # our boxc type opensmppbox-id = opensmppbox # the port to listen on for smpp connections opensmppbox-port = 2345 # we connect to the following host as a box bearerbox-host = localhost bearerbox-port = 13001 log-level = 0 log-file = opensmppbox.log our-system-id = opensmppbox # route-to-smsc = FAKE # see sample smpplogins.txt smpp-logins = "/etc/smpplogins.txt" /etc/smpplogin.txt 12345 12345 vma SMSC Configuration group = smsc smsc = smpp smsc-id = xxxxxxxxx host = xxxxxxxxxxxxxxx port = 2345 receive-port = 2345 smsc-username = 12345 smsc-password = 12345 system-type = "vma" ######address-range = bind-addr-ton = 0 bind-addr-npi = 1 dest-addr-ton = 1 dest-addr-npi = 1 source-addr-ton = 0 source-addr-npi = 1 allowed-prefix = 234 msg-id-type = 0x01 transceiver-mode=1 interface-version = 34 Please can someone help me as soon as possible. Thanks.