|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthp.telephony.media.ConfigSpec
Stores the information necessary to configure (or re-configure) a collection of resources. A ConfigSpec is essentially a read-only structure consisting of
or
A ConfigSpec used in configure() is obtained using the constructor, and is not modified thereafter. A ConfigSpec returned from getConfiguration() is inspected using one of the ConfigSpec field accessor methods.
ConfigSpec implements a Composite design pattern made of a tree of Resource leaves and intermediate nodes.
ResourceSpecs can be organized into AND or XOR nodes :
Anded ;
Alt nodes.
Player and Recorder.
On the other hand, a choice has to be made between TTS, Signal Generator and Player.
Although any ResourceSpec can be used to build a ConfigSpec, the structure of the Resource tree has to fit within OC MP operational framework. Actually, the only changes from the following scheme can consist in either removing ResourceSpecs, or defining specific attributes.
static final ConfigSpec gpConfig = new ConfigSpec(new ResourceSpec[] { //behaves as an And node.
new ResourceSpec.Alt(new ResourceSpec[] {
ResourceSpec.protocol1MasterSMSPlayerRecorder,
ResourceSpec.protocol1SlaveSMSPlayerRecorder,
ResourceSpec.protocol2MasterSMSPlayerRecorder,
ResourceSpec.protocol2SlaveSMSPlayerRecorder,
new ResourceSpec.And(new ResourceSpec[] {
ResourceSpec.basicEchoCanceller,
ResourceSpec.basicSignalDetector,
ResourceSpec.nuanceSpeechDetector, //or hpSpeechDetector ; in this case we do not use a dynamic Alt !
new ResourceSpec.Alt(new ResourceSpec[] {
ResourceSpec.basicFax, // can be removed, e.g., if no fax capability required
new ResourceSpec.Alt(new ResourceSpec[] {
new ResourceSpec.And(new ResourceSpec[] {
new ResourceSpec.Alt(new ResourceSpec[] {
ResourceSpec.silencePlayer,
ResourceSpec.rtpPlayer,
ResourceSpec.basicPlayer, //or volumePlayer or speedPlayer or enhancedPlayer or new ResourceSpec(Player.class, null, params) -- see note
ResourceSpec.basicSignalGenerator
}),
new ResourceSpec.Alt(new ResourceSpec[] {
ResourceSpec.rtpRecorder,
ResourceSpec.basicRecorder
})
}),
ResourceSpec.basicConference
} )//end of And ...
} )//end of Alt basicFax,...
} )//end of And ...
} )//end of Alt protocol*SMSPlayerRecorder,...
}, 2000 , null, null, null);
In other word, one can remove any ResourceSpec... from the tree listed above, even a whole
ResourceSpec.Alt or ResourceSpec.And strucuture, in order, e.g., to
save memory or computation power (as this is the case with Voice Activity Detectors aka SpeechDetectors, basicSignalDetector and EchoCanceller).
Using AsyncMediaGroup.setParameters(Dictionary) or the last arg of
play() and record() is preferred to codec flavors of Player and Recorder ResourceSpecs.
private static final Hashtable wavParams = new Hashtable();
static {
wavParams.put(Recorder.p_CoderTypes, new Symbol[] { CoderConstants.v_ADPCM_32k });
wavParams.put(Player.p_FileFormat, PlayerConstants.v_WavFormat);
}
new ResourceSpec(Player.class, null, wavParams) // BAD
mg.setParameters(wavParams); // OK
//or
mg.play("/tmp/menu.wav", 0, null, wavParams); // OK
A very interesting example is the way the basicPlayer can be viewed as
new ResourceSpec(Player.class, null, null)
which, in turn, can be decorated as
private static final Hashtable speedParams = new Hashtable();
private static final Hashtable volumeParams = new Hashtable();
private static final Hashtable enhancedParams = new Hashtable();// combines a_Speed and a_Volume
static {
speedParams.put(Player.a_Speed, Boolean.TRUE);
volumeParams.put(Player.a_Volume, Boolean.TRUE);
enhancedParams.put(Player.a_Speed, Boolean.TRUE);
enhancedParams.put(Player.a_Volume, Boolean.TRUE);
}
...
new ResourceSpec(Player.class, null, enhancedParams) //or speedParams or volumeParams
...
Timeout indicates how long the application is willing to wait for
the configuration process to complete.
The implementation is allowed to wait up to timeout
milliseconds for resources to become available. If the requested
resources are not available at that time, configuration will fail,
and the application can continue to interact with the caller using
the previously configured resources.
Note:
Timeout may be specified as
(or -1).
Other negative values for timeout may generate an IllegalArgumentException.
ResourceConstants.FOREVER
When configuring a MediaGroup, the media provider may have choices regarding how and where the Resources are implemented. If the application is sensitive to the possible alternatives, it can specify the particular type of implemention required by supplying a Dictionary that defines a value for the attributes of interest.
The defined attributes for a ConfigSpec are described
in ConfigSpecConstants.
Several simple ConfigSpec objects are pre-defined, here are the main ones :
used with loopCP() | |
|
requests the default SignalDetector, SignalGenerator, and alternating use of the default Player and Recorder |
|
requests the default Signal Detector and alternating use of [Conference] and [(alt: Player/SignalGenerator) and Recorder]. |
used with loopCONF() | |
|
requests the use of (alt: Player/Signal Generator) and Conference |
|
requests the use of Recorder and Conference. |
|
requests the use of (alt: Player/Player_rtp/Signal Generator) and Conference |
|
requests the use of (alt: Recorder/Recorder_rtp) and Conference. |
|
requests the default Signal Detector, alternating use of the default Player and the RTP Player, and alternating use of the default Recorder and the RTP Recorder. |
Note:
ConfigSpec.anyConfig is identified by
(ResourceSpec[] == null).
An empty ResourceSpec[], that is:
(ResourceSpec[] = new ResourceSpec[])
indicates a configuration with no Resources.
Note:
This specification does not constrain how or whether the structured
sub-components of a ConfigSpec are shared or copied between uses.
Application developers are advised that there may be side-effects
if an Array or Dictionary used in a ConfigSpec is subsequently
modified. For example, it would be poor practice to modify
the ResourceSpec[] returned from
basicConfig.getResourceSpecs().
Modifications should be made only to copies of such Arrays
or Dictionaries.
FAQ:
The ConfigSpec returned from getConfiguration is
not the same ConfigSpec used in a previous configure.
For example, the ResourceSpec[] in the returned ConfigSpec
will contain descriptions of the Resources actually configured.
Also, the Attributes of the ConfigSpec may contain additional
attributes that were not mentioned in the ConfigSpec passed to configure.
| Field Summary | |
static ConfigSpec |
anyConfig
A ConfigSpec instance that specifes that any configuration of Resources is acceptable. |
static ConfigSpec |
basicADPCMConfig
Deprecated. Using setParameters() or the last arg of play() and record() is preferred to codec flavored ConfigSpec. |
static ConfigSpec |
basicALawConfig
Deprecated. Using setParameters() or the last arg of play() and record() is preferred to codec flavored ConfigSpec. |
static ConfigSpec |
basicAltFileRTPConfig
Deprecated. |
static ConfigSpec |
basicASRTTSConfig
A ConfigSpec for basic ASR/TTS operations wrt a CP. |
static ConfigSpec |
basicASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources wrt a CP. |
static ConfigSpec |
basicConfig
A basic ConfigSpec wrt a CP. |
static ConfigSpec |
basicECASRTTSConfig
A ConfigSpec for basic echo cancelled ASR/TTS operations wrt a CP. |
static ConfigSpec |
basicECASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources and Echo canceller wrt a CP. |
static ConfigSpec |
basicEchoSimulatorConfig
A basic Echo Simulator ConfigSpec. |
static ConfigSpec |
basicFaxConfig
A means to allocate a ResourceSpec.basicSignalDetector, and
either a ResourceSpec.basicFax, or the usual
combination of file Player and Recorder, ASR, TTS, and Signal Generator wrt a CP. |
static ConfigSpec |
basicSpeechEnabledConfig
A ConfigSpec for basic RTP streaming operations and local speech endpointing wrt a CP. |
static ConfigSpec |
basicSpeedConfig
A basic ConfigSpec with speed control wrt a CP. |
static ConfigSpec |
basicToneGenerationConfig
|
static ConfigSpec |
basicVolumeConfig
A basic ConfigSpec with volume control wrt a CP. |
static ConfigSpec |
bridgeCPConfigSpec
ConfigSpec for call party bridged with a BridgeSpec.softdspBridgepec . |
static ConfigSpec |
bridgeGlobalConferenceConfig
ConfigSpec for global play and global record on a softdspBridge. |
static ConfigSpec |
enhancedConfig
A basic ConfigSpec with volume and speed control wrt a CP. |
static ConfigSpec |
enhancedPlayerConferenceConfig
A conference ConfigSpec for Signal Generation and play with Volume/Speed controls. |
static ConfigSpec |
enhancedUserConferenceConfig
A user conference ConfigSpec with volume and speed control wrt a CP. |
static ConfigSpec |
hpASRTTSConfig
|
static ConfigSpec |
hpASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources and HP Speech Detector algorithm wrt a CP. |
static ConfigSpec |
hpECASRTTSConfig
|
static ConfigSpec |
hpECASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources, Echo canceller and HP Speech Detector algorithm wrt a CP. |
static ConfigSpec |
nuanceASRTTSConfig
A ConfigSpec for basic ASR/TTS operations and local speech endpointing (based upon Nuance speech detector algorithm) wrt a CP. |
static ConfigSpec |
nuanceASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources and Nuance Speech Detector algorithm wrt a CP. |
static ConfigSpec |
nuanceECASRTTSConfig
A ConfigSpec for echo cancelled ASR/TTS operations and local speech endpointing (based upon Nuance speech detector algorithm) wrt a CP. |
static ConfigSpec |
nuanceECASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources, Echo canceller and Nuance Speech Detector algorithm wrt a CP. |
static ConfigSpec |
playerConferenceConfig
A ConfigSpec for conference play and Signal Generation operations. |
static ConfigSpec |
recorderConferenceConfig
A ConfigSpec for conference record operations. |
static ConfigSpec |
rtpPlayerConferenceConfig
A ConfigSpec for conference play operations with rtp resources. |
static ConfigSpec |
rtpRecorderConferenceConfig
A ConfigSpec for conference record operations with rtp resources. |
static ConfigSpec |
smsV23Protocol1MasterConfig
A ConfigSpec for SMS operations based on an V23 encoding/decoding wrt a CP. |
static ConfigSpec |
smsV23Protocol1SlaveConfig
as smsV23Protocol1MasterConfig. |
static ConfigSpec |
smsV23Protocol2MasterConfig
as smsV23Protocol1MasterConfig. |
static ConfigSpec |
smsV23Protocol2SlaveConfig
as smsV23Protocol1MasterConfig. |
static ConfigSpec |
smsV23StubbedMasterConfig
as smsV23Protocol1MasterConfig. |
static ConfigSpec |
smsV23StubbedSlaveConfig
as smsV23Protocol1MasterConfig. |
static ConfigSpec |
swiASRTTSConfig
Deprecated. OC MP 2.4C2 |
static ConfigSpec |
swiASRTTSUserConferenceConfig
Deprecated. OC MP 2.4C2 |
static ConfigSpec |
swiECASRTTSConfig
A ConfigSpec for echo cancelled ASR/TTS operations and local speech endpointing (based upon Speech Works International speech detector algorithm) wrt a CP. |
static ConfigSpec |
swiECASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources, Echo canceller and Speech Works International Speech Detector algorithm wrt a CP. |
static ConfigSpec |
telismaASRTTSConfig
Deprecated. OC MP 2.4C2 - Not Supported |
static ConfigSpec |
telismaASRTTSUserConferenceConfig
Deprecated. OC MP 2.4C2 - Not Supported |
static ConfigSpec |
telismaECASRTTSConfig
|
static ConfigSpec |
telismaECASRTTSUserConferenceConfig
A user conference ConfigSpec for individual media operations with rtp resources, Echo canceller and Telisma Speech Detector algorithm wrt a CP. |
static ConfigSpec |
userConferenceConfig
A user conference ConfigSpec for individual media operations wrt a CP. |
| Fields inherited from interface hp.telephony.media.ConfigSpecConstants |
a_AlertingTimeout, a_Arbitration, a_DeallocateOnIdle, a_LocalState, a_RemoteState, a_StopOnDisconnect, v_Alerting, v_Connected, v_FirstTalker, v_InProgress, v_LastTalker, v_MixTalkers |
| Constructor Summary | |
ConfigSpec(ResourceSpec[] specs,
int timeout,
Dictionary attributes,
Dictionary parameters,
RTC[] rtcs)
Constructor with full range of arguments. |
|
| Method Summary | |
Dictionary |
getAttributes()
Gets the Dictionary of attributes from this ConfigSpec. |
static ConfigSpec |
getNuanceConfig(Symbol streamFormat)
Deprecated. |
Dictionary |
getParameters()
Gets the Dictionary of parameters from this ConfigSpec. |
ResourceSpec[] |
getResourceSpecs()
Retrieves the ResourceSpec[] from this ConfigSpec. |
RTC[] |
getRTC()
Gets the persistant RTC[] for this ConfigSpec. |
int |
getTimeout()
Returns the internal timeout value. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ConfigSpec basicConfig
This basic ConfigSpec waits 2 seconds to allocate
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector, and
ResourceSpec.basicSignalGenerator.
public static final ConfigSpec userConferenceConfig
This basic ConfigSpec allocates ResourceSpec.basicSignalDetector with alternatively
[ ResourceSpec.basicConference ] and
[ (alt: ResourceSpec.basicPlayer / ResourceSpec.basicSignalGenerator and ResourceSpec.basicRecorder ]
(see ResourceSpec.altPSGR_Conf )
public static final ConfigSpec playerConferenceConfig
It is used by ConferenceSession.loopConf(hp.telephony.media.ConfigSpec) method
This ConfigSpec allocates alternate ResourceSpec.basicPlayer/ ResourceSpec.basicSignalGenerator
and ResourceSpec.basicConference
public static final ConfigSpec recorderConferenceConfig
It is used by ConferenceSession.loopConf(hp.telephony.media.ConfigSpec) method
This ConfigSpec allocates ResourceSpec.basicRecorder
and ResourceSpec.basicConference
public static final ConfigSpec rtpPlayerConferenceConfig
It is used by ConferenceSession.loopConf(hp.telephony.media.ConfigSpec) method
This ConfigSpec allocates alternate ResourceSpec.basicPlayer / ResourceSpec.rtpPlayer
/ ResourceSpec.basicSignalGenerator and ResourceSpec.basicConference
public static final ConfigSpec rtpRecorderConferenceConfig
It is used by ConferenceSession.loopConf(hp.telephony.media.ConfigSpec) method
This ConfigSpec allocates alternate ResourceSpec.basicRecorder / ResourceSpec.rtpRecorder
and ResourceSpec.basicConference
public static final ConfigSpec bridgeGlobalConferenceConfig
It is used by CCSession#loopBridge method
This ConfigSpec allocates ResourceSpec.basicRecorder and ResourceSpec.basicPlayer
and ResourceSpec.basicConference
public static final ConfigSpec bridgeCPConfigSpec
bridgeCPConfigSpec is a ConfigSpec intended to be used
in the softdspBridgeSpec bridge for the bridge(CallParty, ConfigSpec) method.
It is used by CCSession#bridge method
This ConfigSpec allow to retrieve DTMF while bridged on a softdspBrdige
public static final ConfigSpec basicADPCMConfig
public static final ConfigSpec basicALawConfig
public static final ConfigSpec basicAltFileRTPConfig
basicASRTTSConfigpublic static final ConfigSpec basicASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
The management of the RTSP Session Allocation and Creation mechanism is made through a set of attributes and RTC control. They allow to manage at the Oclet level both session creation policy and session allocation policy:
Below is the list of all the
attributes and their valid values allowing to manage programmatically RTSP
sessions. Note that they all have specific definitions
both in ASRConstants and TTSConstants interfaces for being used in both areas. The parameters are settable only one time a call and before the
first ASR or TTS operation.
a_ASSessionCreation allows to specify for a given
MediaGroup the session creation policy
(See definitions in ASRConstants.a_ASSessionCreation
and TTSConstants.a_ASSessionCreation
interfaces). Available values for this attribute are :
v_OnDemand for 'creating' the session only on demand. The session will
be opened at ASR or TTS operation time. Success of the operation depends on
session availability from the ASR or TTS server (see ASRConstants.v_OnDemand and
TTSConstants.v_OnDemand).v_ASStartTime for getting a session from the pool of sessions opened at
Audio Service platform component start time (OCMP startup). The number
of sessions in the pool is configurable through the OA&M (see ASRConstants.v_ASStartTime and
TTSConstants.v_ASStartTime).a_ASSessionAllocation allows to set the allocation timeframe for the RTSP session.
(see ASRConstants.a_ASSessionAllocation and
TTSConstants.a_ASSessionAllocation). Available values are:
v_Call for getting the session at the beginning of the call and releasing it at call
end (see ASRConstants.v_Call and
TTSConstants.v_Call).v_FromFirstOperation for getting the session at the first ASR or TTS operation of the call and
releasing it at call end (see ASRConstants.v_FromFirstOperation and
TTSConstants.v_FromFirstOperation).v_Operation for getting the session at the beginning of a ASR or TTS operation and
releasing it at operation end (see ASRConstants.v_Operation and
TTSConstants.v_Operation).a_AudioService specifies the
Audio Service from which the session should be reserved (allocated) (see definitions at ASRConstants.a_AudioService and
TTSConstants.a_AudioService). This
attribute is needed and taken into account only when the session allocation
mode is v_Call. Expected value is:rtca_ReleaseCurrentASSession
allows to release very early the session on a Real Time Control. Only usable
when the session allocation mode is among v_Call or v_FromFirstOperation and
only accessible through AsyncMediaGroup . triggerRTC (see
ASRConstants.rtca_ReleaseCurrentASSession and TTSConstants.rtca_ReleaseCurrentASSession).
The following figure provides the sequence of operations on the way the sessions are allocated according to the selected mode:

The following table provides additional guidelines and details on the use of
the 2 main attributes: a_ASSessionCreation and a_ASSessionAllocation:
|
Attribute |
|
|
||
|
Value |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
swiASRTTSConfig,
nuanceASRTTSConfig,
basicECASRTTSConfigpublic static final ConfigSpec basicASRTTSUserConferenceConfig
This basic ConfigSpec allocates ResourceSpec.basicSignalDetector, with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec swiASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.swiSpeechDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
basicASRTTSConfig,
nuanceASRTTSConfigpublic static final ConfigSpec swiASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector and ResourceSpec.swiSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec telismaASRTTSConfig
public static final ConfigSpec hpASRTTSConfig
public static final ConfigSpec telismaASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector and ResourceSpec.telismaSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec hpASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector and ResourceSpec.hpSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec nuanceASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.nuanceSpeechDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
basicASRTTSConfig,
swiASRTTSConfigpublic static final ConfigSpec nuanceASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector and ResourceSpec.nuanceSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator )
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec basicECASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.basicEchoCanceller
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
swiECASRTTSConfig,
nuanceECASRTTSConfig,
basicASRTTSConfigpublic static final ConfigSpec basicECASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector and ResourceSpec.basicEchoCanceller, with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec nuanceECASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.basicEchoCanceller
AND
a ResourceSpec.nuanceSpeechDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
basicECASRTTSConfig,
swiECASRTTSConfig,
nuanceASRTTSConfigpublic static final ConfigSpec nuanceECASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector, ResourceSpec.basicEchoCanceller
and ResourceSpec.nuanceSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec swiECASRTTSConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.basicEchoCanceller
AND
a ResourceSpec.swiSpeechDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
basicECASRTTSConfig,
nuanceECASRTTSConfig,
swiASRTTSConfigpublic static final ConfigSpec swiECASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector, ResourceSpec.basicEchoCanceller and
ResourceSpec.swiSpeechDetector with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec telismaECASRTTSConfig
public static final ConfigSpec hpECASRTTSConfig
public static final ConfigSpec telismaECASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector, ResourceSpec.nuanceSpeechDetector,
ResourceSpec.basicEchoCanceller, with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec hpECASRTTSUserConferenceConfig
This ConfigSpec allocates ResourceSpec.basicSignalDetector, ResourceSpec.nuanceSpeechDetector,
ResourceSpec.basicEchoCanceller, with alternatively
[ResourceSpec.basicConference ] and
[ - alt(ResourceSpec.basicPlayer, ResourceSpec.rtpPlayer, ResourceSpec.basicSignalGenerator)
- alt(ResourceSpec.basicRecorder, ResourceSpec.rtpRecorder) ]
public static final ConfigSpec basicSpeechEnabledConfig
This ConfigSpec allocates :
a ResourceSpec.basicSignalDetector
AND
a ResourceSpec.basicSpeechDetector
AND
an alternate Record ResourceSpec (either ResourceSpec.basicRecorder or ResourceSpec.rtpRecorder)
AND
an alternate Player ResourceSpec (either ResourceSpec.basicPlayer or ResourceSpec.rtpPlayer).
swiASRTTSConfig,
nuanceASRTTSConfigpublic static final ConfigSpec basicToneGenerationConfig
public static final ConfigSpec anyConfig
Informs the server that it should not do any reconfiguration.
ConfigSpec.anyConfig is identified
by (ResourceSpec[] == null).
public static final ConfigSpec basicSpeedConfig
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector, and
ResourceSpec.basicSignalGenerator.
public static final ConfigSpec basicVolumeConfig
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector, and
ResourceSpec.basicSignalGenerator.
public static final ConfigSpec enhancedConfig
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector, and
ResourceSpec.basicSignalGenerator.
public static final ConfigSpec enhancedUserConferenceConfig
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector,
ResourceSpec.basicSignalGenerator
ResourceSpec.basicConference
public static final ConfigSpec enhancedPlayerConferenceConfig
ConferenceSession.loopConf(hp.telephony.media.ConfigSpec) method
This ConfigSpec allocates alternate ResourceSpec.basicPlayer/ ResourceSpec.basicSignalGenerator
and ResourceSpec.basicConference
public static final ConfigSpec smsV23Protocol1MasterConfig
Regarding the protocol 1, the smsV23Protocol1MasterConfig refers to the Collector as the smsV23Protocol1SlaveConfig refers to the Deliverer.
This ConfigSpec allocates :
a ResourceSpec.protocol1MasterSMSPlayerRecorder
public static final ConfigSpec smsV23Protocol2MasterConfig
smsV23Protocol1MasterConfig.
public static final ConfigSpec smsV23StubbedMasterConfig
smsV23Protocol1MasterConfig.
public static final ConfigSpec smsV23Protocol1SlaveConfig
smsV23Protocol1MasterConfig.
public static final ConfigSpec smsV23Protocol2SlaveConfig
smsV23Protocol1MasterConfig.
public static final ConfigSpec smsV23StubbedSlaveConfig
smsV23Protocol1MasterConfig.
public static final ConfigSpec basicFaxConfig
ResourceSpec.basicSignalDetector, and
either a ResourceSpec.basicFax, or the usual
combination of file Player and Recorder, ASR, TTS, and Signal Generator wrt a CP.
public static final ConfigSpec basicEchoSimulatorConfig
This basic ConfigSpec waits 2 seconds to allocate
ResourceSpec.basicEchoSimulator, and
ResourceSpec.basicAltPlayerRecorder,
ResourceSpec.basicSignalDetector, and
ResourceSpec.basicSignalGenerator.
| Constructor Detail |
public ConfigSpec(ResourceSpec[] specs,
int timeout,
Dictionary attributes,
Dictionary parameters,
RTC[] rtcs)
When specs is null, the ConfigSpec specifies
that anyConfig configuration of Resources is acceptable.
If the other arguments are null,
they are treated the same as empty collections.
specs - an array of ResourceSpectimeout - int number of milliseconds to wait for resources.
configure should complete or abort in this time.attributes - Dictionary of binding and selection attributes.parameters - Dictionary of initial configuration parameters.rtcs - Array of persistant RTCs.| Method Detail |
public int getTimeout()
public ResourceSpec[] getResourceSpecs()
public Dictionary getAttributes()
public Dictionary getParameters()
public RTC[] getRTC()
public static final ConfigSpec getNuanceConfig(Symbol streamFormat)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||