@Override public void onApplicationEvent(ApplicationEvent event) { if (event instanceof DialPlanActivatedEvent) { getReplicate(); if (getRestart() && !((DialPlanActivatedEvent) event).isSbcsRestarted()) { Collection<Integer> sbcIds = m_sbcDeviceManager.getAllSbcDeviceIds(); m_sbcProfileManager.restartDevices(sbcIds, null); } } }