Oracle Server E10293-02 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Oracle Server E10293-02 herunter. Oracle Server E10293-02 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 108
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Oracle® Communication and Mobility Server
Developer’s Guide
Release 10.1.3
E10293-02
August 2007
Seitenansicht 0
1 2 3 4 5 6 ... 107 108

Inhaltsverzeichnis

Seite 1 - Release 10.1.3

Oracle® Communication and Mobility ServerDeveloper’s Guide Release 10.1.3 E10293-02August 2007

Seite 2

xTTY Access to Oracle Support ServicesOracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of Ame

Seite 3 - Contents

logEvent(SipServletRequest req, Map<Object, Object> additional) MethodC-2 Oracle Communication and Mobility Server Developer’s GuideExample C–1

Seite 4 - 4 Programming Guidelines

logEvent(Map <Object, Object> event, String category) MethodAccounting Event API C-3logEvent(SipServletResponse resp, Map<Object, Object>

Seite 5 - A Oracle Diameter Java APIs

Event Processing in Log4jC-4 Oracle Communication and Mobility Server Developer’s GuideThe isEnabled method returns true only if the Log4j filter is c

Seite 6

Event Processing in Log4jAccounting Event API C-5Event FilteringBy uncommenting or commenting categories in the Log4j configuration file (log4j.xml),

Seite 7 - C Accounting Event API

Event Processing in Log4jC-6 Oracle Communication and Mobility Server Developer’s Guide <param name="MaxBackupIndex" value="10"

Seite 8

Index-1IndexAAccounting API, C-4Accounting Event API, C-1Aggregation Proxy, 6-2appId, 3-1Application Routerconfiguring, 3-1applications, 2-5default, 2

Seite 9 - Documentation Accessibility

Index-2Log4j, C-4event filtering, C-5event formatting and destination, C-5event logging attributes, C-5event processing, C-4logEvent method, C-2loggin

Seite 10 - Conventions

Index-3servlet context, 2-2servlet mapping, 2-7servlets, 2-4sessionconfiguration values, 2-5session attributes, 2-12shared resources, 4-2SIP, 2-5appli

Seite 12 - SIP Servlet API

Overview 1-11Overview This chapter describes application development for the Oracle Communication and Mobility Server (OCMS) in the following section

Seite 13 - Overview 1-3

Application Development in OCMS1-2 Oracle Communication and Mobility Server Developer’s GuideApplication Development in OCMSThe OCMS environment enab

Seite 14

Application Development in OCMSOverview 1-3Figure 1–1 OCMS SCE Application Development Support

Seite 15 - SIP Servlets

Application Development in OCMS1-4 Oracle Communication and Mobility Server Developer’s Guide

Seite 16 - The SIP Container

SIP Servlets 2-12SIP ServletsThis chapter provides an overview of SIP Servlets and the SIP Servlet API (as described in JSR-116) in the following sec

Seite 17 - Transactions

The SIP Container2-2 Oracle Communication and Mobility Server Developer’s GuideThe SIP ContainerThis section describes the SIP Container (Figure 2–1)

Seite 18 - Listeners

The SIP ContainerSIP Servlets 2-3SIP Application SessionsWhile an application may involve several types of servlet sessions (for example, SIP and HTT

Seite 19 - SIP Servlet Environment

The SIP Container2-4 Oracle Communication and Mobility Server Developer’s GuideServletsEach servlet defined in the deployment descriptor has one inst

Seite 20

SIP Servlet EnvironmentSIP Servlets 2-5SIP Servlets and SIP ApplicationsA SIP application is a J2EE-compliant application accessed over the SIP proto

Seite 21 - Classes and Methods

Oracle Communication and Mobility Server Developer’s Guide Release 10.1.3E10293-02Copyright © 2006, 2007, Oracle. All rights reserved.The Programs (w

Seite 22 - Requests

SIP Servlet Environment2-6 Oracle Communication and Mobility Server Developer’s Guided. The servlets are created and initiated with the init paramete

Seite 23 - Manipulating SIP headers

Classes and MethodsSIP Servlets 2-7Servlet MappingA SIP application can contain one or more SIP Servlets. When the SIP container receives SIP request

Seite 24

Classes and Methods2-8 Oracle Communication and Mobility Server Developer’s GuideOutside of the service method, the doRequest() and doResponse() are

Seite 25 - SIP Details

Classes and MethodsSIP Servlets 2-9A SIP request consists of the following: Request line Headers Empty line Message bodyAll parts of the SIP requ

Seite 26

Classes and Methods2-10 Oracle Communication and Mobility Server Developer’s Guidemethod that returns an iterator of the SIP headers of the message.

Seite 27

Classes and MethodsSIP Servlets 2-11Example 2–3 Accessing Parameters in SipURI// Create a SipURI, set the port, the lr, and the transport// protocol

Seite 28 - Defining the Servlet Mapping

Classes and Methods2-12 Oracle Communication and Mobility Server Developer’s Guide Dialog-related information such as tags, contacts, and CSeq in th

Seite 29 - SIP Servlets 2-15

Configuring SIP Applications in sip.xmlSIP Servlets 2-13Configuring SIP Applications in sip.xmlSIP servlets must be declared in the application’s dep

Seite 30 - Examples

Configuring SIP Applications in sip.xml2-14 Oracle Communication and Mobility Server Developer’s GuideDefining a ServletThe <servlet> element d

Seite 31

Configuring SIP Applications in sip.xmlSIP Servlets 2-15Creating Rules Using the Request Object StructureThe request object model enables you to defi

Seite 32 - SIP Servlets in OCMS

iiiContentsPreface ...

Seite 33 - Implementation Decisions

Configuring SIP Applications in sip.xml2-16 Oracle Communication and Mobility Server Developer’s GuideConditionsTable 2–1 lists the operators.Table 2

Seite 34 - Sip Servlet API Javadoc

Configuring SIP Applications in sip.xmlSIP Servlets 2-17Table 2–3 describes the variable values.The following example evaluates to false.<pattern&

Seite 35

SIP Servlets in OCMS2-18 Oracle Communication and Mobility Server Developer’s Guideto false as does the whole rule while the three conditions are all

Seite 36

SIP Servlets in OCMSSIP Servlets 2-19– Servlet 1 matches all requests. All of these applications have been deployed into the SIP container, but no de

Seite 37

SIP Servlets in OCMS2-20 Oracle Communication and Mobility Server Developer’s GuideProtocol SessionsThe SIP Servlet specification infers that other p

Seite 38

SIP Servlets in OCMSSIP Servlets 2-21OCMS Authentication and Login ModulesOCMS provides Digest Access Authentication against the users, user roles, a

Seite 39

SIP Servlets in OCMS2-22 Oracle Communication and Mobility Server Developer’s Guide

Seite 40

Advanced SIP Servlet Configuration 3-13Advanced SIP Servlet ConfigurationThis chapter describes advanced topics related to SIP servlets through the f

Seite 41

Using the appId Parameter to Set Addresses for SIP Applications3-2 Oracle Communication and Mobility Server Developer’s GuideExample 3–1, illustrates

Seite 42

Using the appId Parameter to Set Addresses for SIP ApplicationsAdvanced SIP Servlet Configuration 3-3Figure 3–1 Setting the Application Routing for

Seite 43 - Programming Guidelines

ivSetting and Accessing Global Init Parameters... 2-13Configuring Applicat

Seite 44

Configuring Application Security3-4 Oracle Communication and Mobility Server Developer’s GuideConfiguring Application SecurityThe deployment descript

Seite 45 - Creating B2BUA Applications

Configuring Application SecurityAdvanced SIP Servlet Configuration 3-5If a SIP client sends a REGISTER request to a server as illustrated in Example

Seite 46

Configuring Application Security3-6 Oracle Communication and Mobility Server Developer’s Guide

Seite 47 - Prerequisites

Programming Guidelines 4-14Programming GuidelinesThis chapter describes programming guidelines for SIP Servlet applications in the following sections

Seite 48

Storing Data in Application Sessions4-2 Oracle Communication and Mobility Server Developer’s GuideStoring Data in Application SessionsAll data that m

Seite 49 - Importing an Existing Project

Creating B2BUA ApplicationsProgramming Guidelines 4-3It will clone the request with the following modifications: The From header field of the new re

Seite 50 - Importing Example Projects

Creating B2BUA Applications4-4 Oracle Communication and Mobility Server Developer’s Guide

Seite 51

Building a SIP Servlet Application 5-15Building a SIP Servlet ApplicationThis chapter illustrates how to build a SIP Servlet application through OCMS

Seite 52

SIP Application Development Process5-2 Oracle Communication and Mobility Server Developer’s GuideRefer to Oracle Communication and Mobility Server In

Seite 53

Importing an Existing ProjectBuilding a SIP Servlet Application 5-37. Test your applicationa. Deploy the application to the application server.b. Tes

Seite 54 - Testing an Application

vImporting the Third Party Call Control Example Project ... 5-6Deploying a SIP Application

Seite 55

Importing Example Projects5-4 Oracle Communication and Mobility Server Developer’s GuideA new Java Project is created in the Package Explorer. Access

Seite 56

Importing Example ProjectsBuilding a SIP Servlet Application 5-5Figure 5–1 OCMS SCE Example ProjectsImporting the Basic Response SIP Application Exa

Seite 57 - OCMS Parlay X Web Services

Importing Example Projects5-6 Oracle Communication and Mobility Server Developer’s Guide3. Import the example SIP servlet project by selecting File,

Seite 58 - Installing the Web Services

Deploying a SIP Application to OCMSBuilding a SIP Servlet Application 5-7A new Java Project is created in the Package Explorer. Access the Package Ex

Seite 59 - Code Example

Testing an Application5-8 Oracle Communication and Mobility Server Developer’s Guide2. Right-click the server in the Servers view and select Publish

Seite 60

Testing an ApplicationBuilding a SIP Servlet Application 5-9Testing a Third Party Call Control ServletTo test an application, open a Web browser and

Seite 61

Testing an Application5-10 Oracle Communication and Mobility Server Developer’s Guide

Seite 62

OCMS Parlay X Web Services 6-16OCMS Parlay X Web Services This chapter describes OCMS support for the Parlay X 2.0 Presence Web services interfaces f

Seite 63

Installing the Web Services6-2 Oracle Communication and Mobility Server Developer’s GuideInstalling the Web ServicesThe Web services are packaged as

Seite 64

Using the Presence Web Services InterfacesOCMS Parlay X Web Services 6-3Using the Presence Web Services InterfacesThis section describes how to use e

Seite 66

Using the Presence Web Services Interfaces6-4 Oracle Communication and Mobility Server Developer’s Guide// These inputs are required but not used.Sim

Seite 67 - Diameter AVPs

Using the Presence Web Services InterfacesOCMS Parlay X Web Services 6-5Interface PresenceSupplier, Operation: publish and Oracle Specific "Unpu

Seite 68 - Diameter Exception

Using the Presence Web Services Interfaces6-6 Oracle Communication and Mobility Server Developer’s Guide// should be used as device note.other1.setNa

Seite 69 - 3GPP/Rf Diameter Java API

OCMS Parlay X Presence Custom Error CodesOCMS Parlay X Web Services 6-7Interface: PresenceSupplier, Operation: getSubscribedAttributesThis operation

Seite 70 - Rf Events

OCMS Parlay X Presence Custom Error Codes6-8 Oracle Communication and Mobility Server Developer’s Guide

Seite 71 - Rf Application Options

Oracle Diameter Java APIs A-1AOracle Diameter Java APIsThis appendix describes the Oracle Diameter Java APIs in the following sections: "Diamete

Seite 72 - Rf Application FSM

Diameter Java Base Protocol APIA-2 Oracle Communication and Mobility Server Developer’s GuideOn its upper side, the Diameter Base Protocol library, pr

Seite 73 - 3GPP/Ro DIAMETER JAVA API

Diameter Java Base Protocol APIOracle Diameter Java APIs A-3Base Protocol Diameter Java InterfaceThe Diameter Java API is composed of several interfac

Seite 74 - Ro Message Factory

Diameter Java Base Protocol APIA-4 Oracle Communication and Mobility Server Developer’s GuideThe DiameterMessage interface represents a Diameter Messa

Seite 75 - Ro Events

3GPP/Rf Diameter Java APIOracle Diameter Java APIs A-53GPP/Rf Diameter Java APIThis section defines a Java API for the 3GPP [TS 32.299] Rf Interface o

Seite 77 - Ro Application FSM

3GPP/Rf Diameter Java APIA-6 Oracle Communication and Mobility Server Developer’s Guide int Accounting-Record-Number,

Seite 78 - 3GPP/Sh Diameter Java API

3GPP/Rf Diameter Java APIOracle Diameter Java APIs A-7Raise Events To send an accounting event to the Diameter stack, user has to call the accounting

Seite 79 - Sh Message Factory

3GPP/Rf Diameter Java APIA-8 Oracle Communication and Mobility Server Developer’s Guide SUPERVISION_TIMER_DURATION INTERIM_INTERVAL REALTIME_REQUIR

Seite 80 - Sh Events

3GPP/Ro DIAMETER JAVA APIOracle Diameter Java APIs A-9RECORD or STOP_RECORD. The reception of an accounting request message including an Accounting-Re

Seite 81 - Diameter Application Example

3GPP/Ro DIAMETER JAVA APIA-10 Oracle Communication and Mobility Server Developer’s GuideRo ListenerThe DiameterRoListener interface processes accounti

Seite 82 - Application initialization

3GPP/Ro DIAMETER JAVA APIOracle Diameter Java APIs A-11 Credit-Control-Answer (CCA)The first following method creates a basic CCA (with only mandator

Seite 83

3GPP/Ro DIAMETER JAVA APIA-12 Oracle Communication and Mobility Server Developer’s Guide DiameterServiceEvent(Object, DiameterSession, int): This eve

Seite 84

3GPP/Ro DIAMETER JAVA APIOracle Diameter Java APIs A-13 TX_TIMER_DURATION TRA_TIMER_DURATION CCFH ENABLE_INVALID_COMMAND ENABLE_SND_MISSING_AVPRo

Seite 85

3GPP/Sh Diameter Java APIA-14 Oracle Communication and Mobility Server Developer’s GuideCCA(EVENT_REQUEST) stands for Credit-Control-Answer message wi

Seite 86 - Cleaning

3GPP/Sh Diameter Java APIOracle Diameter Java APIs A-15The Properties parameter specifies the features that will be handled by this Sh provider. This

Seite 88 - Realm State Availability

3GPP/Sh Diameter Java APIA-16 Oracle Communication and Mobility Server Developer’s GuideDiameterMessage createPushNotificationAnswer(String resultCod

Seite 89 - Counters Management

Diameter Application ExampleOracle Diameter Java APIs A-17Sh Application OptionsThese options specify the features handled by the accounting Applicati

Seite 90

Diameter Application ExampleA-18 Oracle Communication and Mobility Server Developer’s GuideThe network element (acting as client) sends an Accounting-

Seite 91 - Dictionary

Diameter Application ExampleOracle Diameter Java APIs A-19Figure A–5 Rf Provider Creation3. Create my Rf Provider, an instance of DiameterRfProvider,

Seite 92

Diameter Application ExampleA-20 Oracle Communication and Mobility Server Developer’s GuideFigure A–7 Routes and Listening Points Creation6. Create a

Seite 93

Diameter Application ExampleOracle Diameter Java APIs A-21Figure A–9 ACR Reception10.Create a client diameter session, an instance of DiameterSession,

Seite 94

Diameter Application ExampleA-22 Oracle Communication and Mobility Server Developer’s GuideFigure A–11 ACA Reception15. Send the created Accounting-An

Seite 95 - Dictionary Extension

Programming Oracle Diameter Applications B-1BProgramming Oracle Diameter ApplicationsThis appendix describes programming Oracle Diameter applications

Seite 96 - Tracing and Logging Mechanism

IP and Routes ConfigurationB-2 Oracle Communication and Mobility Server Developer’s GuideString localURI = "aaa://server.realm.domain.com:41001&q

Seite 97

Counters ManagementProgramming Oracle Diameter Applications B-3and application ID. Since the route is not available, the application is not able to ex

Seite 98

ixPrefaceThis preface contains the following topics: Audience Documentation Accessibility Related Documents ConventionsAudienceThis guide is inten

Seite 99 - Accounting Event API

Counters ManagementB-4 Oracle Communication and Mobility Server Developer’s GuideManaging a Diameter Application with MBeansA Diameter Application can

Seite 100

DictionaryProgramming Oracle Diameter Applications B-5And then select the application's JVM from the local list. The Diameter MBeans should be vi

Seite 101

DictionaryB-6 Oracle Communication and Mobility Server Developer’s GuideThe <application> attributes are:1. The application id attribute is the

Seite 102 - Event Processing in Log4j

DictionaryProgramming Oracle Diameter Applications B-7Example B–7 Defining the <returnCode> Element<dictionary> <vendor id="1

Seite 103

DictionaryB-8 Oracle Communication and Mobility Server Developer’s Guide "UNSIGNED32" "UNSIGNED64" "FLOAT32" "F

Seite 104

DictionaryProgramming Oracle Diameter Applications B-9Example B–10 Defining the <enum> Element<dictionary> <vendor id="10415&

Seite 105

Tracing and Logging MechanismB-10 Oracle Communication and Mobility Server Developer’s Guide " <vendor id=\"10415\" name=\"3G

Seite 106

Tracing and Logging MechanismProgramming Oracle Diameter Applications B-11 // ... } public void trace (String file, int line, int ma

Seite 107

Tracing and Logging MechanismB-12 Oracle Communication and Mobility Server Developer’s Guide

Seite 108

Accounting Event API C-1CAccounting Event APIThis appendix describes the OCMS Accounting Event API, in the following sections: Introduction logEvent

Kommentare zu diesen Handbüchern

Keine Kommentare