transactionManager.setTransportManager(transportManager);
//core
InviteHandler inviteHandler = new InviteHandler(this,
dialogManager,
transactionManager,
transportManager,
logger);
CancelHandler cancelHandler = new CancelHandler(this,
dialogManager,
transactionManager,
transportManager,
logger);
ByeHandler byeHandler = new ByeHandler(this,
dialogManager,
transactionManager,
transportManager,
logger);
OptionsHandler optionsHandler = new OptionsHandler(this,
transactionManager,
transportManager,
logger);
RegisterHandler registerHandler = new RegisterHandler(this,
transactionManager,
transportManager,
logger);
InitialRequestManager initialRequestManager =
new InitialRequestManager(
this,
inviteHandler,
cancelHandler,
byeHandler,
optionsHandler,
registerHandler,
dialogManager,
transactionManager,
transportManager,
logger);
MidDialogRequestManager midDialogRequestManager =
new MidDialogRequestManager(
this,
inviteHandler,
cancelHandler,
byeHandler,
optionsHandler,
registerHandler,
dialogManager,
transactionManager,
transportManager,
logger);
uas = new UAS(this,
initialRequestManager,
midDialogRequestManager,
dialogManager,
transactionManager,
transportManager);
uac = new UAC(this,
initialRequestManager,
midDialogRequestManager,
dialogManager,
transactionManager,
transportManager,
logger);
challengeManager = new ChallengeManager(config,
initialRequestManager,
midDialogRequestManager,
dialogManager,
logger);
registerHandler.setChallengeManager(challengeManager);
inviteHandler.setChallengeManager(challengeManager);
byeHandler.setChallengeManager(challengeManager);
peers = new ArrayList<String>();
//dialogs = new ArrayList<Dialog>();
sdpManager = new SDPManager(this, logger);
inviteHandler.setSdpManager(sdpManager);
optionsHandler.setSdpManager(sdpManager);
soundManager = new SoundManager(config.isMediaDebug(), logger,
this.peersHome);
mediaManager = new MediaManager(this, logger);
}