Package com.ericsson.ssa.sip

Examples of com.ericsson.ssa.sip.ViaImpl


    private boolean isRemoteSocketandViaTransportConsistent(SipServletRequestImpl req) {

        String vstr = req.getHeader(Header.VIA);

        ViaImpl via;
        if ((vstr != null) && ((via = new ViaImpl(vstr)) != null)) {
           
            String viaTransport = via.getTransport();           
            String remoteTransport = req.getRemote().getProtocol().name();
           
            if ( viaTransport!= null && remoteTransport != null && !viaTransport.equalsIgnoreCase(remoteTransport)) {
                return false;
            }
View Full Code Here

TOP

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

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.