MediaSessionImpl extends MediaObjectImpl implements MediaSession { public CallIdentifier getCallID() { return callID; } MediaSessionImpl(MsControlFactoryImpl factory); CallIdentifier getCallID(); synchronized int getUniqueHandler(); synchronized int getUniqueReqID(); MediaGroup createMediaGroup(Configuration<MediaGroup> pattern); MediaGroup createMediaGroup(Configuration<MediaGroup> pattern, Parameters params); MediaGroup createMediaGroup(MediaConfig config, Parameters params); MediaMixer createMediaMixer(Configuration<MediaMixer> pattern); MediaMixer createMediaMixer(Configuration<MediaMixer> pattern, Parameters params); MediaMixer createMediaMixer(MediaConfig config, Parameters params); NetworkConnection createNetworkConnection(Configuration<NetworkConnection> pattern); NetworkConnection createNetworkConnection(Configuration<NetworkConnection> pattern, Parameters params); NetworkConnection createNetworkConnection(MediaConfig config, Parameters params); VxmlDialog createVxmlDialog(Parameters paramParameters); Object getAttribute(String paramString); Iterator<String> getAttributeNames(); void removeAttribute(String paramString); void setAttribute(String paramString, Object paramObject); Iterator<MediaObject> getMediaObjects(); Iterator<T> getMediaObjects(Class<T> paramClass); void release(); void removeConnection(NetworkConnectionImpl connection); List<MediaGroup> getMedGrpList(); List<MediaMixer> getMedMxrList(); MsControlFactoryImpl getMsControlFactoryImpl(); @Override String toString(); static final int SESSION_TIMEOUT; static AtomicInteger lastCallId; }
@Test public void testGetCallID() { CallIdentifier callID = session.getCallID(); assertTrue("CallID is null", callID != null); }