Package com.ericsson.ssa.sip

Examples of com.ericsson.ssa.sip.SipServletResponseImpl


            if (log.isLoggable(Level.FINE)) {
                log.log(Level.FINE,
                    "No Branch in Via header " + req.toString());
            }

            SipServletResponseImpl resp = (SipServletResponseImpl) req.createResponse(400,
                    "No Branch in Via header");
            Dispatcher d = resp.popDispatcher();

            if (d != null) {
                d.dispatch(resp);
            }
        }
View Full Code Here


            break;

        case TimerF:

            SipServletResponseImpl resp = null;

            synchronized (this) {
                if ((_state == TRYING) || (_state == PROCEEDING)) {
                    resp = getRequest().createTerminatingResponse(408);
                    resp.setInternalTransportFailure(true);
                }

                // lets remove this transaction before sending the 408 response
                terminate(false);
            }

            // dispatch after synch block...
            if (resp != null) {
                popVia(resp);
                if (_log.isLoggable(Level.FINE)) {
                    _log.log(Level.FINE,
                        "Timer F fired - send 408 Request Timeout " + _state +
                        " , response = " + resp.toDebugString());
                }
                final SipServletResponseImpl respToSend = resp;
                SipContainerThreadPool.getInstance().execute(new Callable() {
                    public Object call() throws Exception {
                        try {
                          // UOW is set by the replication manager
                          TransactionManager.getInstance().invokeNextLayer(respToSend);
View Full Code Here

                        if (theirLog.isLoggable(Level.FINE)) {
                            theirLog.log(Level.FINE, "Error code out of range in response : " + code);
                        }
                        return null;
                    }
                    message = new SipServletResponseImpl(null, SipFactoryImpl.PROTOCOL_LINE, code, phrase);
                    message.setLocal(local);
                    message.setRemote(remote);
                } else {
                    if (theirLog.isLoggable(Level.FINE)) {
                        theirLog.log(Level.FINE, "The URI is not a request nor a response!");
View Full Code Here

TOP

Related Classes of com.ericsson.ssa.sip.SipServletResponseImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.