In opensmppbox.conf, the following line:

 

bearerbox-port = 13000

 

should be bearerbox-port = 13005.

 

== Rene

 

 

From: users [mailto:[email protected]] On Behalf Of Crystian Luís
Sent: woensdag 20 november 2013 17:18
To: [email protected]
Subject: INVALID SMPP PDU RECEIVED using OPENSMPPBOX.

 

We are having a problem with INVALID SMPP PDU RECEIVED using OPENSMPPBOX.

 

Could you help me?

 

Logs and conf files:

 

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP[vbs]: Got PDU:

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP PDU 0x827ae0 dump:

2013-11-20 14:14:29 [3201] [10] DEBUG:   type_name: bind_transceiver

2013-11-20 14:14:29 [3201] [10] DEBUG:   command_id: 9 = 0x00000009

2013-11-20 14:14:29 [3201] [10] DEBUG:   command_status: 0 = 0x00000000

2013-11-20 14:14:29 [3201] [10] DEBUG:   sequence_number: 5 = 0x00000005

2013-11-20 14:14:29 [3201] [10] DEBUG:   system_id: "vbs"

2013-11-20 14:14:29 [3201] [10] DEBUG:   password: "changepass"

2013-11-20 14:14:29 [3201] [10] DEBUG:   system_type: NULL

2013-11-20 14:14:29 [3201] [10] DEBUG:   interface_version: 52 = 0x00000034

2013-11-20 14:14:29 [3201] [10] DEBUG:   addr_ton: 0 = 0x00000000

2013-11-20 14:14:29 [3201] [10] DEBUG:   addr_npi: 0 = 0x00000000

2013-11-20 14:14:29 [3201] [10] DEBUG:   address_range: NULL

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP PDU dump ends.

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP[vbs]: Sending PDU:

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP PDU 0x827d90 dump:

2013-11-20 14:14:29 [3201] [10] DEBUG:   type_name: bind_transceiver_resp

2013-11-20 14:14:29 [3201] [10] DEBUG:   command_id: 2147483657 = 0x80000009

2013-11-20 14:14:29 [3201] [10] DEBUG:   command_status: 13 = 0x0000000d

2013-11-20 14:14:29 [3201] [10] DEBUG:   sequence_number: 5 = 0x00000005

2013-11-20 14:14:29 [3201] [10] DEBUG:   system_id: NULL

2013-11-20 14:14:29 [3201] [10] DEBUG: SMPP PDU dump ends.

2013-11-20 14:14:30 [3201] [10] ERROR: Invalid SMPP PDU received.

2013-11-20 14:14:30 [3201] [10] DEBUG: Thread 10 
(opensmppbox.c:smpp_to_bearerbox) terminates.

2013-11-20 14:14:31 [3201] [9] DEBUG: Thread 9 (opensmppbox.c:function) 
terminates.

 

 

 

##-kannel.conf-############################

###########################################

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = bar

log-file = "/var/log/kannel/kannel.log"

log-level = 10

box-deny-ip = "*.*.*.*"

box-allow-ip = "*.*.*.*"

access-log = "/var/log/kannel/access.log"

 

group = smsc

smsc = smpp

smsc-id = SMSC1

host = 186.250.124.19

port = 9500

smsc-username = changeuser

smsc-password = changepass

address-range = ""

system-type = ""

transceiver-mode = true

 

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13013

global-sender = 13013

log-file = "/var/log/kannel/smsbox.log"

log-level = 10

smsbox-id = BOX1

access-log = "/var/log/kannel/access.log"

 

group = sendsms-user

username = vbs

password = vbox

 

group = sms-service

keyword = nop

text = "You asked nothing and I did it!"

 

group = sms-service

keyword = default

text = "No service specified"

 

group = pgsql-connection

id = mydlr

host = localhost

username = postgres

password = changepass

database = kannel

max-connections = 1

 

group = dlr-db

id = mydlr

table = dlr

field-smsc = smsc

field-timestamp = ts

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = box

###########################################

###########################################

##-opensmppbox.conf-#######################

###########################################

opensmppbox.conf 

group = core

dlr-storage = pgsql

 

group = opensmppbox

opensmppbox-id = vbs

opensmppbox-port = 13002

bearerbox-host = localhost

bearerbox-port = 13000

log-level = 10

log-file = "/var/log/kannel/opensmppbox.log"

our-system-id = vbs

route-to-smsc = SMSC1

smpp-logins = "/etc/kannel/smpp_users.txt"

 

group = pgsql-connection

id = mydlr

host = localhost

username = postgres

password = changepass

database = kannel

max-connections = 1

 

group = dlr-db

id = mydlr

table = dlr

field-smsc = smsc

field-timestamp = ts

field-destination = destination

field-source = source

field-service = service

field-url = url

field-mask = mask

field-status = status

field-boxc-id = boxcid

###########################################

###########################################

##-smpp_users.txt-#########################

###########################################

vbs changepass vma *.*.*.*

###########################################

###########################################

##-sqlbox.conf-############################

###########################################

group = sqlbox

id = sqlbox-db

smsbox-id = sqlbox

bearerbox-host = localhost

bearerbox-port = 13001

smsbox-port = 13005

smsbox-port-ssl = false

sql-log-table = sent_sms

sql-insert-table = send_sms

log-file = "/var/log/kannel/sqlbox.log"

log-level = 10

 

group = pgsql-connection

id = sqlbox-db

username = postgres

password = changepass

database = kannel

host = localhost

 




Crystian Luís Kammler
Telefone Celular: 49 8436 5030

MSN: [email protected] 
<https://mail.google.com/mail/?view=cm&fs=1&tf=1&[email protected]> 

Skype: crystianluis

Reply via email to