Nokia WAP and SMS gateway User Manual

Browse online or download User Manual for Hardware Nokia WAP and SMS gateway. Nokia WAP and SMS gateway User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 116
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 0
1 2 3 4 5 6 ... 115 116

Summary of Contents

Page 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

Page 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

Page 3

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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>

Page 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

Page 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

Page 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

Page 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

Page 14 - Compiling the gateway

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

Page 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

Page 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

Page 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:

Page 18 - VERSION .deb

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

Page 19

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

Page 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

Page 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

Page 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

Page 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

Page 24

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

Page 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

Page 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

Page 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

Page 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

Page 29 - Kannel statuses

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

Page 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

Page 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

Page 32 - WAP gateway configuration

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

Page 33

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

Page 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

Page 35 - SMS gateway configuration

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

Page 36

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

Page 37

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

Page 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

Page 39

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 45

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

Page 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

Page 47

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

Page 48

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

Page 49

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

Page 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

Page 51

Table of Contents1. Introduction...

Page 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

Page 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

Page 54

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

Page 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

Page 56

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

Page 57 - Feature checklist

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

Page 58

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

Page 59 - Smsbox configuration

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

Page 60

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

Page 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

Page 62

Smsbox configuration...51Smsbox routing insid

Page 63

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

Page 64 - SMS-service configurations

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

Page 65

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

Page 66

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

Page 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

Page 68

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

Page 69

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

Page 70

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

Page 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 ? ? ? ?

Page 72 - XML Post

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

Page 73

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

Page 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

Page 75

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

Page 76 - LibSDB DLR storage

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

Page 77

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

Page 78

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

Page 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

Page 80

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

Page 81

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

Page 82 - Redirected replies

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

Page 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

Page 84

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

Page 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,

Page 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

Page 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

Page 88

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

Page 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

Page 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

Page 91

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

Page 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

Page 93

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

Page 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.

Page 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

Page 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

Page 97 - Chapter 8. Using SSL for HTTP

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

Page 98

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

Page 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

Page 100

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

Page 101

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

Page 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

Page 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

Page 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

Page 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

Page 106 - Starting necessary programs

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

Page 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

Page 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

Page 109

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

Page 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 ’

Page 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

Page 112 - ISDN terminal

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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments