Oracle Server E10293-02 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software Oracle Server E10293-02. Oracle Server E10293-02 User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 108
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Oracle® Communication and Mobility Server
Developer’s Guide
Release 10.1.3
E10293-02
August 2007
Zobrazit stránku 0
1 2 3 4 5 6 ... 107 108

Shrnutí obsahu

Strany 1 - Release 10.1.3

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

Strany 2

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

Strany 3 - Contents

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

Strany 4 - 4 Programming Guidelines

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

Strany 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

Strany 6

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

Strany 7 - C Accounting Event API

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

Strany 8

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

Strany 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

Strany 10 - Conventions

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

Strany 12 - SIP Servlet API

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

Strany 13 - Overview 1-3

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

Strany 14

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

Strany 15 - SIP Servlets

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

Strany 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

Strany 17 - Transactions

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

Strany 18 - Listeners

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

Strany 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

Strany 20

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

Strany 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

Strany 22 - Requests

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

Strany 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

Strany 24

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

Strany 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

Strany 26

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

Strany 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

Strany 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

Strany 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

Strany 30 - Examples

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

Strany 31

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

Strany 32 - SIP Servlets in OCMS

iiiContentsPreface ...

Strany 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

Strany 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&

Strany 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

Strany 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

Strany 37

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

Strany 38

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

Strany 39

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

Strany 40

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

Strany 41

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

Strany 42

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

Strany 43 - Programming Guidelines

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

Strany 44

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

Strany 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

Strany 46

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

Strany 47 - Prerequisites

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

Strany 48

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

Strany 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

Strany 50 - Importing Example Projects

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

Strany 51

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

Strany 52

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

Strany 53

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

Strany 54 - Testing an Application

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

Strany 55

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

Strany 56

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

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

Strany 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

Strany 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

Strany 60

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

Strany 61

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

Strany 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

Strany 63

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

Strany 64

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

Strany 66

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

Strany 67 - Diameter AVPs

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

Strany 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

Strany 69 - 3GPP/Rf Diameter Java API

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

Strany 70 - Rf Events

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

Strany 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

Strany 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

Strany 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

Strany 74 - Ro Message Factory

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

Strany 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

Strany 77 - Ro Application FSM

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

Strany 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

Strany 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

Strany 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

Strany 81 - Diameter Application Example

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

Strany 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

Strany 83

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

Strany 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

Strany 85

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

Strany 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

Strany 88 - Realm State Availability

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

Strany 89 - Counters Management

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

Strany 90

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

Strany 91 - Dictionary

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

Strany 92

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

Strany 93

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

Strany 94

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

Strany 95 - Dictionary Extension

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

Strany 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

Strany 97

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

Strany 98

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

Strany 99 - Accounting Event API

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

Strany 100

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

Strany 101

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

Strany 102 - Event Processing in Log4j

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

Strany 103

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

Strany 104

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

Strany 105

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

Strany 106

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

Strany 107

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

Strany 108

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

Komentáře k této Příručce

Žádné komentáře