//create Dialog and attach SBB to the Dialog Activity
ActivityContextInterface daci = null;
try {
Dialog dialog = sipProvider.getNewDialog(evt.getServerTransaction());
dialog.terminateOnBye(true);
daci = acif.getActivityContextInterface(dialog);
daci.attach(sbbContext.getSbbLocalObject());
} catch (Exception e) {
logger.error("Error during dialog creation", e);
respond(evt, Response.SERVER_INTERNAL_ERROR);