O'Reilly logo

IMS Application Developer's Handbook by Mats Stille, Anders Ryde, Ioannis Fikouras, Catherine Mulligan, Ulf Olsson, Rogier Noldus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A

A.1. Virtual Call Center Use-Case Implementation

This section provides a complete source code for the classes according to the JSR289 API as sketched and described in chapter 5.

A.1.1. Implementation of the Announcement Component

A.1.1.1. Class AnnouncementB2B

package com.ericsson.services;
import java.io.IOException;
import java.util.logging.Logger;
import javax.annotation.Resource;
import javax.servlet.ServletException;
import javax.servlet.sip.Address;
import javax.servlet.sip.SipFactory;
import javax.servlet.sip.SipServlet;
import javax.servlet.sip.SipServletRequest;
import javax.servlet.sip.SipServletResponse;
import javax.servlet.sip.SipSession;
import javax.servlet.sip.SipURI;
import javax.servlet.sip.SipSession.State;
import javax.servlet.sip.ar.SipApplicationRoutingDirective; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required