Hi, one of our SMPP clients are using the opensmpp-1.0.jar class to connect to
our SMPPBOX server, and they claim their library has a bug that causes them to
send system_type=null no matter what they set it up.
My question is, is there a way to setup my smppbox conf file or my clients conf
file to accept a connection without system_type or with system_type = null ?
this is how I am doing my smpp clients config file:
user password SMPP 10.10.10.10
As you can see I am waiting for the system_type = SMPP; I tested putting a "*"
wildcard on that field, also leaving it blank and it didn't work. At the end of
the post I will put the debug output of the failed connection to SMPPBOX.
These are my smppbox and bearer box version output:
/usr/local/sbin/smppbox --version:
----------------------------------------
Kannel smppbox version `svn-r4833'.
Build `Jul 29 2010 15:58:27', compiler `4.2.1 20070719 [FreeBSD]'.
System FreeBSD, release 8.1-RELEASE, version FreeBSD 8.1-RELEASE #0: Mon Jul 19
02:55:53 UTC 2010
[email protected]:/usr/obj/usr/src/sys/GENERIC, machine i386.
Hostname localhost, IP 127.0.0.1.
Libxml version 2.7.7.
Using OpenSSL 1.0.0a 1 Jun 2010.
Compiled with MySQL 5.1.48, using MySQL 5.1.48.
Using native malloc.
/usr/local/sbin/bearerbox --version :
----------------------------------------
Kannel bearerbox version `svn-r4833'.
Build `Jun 4 2012 15:45:27', compiler `4.2.1 20070719 [FreeBSD]'.
System FreeBSD, release 8.1-RELEASE, version FreeBSD 8.1-RELEASE #0: Mon Jul 19
02:55:53 UTC 2010
[email protected]:/usr/obj/usr/src/sys/GENERIC, machine i386.
Hostname localhost, IP 127.0.0.1.
Libxml version 2.7.7.
Using OpenSSL 1.0.0a 1 Jun 2010.
Compiled with MySQL 5.1.48, using MySQL 5.1.48.
Using native malloc.
2012-12-05 12:33:20 [98681] [69] INFO: Client connected from <10.10.10.10>
2012-12-05 12:33:20 [98681] [69] DEBUG: Connecting to <127.0.0.1>
2012-12-05 12:33:20 [98681] [69] INFO: Connected to bearerbox at localhost port
13005.
2012-12-05 12:33:20 [98681] [69] DEBUG: Started thread 70
(smppbox.c:smpp_to_bearerbox)
2012-12-05 12:33:20 [98681] [70] DEBUG: Thread 70 (smppbox.c:smpp_to_bearerbox)
maps to pid 98681.
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP[yec-smpp-01]: Got PDU:
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP PDU 0x29929a00 dump:
2012-12-05 12:33:20 [98681] [70] DEBUG: type_name: bind_transmitter
2012-12-05 12:33:20 [98681] [70] DEBUG: command_id: 2 = 0x00000002
2012-12-05 12:33:20 [98681] [70] DEBUG: command_status: 0 = 0x00000000
2012-12-05 12:33:20 [98681] [70] DEBUG: sequence_number: 28 = 0x0000001c
2012-12-05 12:33:20 [98681] [70] DEBUG: system_id: "user"
2012-12-05 12:33:20 [98681] [70] DEBUG: password: "password"
2012-12-05 12:33:20 [98681] [70] DEBUG: system_type: NULL
2012-12-05 12:33:20 [98681] [70] DEBUG: interface_version: 52 = 0x00000034
2012-12-05 12:33:20 [98681] [70] DEBUG: addr_ton: 0 = 0x00000000
2012-12-05 12:33:20 [98681] [70] DEBUG: addr_npi: 0 = 0x00000000
2012-12-05 12:33:20 [98681] [70] DEBUG: address_range: NULL
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP PDU dump ends.
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP[yec-smpp-01]: Sending PDU:
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP PDU 0x29929800 dump:
2012-12-05 12:33:20 [98681] [70] DEBUG: type_name: bind_transmitter_resp
2012-12-05 12:33:20 [98681] [70] DEBUG: command_id: 2147483650 = 0x80000002
2012-12-05 12:33:20 [98681] [70] DEBUG: command_status: 13 = 0x0000000d
2012-12-05 12:33:20 [98681] [70] DEBUG: sequence_number: 28 = 0x0000001c
2012-12-05 12:33:20 [98681] [70] DEBUG: system_id: NULL
2012-12-05 12:33:20 [98681] [70] DEBUG: SMPP PDU dump ends.
2012-12-05 12:33:21 [98681] [68] ERROR: Invalid SMPP PDU received.
2012-12-05 12:33:21 [98681] [68] DEBUG: Thread 68 (smppbox.c:smpp_to_bearerbox)
terminates.
2012-12-05 12:34:21 [98681] [70] ERROR: Invalid SMPP PDU received.
2012-12-05 12:34:21 [98681] [70] DEBUG: Thread 70 (smppbox.c:smpp_to_bearerbox)
terminates.
Thanks in advance!
Aldo Zavala