/** {@inheritDoc} */ public void disconnect(final ConnectionInformation info) { LOGGER.info(".. with ConnectionInformation:" + info); final MobicentsConnectionInformation vnxivrInfo = (MobicentsConnectionInformation) info; terminal = vnxivrInfo.getTerminal(); terminal.disconnect(); terminal.removeListener(this); }
/** {@inheritDoc} */ public void connect(final ConnectionInformation info) throws IOException { LOGGER.info(".. with ConnectionInformation:" + info); final MobicentsConnectionInformation vnxivrInfo = (MobicentsConnectionInformation) info; terminal = vnxivrInfo.getTerminal(); terminal.addListener(this); }