class MMICallManager implements CallManager {

    public Session createSession(final CallMetadata data) throws ErrorEvent,
            UnsupportedResourceIdentifierException {
        final ConnectionInformationController controller = factory
                .createConnectionInformation(call, output, input);
        final ConnectionInformation info = controller
                .getConnectionInformation();
        if (info instanceof ConnectionInformationCallMetadataModifiable) {
            final ConnectionInformationCallMetadataModifiable modifiable =
                    (ConnectionInformationCallMetadataModifiable) info;
            modifiable.setProfile(MmiProfile.NAME);
            modifiable.setCalledDevice(data.getCalledDevice());
            modifiable.setCallingDevice(data.getCallingDevice());
            modifiable.setProtocolName(data.getProtocolName());
            modifiable.setProtocolVersion(data.getProtocolVersion());
        }
        final Session session = jvxml.createSession(info);
        sessions.put(session, controller);
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("session '" + session.getSessionId() + "' created");
        }
        return session;
    }

    public  MMICallManager();

}