Hi,

I have switched the configuration to connect to bearerbox now (although I initially thought sqlbox would be fine); I am getting the following in the opensmppbox log:

2012-08-06 11:07:49 [4387] [0] INFO: opensmppbox DLR storage using type: mysql 2012-08-06 11:07:49 [4387] [0] INFO: Waiting for SMPP connections on port 12090. 2012-08-06 11:07:51 [4387] [0] DEBUG: Started thread 1 (opensmppbox.c:function) 2012-08-06 11:07:51 [4387] [1] DEBUG: Thread 1 (opensmppbox.c:function) maps to pid 4387.
2012-08-06 11:07:51 [4387] [1] INFO: Client connected from <127.0.0.1>
2012-08-06 11:07:51 [4387] [1] DEBUG: Connecting to <127.0.0.1>
2012-08-06 11:07:51 [4387] [1] INFO: Connected to bearerbox at localhost port 12001. 2012-08-06 11:07:51 [4387] [1] DEBUG: Started thread 2 (opensmppbox.c:smpp_to_bearerbox) 2012-08-06 11:07:51 [4387] [2] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) maps to pid 4387. 2012-08-06 11:07:51 [4387] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread starts 2012-08-06 11:07:51 [4387] [2] ERROR: opensmppbox: smpp_to_bearerbox: thread starts
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP[(null)]: Got PDU:
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP PDU 0x7ff65c000d50 dump:
2012-08-06 11:07:51 [4387] [2] DEBUG:   type_name: bind_transmitter
2012-08-06 11:07:51 [4387] [2] DEBUG:   command_id: 2 = 0x00000002
2012-08-06 11:07:51 [4387] [2] DEBUG:   command_status: 0 = 0x00000000
2012-08-06 11:07:51 [4387] [2] DEBUG:   sequence_number: 1 = 0x00000001
*2012-08-06 11:07:51 [4387] [2] DEBUG:   system_id: "user"
2012-08-06 11:07:51 [4387] [2] DEBUG:   password: "pass"
2012-08-06 11:07:51 [4387] [2] DEBUG:   system_type: "VMA"*
2012-08-06 11:07:51 [4387] [2] DEBUG:   interface_version: 52 = 0x00000034
2012-08-06 11:07:51 [4387] [2] DEBUG:   addr_ton: 0 = 0x00000000
2012-08-06 11:07:51 [4387] [2] DEBUG:   addr_npi: 0 = 0x00000000
2012-08-06 11:07:51 [4387] [2] DEBUG:   address_range: NULL
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP PDU dump ends.
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP[(null)]: Sending PDU:
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP PDU 0x7ff65c000fe0 dump:
2012-08-06 11:07:51 [4387] [2] DEBUG:   type_name: bind_transmitter_resp
2012-08-06 11:07:51 [4387] [2] DEBUG:   command_id: 2147483650 = 0x80000002
2012-08-06 11:07:51 [4387] [2] DEBUG:   command_status: 13 = 0x0000000d
2012-08-06 11:07:51 [4387] [2] DEBUG:   sequence_number: 1 = 0x00000001
2012-08-06 11:07:51 [4387] [2] DEBUG:   system_id: NULL
2012-08-06 11:07:51 [4387] [2] DEBUG: SMPP PDU dump ends.
2012-08-06 11:07:52 [4387] [2] ERROR: Invalid SMPP PDU received.
2012-08-06 11:07:52 [4387] [2] ERROR: opensmppbox: smpp_to_bearerbox: thread terminates 2012-08-06 11:07:52 [4387] [2] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) terminates. 2012-08-06 11:07:52 [4387] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread terminates 2012-08-06 11:07:52 [4387] [1] DEBUG: Thread 1 (opensmppbox.c:function) terminates.
2012-08-06 11:07:53 [4387] [0] INFO: No more waiting for SMPP connections.
2012-08-06 11:07:53 [4387] [0] DEBUG: Immutable octet strings: 187.

Where my smpp logins are:

user pass vma 127.0.0.1

What could be the cause of the invalid PDU? Perhaps my SMSC?

Kind Regards and Thanks in Advance,

Chris


On 03/08/12 17:51, Milan P. Stanic wrote:
On Fri, 2012-08-03 at 17:05, Christopher Burke wrote:
Hi,

Using the latest from SVN - perhaps I'll try to add the VMA into the
smpplogins.txt and see if that works.

Are you communicating directly to the bearerbox or to a sqlbox?
Is it possible for opensmppbox to communicate/connect anything than
bearerbox?
Kind Regards and Thanks in Advance,

Chris

On 03/08/12 16:10, Milan P. Stanic wrote:
On Fri, 2012-08-03 at 14:42, Christopher Burke wrote:
Thanks for your response. My smpplogins is as follows:

username internal 127.0.0.1
Which version of the opensmppbox you use?

I have next line in my smpplogings.txt file:
xxxx yyyy vma 127.0.0.1
where xxxx is username and yyyy is password.

-rw-rw-rw- 1 root root   28 Aug  3 14:40 smpplogins.txt

Does this look okay to you?

Kind Regards,

Christopher

On 03/08/12 10:48, Artem Chekulaev wrote:
Hi

I had the same issue. Try to delete your smpplogins.txt (or where
you store your logins) and create it again from emtpy and fill it
carefully, not from example. In my case it was rights-to-read-file
issue too - Kannel had no rights to any access that file

2012/8/3 Christopher Burke <[email protected]
<mailto:[email protected]>>

    Hi,

    I've been attempting to connect an opensmppbox to my
    configuration, however I am getting the following errors:

    2012-08-03 10:19:06 [10282] [6] ERROR: SMPP[recv_smpp]: SMSC
    rejected login to transmit, code 0x0000000d (Bind Failed).
    2012-08-03 10:19:06 [10282] [6] ERROR: SMPP[recv_smpp]: Couldn't
    connect to SMS center (retrying in 10 seconds).

    What is a likely cause of this issue? I can post my configuration
    files and detailed logs if needed.

    Kind Regards and Thanks in Advance,

    Chris


Reply via email to