ユーザーズマニュアル目次Contents3Preface9Audience9Documentation Accessibility9Related Documents10Conventions101 Overview11Introduction to Oracle Communication and Mobility Server11New in this Release11Application Development in OCMS12SIP Servlet API12Parlay X Web Service Interface12Presence Web Services12Oracle Communication and Mobility Server Development Tools122 SIP Servlets15Introduction to SIP Servlets15The SIP Container16Servlet Context16SIP Application Sessions17Protocol Sessions17Transactions17Servlets18Increased Servlet Modularity18Renaming SAR Files for the JBoss Application Server18Listeners18SIP Servlets and SIP Applications19SIP Servlet Environment19Servlet Mapping21Classes and Methods21Request and Response Handling Methods21Messages22Requests22Responses23Content23Manipulating SIP headers23SipURI24Address25SIP Details25Storing Data as Session Attributes26Adding Configuration Parameters26Configuring SIP Applications in sip.xml27Setting and Accessing Global Init Parameters27Configuring Application Sessions27Defining a Servlet28Defining the Servlet Mapping28Creating Rules Using the Request Object Structure29Conditions30Examples30SIP Servlets in OCMS32Handling Initial Requests32Implementation Decisions33Protocol Sessions34Extended doRequest Methods34Asynchronous Send34Multi-Threading34Sip Servlet API Javadoc34External Access to SIP Servlets34OCMS Authentication and Login Modules353 Advanced SIP Servlet Configuration37Using the appId Parameter to Set Addresses for SIP Applications37Configuring the appId Parameter38Adding Deployed Applications to the SipUriList Attribute39Configuring Application Security404 Programming Guidelines43Introduction43Marking Applications as Distributable43Storing Data in Application Sessions44Avoiding Static Data44Avoiding Blocking Calls44Invalidating the SipApplicationSession and SIPSession44Monitoring the Memory Usage44Avoiding Storing Shared Resources in Sessions44Avoiding Creating Threads44Creating B2BUA Applications445 Building a SIP Servlet Application47Prerequisites47SIP Application Development Process48Creating a New Dynamic Web Project with SIP Support49Importing an Existing Project49Importing Example Projects50Importing the Basic Response SIP Application Example Project51Importing the Call Forward SIP Application Example Project51Importing the Message Sender SIP/Web Converged Application Example Project52Importing the Proxy/Registrar Example Project52Importing the Third Party Call Control Example Project52Deploying a SIP Application to OCMS53Testing an Application54Changing the Logging Level54Viewing the System Log File54Starting the OCMS Server in Eclipse54Testing a Third Party Call Control Servlet556 OCMS Parlay X Web Services57Introduction57Installing the Web Services58Installing the Aggregation Proxy58Configuring Web Services with the Aggregation Proxy58Presence Web Services Interface Descriptions58Using the Presence Web Services Interfaces59Interface: PresenceConsumer, Operation: subscribePresence59Code Example59Interface: PresenceConsumer, Operation: getUserPresence60Code Example60Interface PresenceSupplier, Operation: publish and Oracle Specific "Unpublish"61Code Example61Interface: PresenceSupplier, Operation: getOpenSubscriptions62Code Example62Interface: PresenceSupplier, Operation: updateSubscriptionAuthorization62Code Example62Interface: PresenceSupplier, Operation: getMyWatchers62Code Example62Interface: PresenceSupplier, Operation: getSubscribedAttributes63Code Example63Interface: PresenceSupplier, Operation: blockSubscription63Code Example63OCMS Parlay X Presence Custom Error Codes63A Oracle Diameter Java APIs65Diameter Java Base Protocol API66Base Protocol Diameter Java Interface67Diameter Factory67Diameter Stack67Diameter Application67Diameter Transport67Diameter AVPs67Diameter Session68Diameter Event68Diameter Exception683GPP/Rf Diameter Java API693GPP/Rf Diameter Java Interface69Rf Provider69Rf Listener69Rf Message Factory693GPP/Rf Dictionary70Rf Events70Process Event70Raise Events71Rf Application Options71Rf Server Stateless71Rf Server StateFul71Rf Client71Rf Application FSM72Rf Client FSM72RF Stateful Server FSM73Rf Stateless Server FSM733GPP/Ro DIAMETER JAVA API733GPP/Ro DIAMETER JAVA INTERFACE73Ro Provider73Ro Listener74Ro Message Factory743GPP/Ro Dictionary75Ro Events75Process Events75Raise Events76Ro Application Options76Ro Server76Ro StateFul Client76Ro StateLess Client77Ro Application FSM77Ro Stateful Client FSM78Ro StateLess Client FSM78Ro Server FSM783GPP/Sh Diameter Java API783GPP/Sh Diameter Java Interface78Sh Provider78Sh Listener79Sh Message Factory793GPP/Sh Dictionary80Sh Events80Sh Application Options81Diameter Application Example81Accounting Call Flow81Application initialization82Rf Diameter Application82Transport configuration83Accounting Diameter message exchange84Accounting-Request (ACR)84Accounting-Answer (ACA)85Cleaning86B Programming Oracle Diameter Applications87IP and Routes Configuration87Creating a Diameter Stack87Binding to Local Transport Addresses87Configuring Routes and Binding to Diameter Peers88Realm State Availability88Counters Management89MBeans Management Interface89Managing a Diameter Application with MBeans90Registering the Diameter MBeans90Using jconsole to Monitor Diameter Applications90Dictionary91Dictionary Composition91dictionary Element91vendor Element91application Element91command Element92returnCode Element92avp Element93type Element93enum Element94grouped Element95Dictionary Extension95Tracing and Logging Mechanism96C Accounting Event API99Introduction99logEvent(SipServletRequest req, Map<Object, Object> additional) Method100logEvent(SipServletResponse resp, Map<Object, Object> additional) Method101logEvent(Map <Object, Object> event, String category) Method101Event Processing in Log4j102Index105A105B105C105D105E105H105I105J105L105M106O106P106R106S106T107U107サイズ: 1.74MBページ数: 108Language: Englishマニュアルを開く