callSession.setCallerIDName(callerIDName);
    protected void handleDialSource(PhoneUser srcUser, String srcDevice, DialEvent event) {        try {            CallSession callSession = getCallSessionFactory()                    .getCallSession(event.getSrcUniqueId(), srcUser.getUsername());            callSession.setChannel(srcDevice);            Message message = new Message();            message.setID(event.getSrcUniqueId());            message.setFrom(phoneManager.getComponentJID());            String callerID = event.getCallerId();            String callerIDName = event.getCallerIdName();            callSession.setCallerID(callerID);            PhoneEvent phoneEvent =                    new PhoneEvent(event.getSrcUniqueId(), PhoneEvent.Type.DIALED, srcDevice);            message.getElement().add(phoneEvent);            phoneEvent.addElement("callerID").setText(callerID != null ? callerID : "");            phoneEvent.addElement("callerIDName").setText(callerIDName != null ? callerIDName : "");            // Send the message to each of jids for this user            SessionManager sessionManager = XMPPServer.getInstance().getSessionManager();            Collection<ClientSession> sessions = sessionManager.getSessions(srcUser.getUsername());            for (ClientSession session : sessions) {                message.setTo(session.getAddress());                phoneManager.sendPacket(message);            }        }        catch (Throwable e) {            Log.error(e.getMessage(), e);        }    }