Package com.ericsson.ssa.sip.dns

Examples of com.ericsson.ssa.sip.dns.TargetResolver


                // TR HH52078
                if (resp != null) {
                    while (resp.popDispatcher() != null) {
                    } // After this layer it shouldn't go anywhere

                    TargetResolver tr = TargetResolver.getInstance();
                    TargetTuple tt = tr.resolveResponse(resp);

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


    private void sendErrorResponse(SipServletResponseImpl resp) {

        while (resp.popDispatcher() != null) {
        }

        TargetResolver tr = TargetResolver.getInstance();
        TargetTuple tt = null;
        try {
            tt = tr.resolveResponse(resp);
        } catch (Exception e) {
            if (logger.isLoggable(Level.FINEST)) {
                logger.log(Level.FINEST,
                        "sip.network.grizzly.failed.resolution");
            }
View Full Code Here

                    (resp.getToImpl().getParameter(AddressImpl.TAG_PARAM) == null)) {
                resp.createTag(Header.TO);
            }

            try {
                TargetResolver tr = TargetResolver.getInstance();
                TargetTuple tt = tr.resolveResponse(resp);
                resp.setRemote(tt);
            } catch (Exception e) {
                e.printStackTrace();
                // Fallback if resolve failed, possibly because of Via missing or not parsable.
                resp.setRemote(req.getRemote());
View Full Code Here

TOP

Related Classes of com.ericsson.ssa.sip.dns.TargetResolver

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.