Never truncate the thread. Important information gets lost. Now you will have to repost related max detailed smppbox logs.

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: Friday, October 01, 2010 2:42 PM
Subject: RE: Inbound SMPP connection to Kannel? How to?


I'm quite sure I has the latest SVN version (changelog shows updates from 2010/09/15

Debug says:
2010-10-01 13:32:23 [26576] [0] DEBUG: Kannel smppbox version svn-r50 gwlib version `svn-r4843'.

Smppbox.conf:
group = core

group = smppbox
bearerbox-host = localhost
bearerbox-port = 13001
smppbox-id = smppbox1
smppbox-port = 9000
log-level = 0
log-file = /var/log/kannel/smppbox.log
our-system-id = MA_Kannel
smpp-logins = /etc/smppbox/clients
use-systemid-as-smsboxid = true

clients:
demo    demo    remote
meme password my-smsc


"Client bearerbox" (as you can it is running on Windows...)
>bearerbox.exe
2010-10-01 13:26:29 [3952] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2010-10-01 13:26:29 [3952] [0] WARNING: DLR: using default 'internal' for storage type.
2010-10-01 13:26:29 [3952] [0] INFO: DLR using storage type: internal
2010-10-01 13:26:29 [3952] [0] DEBUG: Kannel bearerbox version `1.4.1'.
Build `May 29 2008 13:50:33', compiler `3.4.4 (cygming special, gdc 0.12, using dmd 0.125)'. System CYGWIN_NT-5.2, release 1.5.25(0.156/4/2), version 2008-06-12 19:34, machine i686.
Hostname Afaria.demo.local, IP 10.2.1.44.
Libxml version 2.6.28.
Using OpenSSL 0.9.8g 19 Oct 2007.
Using native malloc.

2010-10-01 13:26:29 [3952] [0] INFO: HTTP: Opening server at port 13001.
2010-10-01 13:26:29 [3952] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-10-01 13:26:29 [3952] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-10-01 13:26:29 [3952] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2010-10-01 13:26:29 [3952] [0] DEBUG: starting smsbox connection module
2010-10-01 13:26:29 [3952] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-10-01 13:26:29 [3952] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-10-01 13:26:29 [3952] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2010-10-01 13:26:29 [3952] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-10-01 13:26:29 [3952] [0] INFO: SMS resend retry set to unlimited.
2010-10-01 13:26:29 [3952] [0] INFO: DLR rerouting for smsc id <MA SMPP> disabled. 2010-10-01 13:26:29 [3952] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread)
2010-10-01 13:26:29 [3952] [6] DEBUG: SMPP[MA SMPP]: Sending PDU:
2010-10-01 13:26:29 [3952] [6] DEBUG: SMPP PDU 0xc3d910 dump:
2010-10-01 13:26:29 [3952] [6] DEBUG:   type_name: bind_transmitter
2010-10-01 13:26:29 [3952] [6] DEBUG:   command_id: 2 = 0x00000002
2010-10-01 13:26:29 [3952] [6] DEBUG:   command_status: 0 = 0x00000000
2010-10-01 13:26:29 [3952] [6] DEBUG:   sequence_number: 1 = 0x00000001
2010-10-01 13:26:29 [3952] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2010-10-01 13:26:29 [3952] [6] DEBUG:   system_id: "meme"
2010-10-01 13:26:29 [3952] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2010-10-01 13:26:29 [3952] [0] INFO: ----------------------------------------
2010-10-01 13:26:29 [3952] [6] DEBUG:   password: "password"
2010-10-01 13:26:29 [3952] [0] INFO: Kannel bearerbox II version 1.4.1 starting
2010-10-01 13:26:29 [3952] [6] DEBUG:   system_type: "my-smsc"
2010-10-01 13:26:29 [3952] [6] DEBUG:   interface_version: 52 = 0x00000034
2010-10-01 13:26:29 [3952] [6] DEBUG:   addr_ton: 0 = 0x00000000
2010-10-01 13:26:29 [3952] [6] DEBUG:   addr_npi: 0 = 0x00000000
2010-10-01 13:26:29 [3952] [6] DEBUG:   address_range: ""
2010-10-01 13:26:29 [3952] [6] DEBUG: SMPP PDU dump ends.
2010-10-01 13:26:29 [3952] [0] INFO: Loading store file `C:\Program Files\Afaria\bin\SMSGateway\SMSQueue.dat'
2010-10-01 13:26:29 [3952] [0] INFO: Store-file size 0, starting to unpack
2010-10-01 13:26:29 [3952] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2010-10-01 13:26:29 [3952] [8] DEBUG: Thread 8 (gw/bb_store.c:store_dumper) maps to pid 3952. 2010-10-01 13:26:29 [3952] [0] DEBUG: Started thread 8 (gw/bb_store.c:store_dumper)
2010-10-01 13:26:29 [3952] [8] DEBUG: Dumping 0 messages to store
2010-10-01 13:26:29 [3952] [0] INFO: MAIN: Start-up done, entering mainloop
2010-10-01 13:26:29 [3952] [7] DEBUG: sms_router: gwlist_len = 0
2010-10-01 13:26:30 [3952] [6] DEBUG: SMPP[MA SMPP]: Got PDU:
2010-10-01 13:26:30 [3952] [6] DEBUG: SMPP PDU 0xc3dff0 dump:
2010-10-01 13:26:30 [3952] [6] DEBUG:   type_name: bind_transmitter_resp
2010-10-01 13:26:30 [3952] [6] DEBUG:   command_id: 2147483650 = 0x80000002
2010-10-01 13:26:30 [3952] [6] DEBUG:   command_status: 13 = 0x0000000d
2010-10-01 13:26:30 [3952] [6] DEBUG:   sequence_number: 1 = 0x00000001
2010-10-01 13:26:30 [3952] [6] DEBUG:   system_id: NULL
2010-10-01 13:26:30 [3952] [6] DEBUG: SMPP PDU dump ends.
2010-10-01 13:26:30 [3952] [6] ERROR: SMPP[MA SMPP]: SMSC rejected login to transmit, code 0x0000000d (Bind Failed). 2010-10-01 13:26:30 [3952] [6] ERROR: SMPP[MA SMPP]: I/O error or other error. Re-connecting. 2010-10-01 13:26:30 [3952] [6] ERROR: SMPP[MA SMPP]: Couldn't connect to SMS center (retrying in 10 seconds).
2010-10-01 13:26:34 [3952] [6] ERROR: connect failed
2010-10-01 13:26:34 [3952] [6] ERROR: System error 119: Operation now in progress 2010-10-01 13:26:34 [3952] [6] ERROR: error connecting to server `10.2.1.27' at port `9000' 2010-10-01 13:26:34 [3952] [0] WARNING: Killing signal or HTTP admin command received, shutting down...
2010-10-01 13:26:34 [3952] [0] DEBUG: Shutting down Kannel...
2010-10-01 13:26:34 [3952] [0] DEBUG: shutting down smsc
2010-10-01 13:26:34 [3952] [0] DEBUG: Shutting down SMSCConn SMPP:10.2.1.27:9000/9000:meme:my-smsc (slow) 2010-10-01 13:26:34 [3952] [6] ERROR: SMPP[MA SMPP]: Couldn't connect to server. 2010-10-01 13:26:34 [3952] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) terminates. 2010-10-01 13:26:34 [3952] [0] DEBUG: SMSCConn SMPP:10.2.1.27:9000/9000:meme:my-smsc shut down.
2010-10-01 13:26:34 [3952] [0] DEBUG: shutting down udp
2010-10-01 13:26:34 [3952] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2010-10-01 13:26:34 [3952] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2010-10-01 13:26:34 [3952] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2010-10-01 13:26:34 [3952] [0] INFO: All flow threads have died, killing core 2010-10-01 13:26:34 [3952] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2010-10-01 13:26:34 [3952] [3] DEBUG: HTTP: No clients with requests, quitting. 2010-10-01 13:26:34 [3952] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2010-10-01 13:26:34 [3952] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2010-10-01 13:26:34 [3952] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2010-10-01 13:26:34 [3952] [8] DEBUG: Dumping 0 messages to store
2010-10-01 13:26:34 [3952] [8] DEBUG: Thread 8 (gw/bb_store.c:store_dumper) terminates.
2010-10-01 13:26:34 [3952] [0] INFO: Total WDP messages: received 0, sent 0
2010-10-01 13:26:34 [3952] [0] INFO: Total SMS messages: received 0, sent 0
2010-10-01 13:26:34 [3952] [0] DEBUG: Immutable octet strings: 286.
_________________________
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:53
To: Peter Mohr; Rene Kluwen; ha...@aeon.pk
Cc: users@kannel.org
Subject: Re: Inbound SMPP connection to Kannel? How to?

And a maximum detail portion from your connecting bb log, to see what is sent to smppbox.

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


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


Reply via email to