Nokia WAP and SMS gateway Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Nokia WAP and SMS gateway herunter. Nokia WAP and SMS gateway User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Kannel 1.3.1 User’s Guide
Open Source WAP and SMS gateway
Lars Wirzenius
Gateway architect
Wapit Ltd
http://www.wapit.com
http://www.kannel.org
Kalle Marjola
Manager
Wapit Ltd
http://www.wapit.com
http://www.kannel.org
Andreas Fink
Chairman & CTO
Global Networks Inc.
Seitenansicht 0
1 2 3 4 5 6 ... 115 116

Inhaltsverzeichnis

Seite 1 - Kannel 1.3.1 User’s Guide

Kannel 1.3.1 User’s GuideOpen Source WAP and SMS gatewayLars WirzeniusGateway architectWapit [email protected]://www.wapit.comhttp://www.kannel.org

Seite 2 - Aarno Syvänen

Chapter 1. Introductioninstance, when it must send a mail notification or a stock quote. For this purpose Wapforum definedWAP Push.Push is an applicatio

Seite 3

Chapter 10. Getting help and reporting bugsThis chapter explains where to find help with problems related to the gateway, and the preferredprocedure fo

Seite 4 - Table of Contents

Appendix A. Using the fake WAP senderThis appendix explains how to use the fake WAP sender to test the gateway.94

Seite 5

Appendix B. Using the fake SMS centerFakesmsc is a simple testing tool to test out Kannel and its SMS services. It cannot be used to sendmessages to m

Seite 6

Appendix B. Using the fake SMS centerOptions and messages are explained below, but as a quick example, a typical startup can go like this:test/fakesms

Seite 7 - List of Tables

Appendix B. Using the fake SMS centerSwitch Value Description-m maxSend a maximum of maxmessages. Value -1 means that anunlimited number of messages i

Seite 8 - Chapter 1. Introduction

Appendix C. Setting up a test environment forPush Proxy GatewayThis appendix explains how to set a test environment for PPG. This contains a simulated

Seite 9 - Overview of WAP Push

Appendix C. Setting up a test environment for Push Proxy Gatewaysi-expires="2002-06-30T00:00:00Z">Want to test a fetch?</indication>

Seite 10 - Overview of SMS

Appendix C. Setting up a test environment for Push Proxy Gatewaysecond one pap control document. (For command line options, see Table C.1.). For examp

Seite 11 - Requirements

Appendix C. Setting up a test environment for Push Proxy GatewayUsing Nokia Toolkit as a part of a developingenvironmentThis chapter describes a devel

Seite 12 - • Posix threads (pthread.h)

Appendix C. Setting up a test environment for Push Proxy Gatewaygroup = test-ppgretries = 2pi-ssl = yesssl-client-certkey-file = /home/aarno/kannelcvs

Seite 13 - Finding the documentation

Chapter 1. IntroductionFigure 1-2. Logical position of SMS gateway between a phone and a content server.An SMS gateway can also be used to relay SMS m

Seite 14 - Compiling the gateway

Appendix C. Setting up a test environment for Push Proxy GatewayDirective Value Descriptioncontent-file filenameMandatory value. Filecontaining pap req

Seite 15 - Installing the gateway

Appendix D. Setting up a dial-up lineThis appendix explains how to set up a dial-up line in Linux for use with the Kannel WAP gateway. Inorder for it

Seite 16

Appendix D. Setting up a dial-up lineIn /etc/ppp/pap-secrets add the username and password for the ppp account. The IP address is the oneassigned to t

Seite 17

Appendix E. Log filesThis appendix describes the log file format.Bearerbox Access Log2001-01-01 12:00:00 Sent SMS [SMSC:smsc] [SVC:sms] [from:12345][to:

Seite 18 - VERSION .deb

Appendix E. Log filesdailymissingokrotate 365compressdelaycompressnotifemptycreate 640 kannel admsharedscriptspostrotatekillall -HUP bearerbox smsbox w

Seite 19

GlossaryMMOMobile Originated - a SMS from mobile to applicationMTMobile Terminated - a SMS from application to mobileMWIMessage Waiting Indicator (See

Seite 20 - Chapter 3. Using the gateway

BibliographyRFC 2616 - Hypertext Transfer Protocol -- HTTP/1.1,http://www.w3.org/Protocols/rfc2616/rfc2616.html, Request for Comments: 2616, The Inter

Seite 21

Chapter 1. Introduction• The Gnome XML library (known as gnome-xml and libxml), version 2.2.5 or newer. Seehttp://xmlsoft.org/xml.html.• GNU Make.• Po

Seite 22 - Core configuration

Chapter 2. Installing the gatewayThis chapter explains how the gateway can be installed, either from a source code package or by using apre-compiled b

Seite 23

Chapter 2. Installing the gateway• GNU autoconf, if you want to modify the configuration script.Compiling the gatewayIf you are using Kannel on a suppo

Seite 24

Chapter 2. Installing the gatewayYou may need to add compilations flags to configure:CFLAGS=’-pthread’ ./configureThe above, for instance, seems to be r

Seite 25

Chapter 2. Installing the gatewayInstalling Kannel1. Download the binary RPM packet from the Kannel web site.2. Log in as root:su -3. Install the RPM

Seite 26

Chapter 2. Installing the gatewaycd /etc/rc.d/rc5.d/ln -s ../init.d/kannel S91kannelln -s ../init.d/kannel K91kannelTo run Kannel as a SMS gateway you

Seite 27

Chapter 2. Installing the gateway3. Install or upgrade the DEB package:dpkg -i kannel-VERSION .debRemoving Kannel1. Log in as root:2. Remove the packa

Seite 28 - Running Kannel

Chapter 2. Installing the gatewayThe documentation will be installed at /usr/share/doc/kannel/.In the Kannel documentation directory there is a html fi

Seite 29 - Kannel statuses

andreas@fink.orghttp://www.smsrelay.comhttp://www.gni.chBruno [email protected]://litux.org/brunoStipe ToljCTO & CIOWapme Syst

Seite 30 - HTTP administration

Chapter 3. Using the gatewayThis chapter explains how the gateway core, bearerbox, is configured and used. It covers theconfiguration file, keeping an ey

Seite 31

Chapter 3. Using the gatewayLines 1 and 6 are comment lines. Line 5 separates the two groups. The remaining lines define variables.The group type is de

Seite 32 - WAP gateway configuration

Chapter 3. Using the gatewayCore configurationConfiguration for Kannel MUST always include a group for general bearerbox configuration. This groupis name

Seite 33

Chapter 3. Using the gatewayVariable Value Descriptionadmin-deny-ip IP-listThese lists can be used toprevent connection from given IPaddresses. Each l

Seite 34 - Running WAP gateway

Chapter 3. Using the gatewayVariable Value Descriptionbox-deny-ip IP-listThese lists can be used toprevent box connections fromgiven IP addresses. Eac

Seite 35 - SMS gateway configuration

Chapter 3. Using the gatewayVariable Value Descriptionunified-prefix prefix-listString to unify received phonenumbers, for SMSC routing andto ensure th

Seite 36

Chapter 3. Using the gatewayVariable Value Descriptionstore-file filenameA file in which any receivedSMS messages are stored untilthey are successfully

Seite 37

Chapter 3. Using the gatewayVariable Value Descriptionssl-trusted-ca-file filenameThis file contains the certificatesKannel is willing to trust whenworki

Seite 38 - Nokia CIMD 1.37 and 2.0

Chapter 3. Using the gatewayRunning KannelTo start the gateway, you need to start each box you need. You always need the bearer box, anddepending on w

Seite 39

Chapter 3. Using the gateway--verbosity <level>-D <places>Set debug-places for ’debug’ level output.--debug <places>-F <file-name

Seite 40 - CMG UCP/EMI 4.0

Kannel 1.3.1 User’s Guide: Open Source WAP and SMS gatewayby Lars Wirzenius, Kalle Marjola, Andreas Fink, Bruno Rodrigues, Stipe Tolj, and Aarno Syvän

Seite 41

Chapter 3. Using the gatewayThe state can be changed via HTTP administration interface (see below), and shutdown can also beinitiated via TERM or INT

Seite 42

Chapter 3. Using the gatewayshutdownBring down the gateway, by setting state to’shutdown’. After a shutdown is initiated, there isno other chance to r

Seite 43

Chapter 4. Setting up a WAP gatewayThis chapter tells you how to set Kannel up as a WAP gateway.WAP gateway configurationTo set up a WAP Kannel, you ha

Seite 44 - SMPP 3.4

Chapter 4. Setting up a WAP gatewayVariable Value Descriptionmap-url URL-pairThe pair is separated with space.Adds a single mapping for theleft side U

Seite 45

Chapter 4. Setting up a WAP gatewayVariable Value Descriptionlog-file filenameAs with bearerbox ’core’ group.log-level number 0..5syslog-level numberMe

Seite 46

Chapter 5. Setting up a SMS GatewayThis chapter is a more detailed guide on how to set up Kannel as an SMS gateway.Required componentsTo set up an SMS

Seite 47

Chapter 5. Setting up a SMS GatewayVariable Value Descriptiongroup (m) smsc This is a mandatory variablesmsc (m) stringIdentifies the SMS center type.S

Seite 48

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionallowed-prefix prefix-listA list of phone number prefixeswhich are accepted to be sentthro

Seite 49

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionunified-prefix prefix-listString to unify received phonenumbers, for SMSC routing andto en

Seite 50 - GSM modem

Chapter 5. Setting up a SMS Gatewaygroup = smscsmsc = cimdhost = 100.101.102.103port = 600smsc-username = foosmsc-password = barThe driver for CIMD2 i

Seite 51

Table of Contents1. Introduction...

Seite 52 - GSM modem 2

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionsender-prefix stringThe number that the SMSC willadd in front of the sender numberof all

Seite 53

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionhost (c) hostnameMachine that runs SMSC. As IP(100.100.100.100) or hostname(their.machine

Seite 54

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionconnect-allow-ip IP-listIf set, only connections fromthese IP addresses are acceptedto re

Seite 55 - Fake SMSC

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionwait-ack-expire numberDefines what kind of actionshould be taken if the the ack ofa messag

Seite 56

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionmy-number numberIf the large account number isdifferent from the short number,assign it w

Seite 57 - Feature checklist

Chapter 5. Setting up a SMS GatewayVariable Value Descriptiontransceiver-mode boolAttempt to use aTRANSCEIVER modeconnection to the SM-SC. It usesthe

Seite 58

Chapter 5. Setting up a SMS GatewayVariable Value Descriptioninterface-version numberChange the "interface version"parameter sent from Kanne

Seite 59 - Smsbox configuration

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionreconnect-delay numberOptional the time betweenattemps to connect an ESME toan SMSC havin

Seite 60

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionmsg-id-type numberOptional, specifies whichnumber base the SMSC is usingfor the message ID

Seite 61

Chapter 5. Setting up a SMS Gatewayyou find out the more exact meaning, please send a report.The 5.0 implementation uses X.25 access gateway.group = sm

Seite 62

Smsbox configuration...51Smsbox routing insid

Seite 63

Chapter 5. Setting up a SMS Gatewaysmsc-username = foosmsc-password = fooVariable Value Descriptionhost (m) hostnameMachine that runs SMSC. As IP(10.1

Seite 64 - SMS-service configurations

Chapter 5. Setting up a SMS Gatewaypin = 2345Variable Value Descriptionmodemtype stringModems from differentmanufacturers have slightlydifferent behav

Seite 65

Chapter 5. Setting up a SMS GatewayModem Type ModemsnokiaphoneNokia 6210, 7110, 8210 (tested).Probably other Nokia phonestoo.ericsson EricssonGSM mode

Seite 66

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionvalidityperiod integerHow long the message will bevalid, i.e., how long the SMScenter (th

Seite 67

Chapter 5. Setting up a SMS GatewayModem definitions are now multiple groups present in kannel.conf, either directly or, for example, byincluding the e

Seite 68

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionsendline-sleep number (miliseconds)Optional, defaults to 100miliseconds. The sleep time a

Seite 69

Chapter 5. Setting up a SMS Gatewaygroup = smscsmsc = fakeport = 10000connect-allow-ip = 127.0.0.1Variable Value Descriptionhost (m) hostnameMachine t

Seite 70

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionport (m) port-numberPort number in which Kannellistens to (MO) messages fromother gateway

Seite 71 - Extended headers

Chapter 5. Setting up a SMS GatewayFeaturecimdcimd2emiemi_ipemi2smppsema ois at at2 http faken n n n y n n n n y n nCan set Validity? ? ? ? y ? ? ? ?

Seite 72 - XML Post

Chapter 5. Setting up a SMS GatewayFeaturecimdcimd2emiemi_ipemi2smppsema ois at2 at http fakeCorrectly encodes @ when sendingy? y? ? ? y y? ? y? y? ?

Seite 73

Running Kannel with fakesmsc connections ...94Starting fake SMS center

Seite 74 - SendSMS-user configurations

Chapter 5. Setting up a SMS GatewaySMSBox inherits from core the following fields:smsbox-porthttp-proxy-porthttp-proxy-hosthttp-proxy-usernamehttp-prox

Seite 75

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionsendsms-chars stringOnly these characters areallowed in ’to’ field whensend-SMS service is

Seite 76 - LibSDB DLR storage

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionreply-couldnotrepresent stringIf set, replaces the SMS messagesent back when kannel could

Seite 77

Chapter 5. Setting up a SMS Gatewaylog-level = 0Smsbox routing inside bearerboxThe communication link between bearerbox and smsbox has been designed f

Seite 78

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionsmsc-ids word-listIf set, specifies from whichsmsc-ids all inbound messagesshould be route

Seite 79 - Over-The-Air configurations

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionkeyword (m) wordServices are identified by thefirst word in the SMS Each ‘%s’in the URL cor

Seite 80

Chapter 5. Setting up a SMS GatewayVariable Value Descriptiontext (c) stringPredefined text answer. Only ifthere is neither url nor file set.Escape cod

Seite 81

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionallowed-receiver-prefix prefix-listA list of phone number prefixesof the receiver number w

Seite 82 - Redirected replies

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionassume-plain-text boolIf client does not setContent-Type for reply, it isnormallyapplicat

Seite 83 - Running SMS gateway

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionsuffix stringwhite-list URLLoad a list of accepted sendersof SMS messages. If a sender of

Seite 84

List of Tables3-1. Core Group Variables ...

Seite 85

Chapter 5. Setting up a SMS Gateway%P the phone number of the receiver of the SMSmessage%q like %p, but a leading ‘00’ is replaced with ‘+’%Q like %P,

Seite 86

Chapter 5. Setting up a SMS Gatewaytext/html Tags are removed, rest is chopped to fit an SMSmessage.text/vnd.wap.wml Processed like HTML.text/xml Proce

Seite 87

Chapter 5. Setting up a SMS GatewayKannel POSTKannel can do POST if service is contains a post-url="...".Table 5-9. X-Kannel Post HeadersPar

Seite 88

Chapter 5. Setting up a SMS Gateway<alt-dcs>alt-dcs</alt-dcs></dcs><pid>pid</pid><statusrequest><dlr-mask>dl

Seite 89

Chapter 5. Setting up a SMS GatewaySendSMS-user configurationsTo enable an SMS push, you must set sendsms-port into the ’smsbox’ group and define one or

Seite 90 - Running SMS&WAP gateway

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionallowed-prefix prefix-listA list of phone number prefixeswhich are accepted to be sentusin

Seite 91

Chapter 5. Setting up a SMS GatewayExternal delivery report (DLR) storageDelivery reports are supported by default internaly, which means all DLRs are

Seite 92

Chapter 5. Setting up a SMS GatewayIn addition to that you must have a dlr-db group defined that specifies the table field names that areused to the DLR

Seite 93

Chapter 5. Setting up a SMS GatewayVariable Value Descriptionfield-timestamp (m) stringThe table field that is used forthe timestamp data.field-destina

Seite 94 - Finishing ppg configuration

Chapter 5. Setting up a SMS GatewayMySQL connection configurationFor several reasons external storage may be required to handle dynamical issues, i.e.

Seite 95 - An example using HTTP SMSC

Chapter 1. IntroductionThis chapter introduces WAP and SMS in general terms, and explains the role of the gateway in WAPand SMS, outlining their dutie

Seite 96

Chapter 5. Setting up a SMS Gatewayphone as a XML document, but this method is perhaps more suitable for continous provisioning.If you want to send mu

Seite 97 - Chapter 8. Using SSL for HTTP

Chapter 5. Setting up a SMS Gatewayphonenumber = 013456789bearer = datacalltype = analogconnection = contpppsecurity = offauthentication = normallogin

Seite 98

Chapter 5. Setting up a SMS GatewayRedirected repliesThe basic service system always sends the answer back to original requester, but sometimes the co

Seite 99 - Chapter 9. Delivery Reports

Chapter 5. Setting up a SMS Gatewayaccepted-smsc = Bget-url = "..."As can be seen, the smsc-id is used to identify the SMS center from which

Seite 100

Chapter 5. Setting up a SMS Gatewaypassword (or pass) stringPassword associated with givenusername. Must matchcorresponding field in the’sendsms-user’

Seite 101

Chapter 5. Setting up a SMS Gatewaysmsc stringOptional virtual smsc-id fromwhich the message is supposedto have arrived. This is used forrouting purpo

Seite 102 - Setting up fakesmsc

Chapter 5. Setting up a SMS Gatewayvalidity number (minutes)Optional. If given, kannel willinform SMS Center that it shouldonly try to send the messag

Seite 103 - Fakesmsc command line options

Chapter 5. Setting up a SMS Gatewayaccount stringAccount name or number tocarry forward for billingpurposes. This field is logged asACT in the log file

Seite 104 - --verbosity

Chapter 5. Setting up a SMS GatewayYou can send either settings or bookmark, set CGI variable type accordingly. Default for this variable issettings.H

Seite 105 - Push Proxy Gateway

Chapter 5. Setting up a SMS Gatewayotaid stringName or ID of the ’ota-setting’group in Kannel configurationthat should be sent to the phone.This variab

Seite 106 - Starting necessary programs

Chapter 1. Introductionintermittent bandwidth, and extremely awkward input mechanisms. Most existing HTML pages do notwork on mobiles phones, and neve

Seite 107 - [control_file]

Chapter 6. Setting up a SMS&WAP gatewayThis chapter tells you how to set Kannel up as a combined WAP and SMS gateway.SMS&WAP gateway configurat

Seite 108

Chapter 7. Setting up Push Proxy GatewayThis chapter explains how to set up a push proxy gateway (PPG). An example configuration file aregiven. A workin

Seite 109

Chapter 7. Setting up Push Proxy GatewayVariable Value Descriptionssl-server-key-file stringMandatory value for PPGHTTPS support. The filecontaining se

Seite 110

Chapter 7. Setting up Push Proxy Gatewayvariables are elaborated in table 7.2.As an example, let us see how to configure a ppg user (a pi, named here ’

Seite 111 - Analog modem

Chapter 7. Setting up Push Proxy GatewayVariable Value Descriptiondeny-ip ip-listDefines ips wherefrom this picannot do pushes. Ips notmentioned in eit

Seite 112 - ISDN terminal

Chapter 7. Setting up Push Proxy Gatewaysmsc = httpsmsc-id = HTTPport = 10000system-type = kannelsmsc-username = foosmsc-password = barno-sender = tru

Seite 113 - Appendix E. Log files

Chapter 7. Setting up Push Proxy GatewayDefault network and bearer used by push proxy gatewayIf network and bearer attributes of the pap control docum

Seite 114

Chapter 8. Using SSL for HTTPThis chapter explains how you can use SSL to ensure secure HTTP communication on both, client andserver side.Beware that

Seite 115 - Glossary

Chapter 8. Using SSL for HTTPUsing SSL ser ver support for the sendsms HTTPinterfaceTo use the SSL-enabled HTTP server please use the following configu

Seite 116 - Bibliography

Chapter 9. Delivery ReportsThis chapter explains how to set up kannel to deliver delivery reports.Delivery reports are a method to tell your system if

Kommentare zu diesen Handbüchern

Keine Kommentare