I see. Do you have latest svn smppbox? I remember at the very beginning a similar problem. Seems like your bind_receiver PDU is not understood by smppbox.

Also post your smppbox configuration.

BR,
Nikos
----- Original Message ----- From: "Peter Mohr" <p...@mobilityarchitects.com> To: "Nikos Balkanas" <nbalka...@gmail.com>; "Rene Kluwen" <rene.klu...@chimit.nl>; <ha...@aeon.pk>
Cc: <users@kannel.org>
Sent: Wednesday, September 29, 2010 3:17 PM
Subject: RE: Inbound SMPP connection to Kannel? How to?


Still no success.

SMPPBOX:
2010-09-29 14:05:54 [24156] [0] WARNING: DLR: using default 'internal' for storage type.
2010-09-29 14:05:54 [24156] [0] INFO: DLR using storage type: internal
2010-09-29 14:05:54 [24156] [0] INFO: Starting to log to file /var/log/kannel/smppbox.log level 0 2010-09-29 14:05:54 [24156] [0] INFO: Added logfile `/var/log/kannel/smppbox.log' with level `0'. 2010-09-29 14:05:54 [24156] [0] INFO: Waiting for SMPP connections on port 9000.
2010-09-29 14:06:00 [24156] [0] DEBUG: Started thread 1 (smppbox.c:function)
2010-09-29 14:06:00 [24156] [1] DEBUG: Thread 1 (smppbox.c:function) maps to pid 24156.
2010-09-29 14:06:00 [24156] [1] INFO: Client connected from <10.2.1.44>
2010-09-29 14:06:00 [24156] [1] DEBUG: Connecting to <127.0.0.1>
2010-09-29 14:06:00 [24156] [1] INFO: Connected to bearerbox at localhost port 13001. 2010-09-29 14:06:00 [24156] [1] DEBUG: Started thread 2 (smppbox.c:smpp_to_bearerbox) 2010-09-29 14:06:00 [24156] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) maps to pid 24156.
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP[smppbox1]: Got PDU:
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP PDU 0xa28910 dump:
2010-09-29 14:06:01 [24156] [2] DEBUG:   type_name: bind_transmitter
2010-09-29 14:06:01 [24156] [2] DEBUG:   command_id: 2 = 0x00000002
2010-09-29 14:06:01 [24156] [2] DEBUG:   command_status: 0 = 0x00000000
2010-09-29 14:06:01 [24156] [2] DEBUG:   sequence_number: 1 = 0x00000001
2010-09-29 14:06:01 [24156] [2] DEBUG:   system_id: "meme"
2010-09-29 14:06:01 [24156] [2] DEBUG:   password: "password"
2010-09-29 14:06:01 [24156] [2] DEBUG:   system_type: "my-smsc"
2010-09-29 14:06:01 [24156] [2] DEBUG:   interface_version: 52 = 0x00000034
2010-09-29 14:06:01 [24156] [2] DEBUG:   addr_ton: 0 = 0x00000000
2010-09-29 14:06:01 [24156] [2] DEBUG:   addr_npi: 0 = 0x00000000
2010-09-29 14:06:01 [24156] [2] DEBUG:   address_range: NULL
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP PDU dump ends.
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP[smppbox1]: Sending PDU:
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP PDU 0xa28ad0 dump:
2010-09-29 14:06:01 [24156] [2] DEBUG:   type_name: bind_transmitter_resp
2010-09-29 14:06:01 [24156] [2] DEBUG:   command_id: 2147483650 = 0x80000002
2010-09-29 14:06:01 [24156] [2] DEBUG:   command_status: 13 = 0x0000000d
2010-09-29 14:06:01 [24156] [2] DEBUG:   sequence_number: 1 = 0x00000001
2010-09-29 14:06:01 [24156] [2] DEBUG:   system_id: NULL
2010-09-29 14:06:01 [24156] [2] DEBUG: SMPP PDU dump ends.
2010-09-29 14:06:02 [24156] [2] ERROR: Invalid SMPP PDU received.
2010-09-29 14:06:02 [24156] [2] DEBUG: Thread 2 (smppbox.c:smpp_to_bearerbox) terminates. 2010-09-29 14:06:03 [24156] [1] DEBUG: Thread 1 (smppbox.c:function) terminates.

\Peter

_________________________
Peter Mohr
Partner

Mobile: +45 3162 1290

Mobility Architects
www.mobilityarchitects.com

Mobility Architects hjζlper nogle af Danmarks stψrste organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionζr og forretningsfokuseret tilgang til at lψse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige lψsninger. Vi har Danmarks fψrende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrεdgivning, design af mobil infrastruktur og sikkerhed, rεdgivning om udvikling af mobile lψsninger, implementering af device management lψsninger samt support og uddannelse.

-----Original Message-----
From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: 29. september 2010 14:03
To: Peter Mohr; Rene Kluwen; ha...@aeon.pk
Cc: users@kannel.org
Subject: Re: Inbound SMPP connection to Kannel? How to?

Yes. You should also configure system-type = my-smsc.

If still having problems, post detailed smppbox logs with failed connection attempt.

BR,
Nikos


Reply via email to