I keep getting this at the other end (also Kannel): SMSC rejected last commandcode 0x0000000e (Invalid Password).
Obvious this has to do with my "clients" file: demo demo remote meme password my-smsc .conf file: 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 Now, I've read through the www.chimit.nl/kannel/userguide.pdf<http://www.chimit.nl/kannel/userguide.pdf> several times, but I simply don't get it... Any suggestions as to what I should look at? Thanks \Peter _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com<http://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. From: [email protected] [mailto:[email protected]] On Behalf Of Peter Mohr Sent: 1. september 2010 15:34 To: Rene Kluwen; [email protected] Cc: [email protected] Subject: RE: Inbound SMPP connection to Kannel? How to? Thanks. I'll dig deeper into that. \Peter _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com<http://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. From: Rene Kluwen [mailto:[email protected]] Sent: 1. september 2010 15:08 To: Peter Mohr; [email protected] Cc: [email protected] Subject: RE: Inbound SMPP connection to Kannel? How to? For incoming SMPP traffic, see www.chimit.nl/kannel/userguide.pdf<http://www.chimit.nl/kannel/userguide.pdf> == Rene From: [email protected] [mailto:[email protected]] On Behalf Of Peter Mohr Sent: Wednesday, 01 September, 2010 14:34 To: [email protected] Cc: [email protected] Subject: RE: Inbound SMPP connection to Kannel? How to? Sorry, i don't get that. I guess I must specify username/password + port that can listen for incoming SMPP traffic but how is that related to the keywords and sms-service group ? _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com<http://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. From: [email protected] [mailto:[email protected]] Sent: 1. september 2010 14:30 To: Peter Mohr Cc: [email protected] Subject: Re: Inbound SMPP connection to Kannel? How to? group = sms-service keyword = nop text = "You asked nothing and I did it!" group = sms-service keyword = hitme text = "Aint hitting on girls..." # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "No service specified" Incoming traffic is controlled by these parameters. You need to define URLs to your localhost/any other server to route traffic. On Wed, Sep 1, 2010 at 5:26 PM, Peter Mohr <[email protected]<mailto:[email protected]>> wrote: Currently it uses AT/Modem to send messages but I'm looking for inbound SMPP.... #--------------------------------------------- # CORE # # There is only one core group and it sets all basic settings # of the bearerbox (and system). You should take extra notes on # configuration variables like 'store-file' (or 'store-dir'), # 'admin-allow-ip' and 'access.log' group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" #--------------------------------------------- # SMSC CONNECTIONS # # SMSC connections are created in bearerbox and they handle SMSC specific # protocol and message relying. You need these to actually receive and send # messages to handset, but can use GSM modems as virtual SMSCs # This is a fake smsc connection, _only_ used to test the system and services. # It really cannot relay messages to actual handsets! group = smsc smsc = fake smsc-id = FAKE port = 10000 connect-allow-ip = 127.0.0.1 group = smsc #smsc = at smsc = smpp modemtype = auto device=/dev/ttyS0 my-number = "+4520330358" connect-allow-ip = 127.0.0.1 log-level = 0 #speed = 115200 sms-center = "+4540390999" group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=1,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true #--------------------------------------------- # SMSBOX SETUP # # Smsbox(es) do higher-level SMS handling after they have been received from # SMS centers by bearerbox, or before they are given to bearerbox for delivery group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = +4520330358 #sendsms-chars = "0123456789 +-" log-file = "/tmp/smsbox.log" log-level = 1 #access-log = "/tmp/access.log" #--------------------------------------------- # SEND-SMS USERS # # These users are used when Kannel smsbox sendsms interface is used to # send PUSH sms messages, i.e. calling URL like # http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar... group = sendsms-user username = playsms password = ************* #user-deny-ip = "" #user-allow-ip = "" #--------------------------------------------- # SERVICES # # These are 'responses' to sms PULL messages, i.e. messages arriving from # handsets. The response is based on message content. Only one sms-service is # applied, using the first one to match. group = sms-service keyword = nop text = "You asked nothing and I did it!" group = sms-service keyword = hitme text = "Aint hitting on girls..." # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = default text = "No service specified" _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com<http://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. From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] Sent: 1. september 2010 14:25 To: Peter Mohr Cc: [email protected]<mailto:[email protected]> Subject: Re: Inbound SMPP connection to Kannel? How to? Please post the config file. 2010/9/1 Peter Mohr <[email protected]<mailto:[email protected]>> Hi Can anyone help set up inbound SMPP connections on my Kannel system? I can't figure out how. Outbound works like a charm :) Thanks Peter _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com<http://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.
