You could double check your smpplogins.txt.

 

== Rene

 

Van: users <users-boun...@kannel.org> Namens Michael Osakede
Verzonden: maandag 30 november 2020 03:06
Aan: users@kannel.org
Onderwerp: OPENSMPPBOX code 0x0000000d (Bind Failed) help

 

Hello,

 

I have this setup

 

KANNEL SMSC <==> OPENSMPPBOX Server

below are the opensmppbox and kannel config.

 

OPENSMPPBOX

group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = orange
opensmppbox-port = 1991
bearerbox-host = localhost
bearerbox-port = 13001
our-system-id = orange_vezeti
smpp-logins = "/etc/kannel/box/smpplogins.txt"
route-to-smsc = MEDIATEL
log-level = 0
log-file = /tmp/smppbox.log

OPENSMPP Users

mike mike orange 78.208.228.38

 

CONNECTING Kannel SMSC

# SMSC SMPP
group = smsc
smsc-id = orange
smsc = smpp
host = 156.0.249.122
port = 1991
#receive-port = 2346
smsc-username = mike
smsc-password = mike
system-type = orange
#interface-version = 52
keepalive = 50
allowed-smsc-id = orange
transceiver-mode = true
msg-id-type =  0x00
throughput = 10
max-pending-submits = 10
wait-ack = 600

 

Kannel Log

] DEBUG: Connecting to <156.0.249.122>
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x00000009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x00000000
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x0000005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x00000034
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x00000000
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x00000000
2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 = 0x80000009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x0000000d
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x0000005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login to 
transmit, code 0x0000000d (Bind Failed).
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to SMS 
center (retrying in 10 seconds).

 

OPENSMPP Log

2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1 (opensmppbox.c:function)
2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function) maps 
to pid 19202.
2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost port 
13001.
2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2 
(opensmppbox.c:smpp_to_bearerbox)
2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x00000009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x00000000
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x00000001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x00000034
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_ton: 0 = 0x00000000
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_npi: 0 = 0x00000000
2020-11-30 02:53:26 [19202] [2] DEBUG:   address_range: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c001050 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 2147483657 = 0x80000009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 13 = 0x0000000d
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x00000001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:27 [19202] [2] ERROR: Invalid SMPP PDU received.
2020-11-30 02:53:27 [19202] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) terminates.
2020-11-30 02:53:28 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function) 
terminates.

 

any help is welcome, what am I getting wrong?

 

Michael

Reply via email to