Have been away for a bit. Try using the following clients file:
demo demo remote *.*.*.* meme password my-smsc *.*.*.* == Rene -----Original Message----- From: Peter Mohr [mailto:[email protected]] Sent: Friday, 01 October, 2010 16:17 To: Nikos Balkanas; Rene Kluwen; [email protected] Cc: [email protected] Subject: RE: Inbound SMPP connection to Kannel? How to? 1) Done. 2) Done 3) Rene, 1 & 2 doesn't help me. Suggestions ? :-( Thanks \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:[email protected]] Sent: 1. oktober 2010 16:14 To: Peter Mohr; Rene Kluwen; [email protected] Cc: [email protected] Subject: Re: Inbound SMPP connection to Kannel? How to? Well, in that case use your judgement to delete only useless information. Anyway, all seems kosher. For some reason your transmitter PDU is rejected. Credentials look fine. 3 things to try: 1) Comment out use-systemid-as-smsboxid in smppbox.conf. 2) Add your kannel's IP addess at the end of your client file entry 3) If still fails, ask Rene why smppbox is misbehaving. BR, Nikos ----- Original Message ----- From: "Peter Mohr" <[email protected]> To: "Nikos Balkanas" <[email protected]>; "Rene Kluwen" <[email protected]>; <[email protected]> Cc: <[email protected]> Sent: Friday, October 01, 2010 3:08 PM Subject: RE: Inbound SMPP connection to Kannel? How to? > The problem is that the thread gets to long and the messages are rejected > / pending approval.... > > 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 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:[email protected]] > Sent: 1. oktober 2010 14:05 > To: Peter Mohr; Rene Kluwen; [email protected] > Cc: [email protected] > Subject: Re: Inbound SMPP connection to Kannel? How to? > > 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" <[email protected]> > To: "Nikos Balkanas" <[email protected]>; "Rene Kluwen" > <[email protected]>; <[email protected]> > Cc: <[email protected]> > 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:[email protected]] > Sent: 29. september 2010 14:53 > To: Peter Mohr; Rene Kluwen; [email protected] > Cc: [email protected] > 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" <[email protected]> > To: "Peter Mohr" <[email protected]>; "Rene Kluwen" > <[email protected]>; <[email protected]> > Cc: <[email protected]> > 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 > > >
