Examples of ViaImpl


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
Copyright © 2018 www.massapi.com. 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.