Package com.ericsson.ssa.sip

Examples of com.ericsson.ssa.sip.DialogSet


        if (s == null) {
            // check if we are spiraling: look up early dialog
            String id = DialogSet.createKey(req.getCallId(),
                    req.getFromImpl().getParameter(AddressImpl.TAG_PARAM));
            DialogSet existingDs = DialogSet.getEarlyDialog(id);

            if (existingDs != null) {
                // spiraling indeed!
                req.setDialog(existingDs.createAdditionalDialogFragment());
            } else {
                // not spiraling
                // creates a new sip session and dialog structure
                DialogSet ds = new DialogSet(req.getMethod(), req.getCallId(), req.getFromImpl(),
                        req.getBeKey(), SipFactoryImpl.isDialogCreational(req.getMethod()));               
                req.setDialog(ds.getInitialDialogFragment());
                DialogSet.registerEarlyDialog(req);
            }
        }

        // creates a new sip session
View Full Code Here

TOP

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

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.