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]>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*** > > *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:25 > *To:* Peter Mohr > *Cc:* [email protected] > *Subject:* Re: Inbound SMPP connection to Kannel? How to? > > > > Please post the config file. > > 2010/9/1 Peter Mohr <[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 J > > > > 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.* > > > > >
