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; ...
Get IMS Application Developer's Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.