Hi,
You should post your logs at maximum detail (debug) when posting to this
list. Do not post about SMPP PDU problems, without posting the actual PDU
data. Besides it looks like you send the wrong SMPP PDU from your app.
BR,
Nikos
----- Original Message -----
From: Ivan Martinez
To: users@kannel.org
Sent: Friday, June 24, 2011 12:13 AM
Subject: Invalid SMPP PDU received with opensmpp
Hi there,
I'm try to test opensmpp but when i try connect trought a php smpp client
and other tools to test the smpp performance like "SMPP benchmarking"[1] i
get this error:
"[12] ERROR: Invalid SMPP PDU received."
2011-06-23 21:17:10 [19106] [7] INFO: Client connected from <127.0.0.1>
2011-06-23 21:17:10 [19106] [7] INFO: Connected to bearerbox at localhost
port 13000.
2011-06-23 21:17:11 [19106] [8] ERROR: Invalid SMPP PDU received.
I'm newbie with Kannel...
My configuration is:
group = core
admin-port = 13000
admin-password = 12345
#status-password = 123456
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "0.0.0.0"
wapbox-port = 13001
smsbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/kannel.log"
#box-deny-ip = "*.*.*.*"
box-allow-ip = "0.0.0.0"
dlr-storage = mysql
group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
group = smsc
smsc = fake
smsc-id = fc
port = 13003
connect-allow-ip = 0.0.0.0
group = smsbox
smsbox-id = sboxk
bearerbox-host = localhost
sendsms-port = 13010
global-sender = "04129999999"
access-log = "/var/log/kannel/kannel.access"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
group = mysql-connection
id = mysql-logs
host = localhost
username = kannel
password = kannel
database = kannel
max-connections = 2
group = dlr-db
id = mysql-logs
table = logs
field-smsc = smsc
field-timestamp = time
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
group = sendsms-user
#Username and Password for sending sms using HTTP interface
username = kannel
password = kannel
concatenation = true
#can send a longer text message about 3 smses ( 3*160)
#max-messages = 3
group = opensmppbox
opensmppbox-id = smppbox
#opensmppbox-port = 13004
opensmppbox-port = 10000
bearerbox-host = localhost
bearerbox-port = 13000
log-level = 0
log-file = /var/log/kannel/opensmppbox.log
our-system-id = opensmppid
route-to-smsc = fc
smpp-logins = "/etc/kannel/smpplogins.txt"
smpplogins.txt:
usuario clave sboxk *.*.*.*
Kannel bearerbox version `svn-r4910'. Build `Jun 20 2011 14:43:31', compiler
`4.1.2 20080704 (Red Hat 4.1.2-50)'. System Linux, release
2.6.39-1.el5.elrepo, version #1 SMP PREEMPT Fri Jun 3 19:16:32 EDT 2011,
machine i686. Hostname sms.venturestars.com, IP 192.168.1.72. Libxml version
2.6.26. Using OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008. Compiled with MySQL
5.0.77, using MySQL 5.0.77. Using native malloc.
Thanks for your help!
[1] http://www.smpp.com/smpp-benchmarking.html