CallSession callSession = getCallSessionFactory().getPhoneSession(event.getUniqueId1());
CallSession callSession = getCallSessionFactory().getCallSession(event.getUniqueId1(), phoneUser.getUsername());
        public void run() {            PhoneManager phoneManager = null;            try {                phoneManager = getPhoneManager();                String device = getDevice(event.getChannel1());                PhoneUser phoneUser = phoneManager.getByDevice(device);                if (phoneUser != null) {                    CallSession callSession = getCallSessionFactory().getPhoneSession(event.getUniqueId1());                    callSession.setChannel(event.getChannel1());                    callSession.setLinkedChannel(event.getChannel2());                }                // Now setup this up for the second user                device = getDevice(event.getChannel2());                phoneUser = phoneManager.getByDevice(device);                if (phoneUser != null) {                    CallSession callSession = getCallSessionFactory().getPhoneSession(event.getUniqueId2());                    callSession.setChannel(event.getChannel2());                    callSession.setLinkedChannel(event.getChannel1());                }            }            catch (Exception e) {                log.log(Level.SEVERE, e.getMessage(), e);            }            finally {                close(phoneManager);            }        }