Nokia WAP and SMS gateway Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Hardware Nokia WAP and SMS gateway. Nokia WAP and SMS gateway User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 0
1 2 3 4 5 6 ... 115 116

Resumo do Conteúdo

Página 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

Página 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

Página 3

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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>

Página 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

Página 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

Página 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

Página 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

Página 14 - Compiling the gateway

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

Página 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

Página 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

Página 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:

Página 18 - VERSION .deb

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

Página 19

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

Página 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

Página 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

Página 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

Página 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

Página 24

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

Página 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

Página 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

Página 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

Página 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

Página 29 - Kannel statuses

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

Página 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

Página 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

Página 32 - WAP gateway configuration

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

Página 33

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

Página 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

Página 35 - SMS gateway configuration

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

Página 36

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

Página 37

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

Página 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

Página 39

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 45

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

Página 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

Página 47

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

Página 48

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

Página 49

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

Página 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

Página 51

Table of Contents1. Introduction...

Página 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

Página 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

Página 54

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

Página 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

Página 56

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

Página 57 - Feature checklist

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

Página 58

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

Página 59 - Smsbox configuration

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

Página 60

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

Página 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

Página 62

Smsbox configuration...51Smsbox routing insid

Página 63

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

Página 64 - SMS-service configurations

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

Página 65

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

Página 66

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

Página 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

Página 68

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

Página 69

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

Página 70

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

Página 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 ? ? ? ?

Página 72 - XML Post

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

Página 73

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

Página 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

Página 75

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

Página 76 - LibSDB DLR storage

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

Página 77

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

Página 78

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

Página 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

Página 80

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

Página 81

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

Página 82 - Redirected replies

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

Página 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

Página 84

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

Página 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,

Página 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

Página 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

Página 88

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

Página 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

Página 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

Página 91

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

Página 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

Página 93

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

Página 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.

Página 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

Página 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

Página 97 - Chapter 8. Using SSL for HTTP

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

Página 98

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

Página 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

Página 100

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

Página 101

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

Página 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

Página 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

Página 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

Página 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

Página 106 - Starting necessary programs

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

Página 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

Página 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

Página 109

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

Página 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 ’

Página 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

Página 112 - ISDN terminal

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

Página 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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários