Interface IPhoneMedia
- All Superinterfaces:
IDisposable, IEntity, IInteractionMedia
Represents a phone media.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters the DigitsCollectedListener.voidRegisters the MessagePlayedAndDigitsCollectedListener.voidaddPhoneErrorListener(PhoneErrorListener listener) Registers the PhoneErrorListener.voidRegisters the PhoneGenericDataReceivedListener.voidaddPhoneListener(PhoneListener listener) Registers the PhoneListener.voidRegisters the PhoneMonitoredListener.voidRegisters the PhoneOperationStoppedListener.voidRegisters the PhoneProgressListener.voidanswerSupervisionRequest(SupervisionMode supervisionMode) Answer the supervise requestvoidblindTransfer(String agentName, String number, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, BlindTransferMode blindTransferMode, boolean synchronous) Performs a phone and data blind transfer between agents.voidCancel supervision request.voidclear(boolean synchronous) Clears the call profile.voidRequests to clear DTMF digits.voidcollectDigits(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) Requests to collect DTMF digits and returns the digits through the eventDigitsCollectedEvent.voidcollectDigits(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) Requests to collect DTMF digits and returns the digits through the eventDigitsCollectedEvent.collectDigitsSynchronous(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) Requests to collect DTMF digits and returns the digits immediately.collectDigitsSynchronous(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) Requests to collect DTMF digits and returns the digits immediately.voidconference(boolean synchronous) Performs a conference call between users.voiddequeue(DequeueRequestReason reason, boolean synchronous) Dequeues calls from the queue of the instance.voiddivert(String agentName, String extension, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, boolean synchronous) Diverts a call to another agent.voiddivert(String agentName, String extension, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, DivertType divertType, boolean synchronous) Diverts a call to another agent.voidendReservation(boolean synchronous) Ends the reservation.voidenqueue(String[] agentNames, String campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, int priority, int handicap, String skillProfileName, SkillInProfile[] skills, boolean onlyIfAgentAvailable, Duration maxExpectedWaitingTime, boolean synchronous) Enqueues calls in the queue of the instance.voidenqueue(String agentName, String campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, int priority, int handicap, String skillProfileName, SkillInProfile[] skills, boolean onlyIfAgentAvailable, boolean synchronous) Enqueues calls in the queue of the instance.voidextend(String agentName, String number, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, ExtendPurpose purpose, boolean synchronous) Performs a phone and data extend operation.getAcd()The ACD.Gets the allowed voice interaction operations.byte[]The blind data.getData()EnumeratedPhoneInteractionDatawith the data of the phone interaction.The dialed number.getDnis()The DNIS.The interaction key.booleanTrue if the interaction is enqueued.booleanTrue if the interaction is new pending.booleanTrue if the interaction is being recorded.booleanTrue if the interaction is suspended.The Number of the phone.Returns the display name of the device related withIPhoneMedia.Number, configured in the PBX.Primary interaction parties.Gets the information of the interaction in the queue.Secondary interaction parties.getState()EnumeratedPhoneInteractionStatewith the phone state for the session.Type of supervised transfer.getTrunk()The trunk.getUcid()Avaya UCID.voidhangUp(boolean synchronous) Hangs up a phone call.voidhangUp(HangUpAction hangUpAction, boolean synchronous) Hangs up a phone call.voidhold(boolean synchronous) Puts a phone call on hold.voidmonitor(String monitorDeviceNumber, String campaignName, boolean differentInstance, Attribute[] attributes, boolean fullParticipation, boolean synchronous) Requests to monitor a phone operation (single step conference).voidplayMessage(String message, boolean stopIfDtmfDetected, MediaEncodingType encoding, MediaSampleRate sampleRate, MediaFileFormat fileFormat, boolean synchronous) Plays a message.voidplayMessageAndCollectDigits(String message, boolean stopIfDtmfDetected, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) Plays a message and collect digits.voidplayMessageAndCollectDigits(String message, boolean stopIfDtmfDetected, int languageId, boolean playInLoop, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) Plays a message and collect digits.playMessageAndCollectDigitsSynchronous(String message, boolean stopIfDtmfDetected, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) Plays a message and collect digits.playMessageAndCollectDigitsSynchronous(String message, boolean stopIfDtmfDetected, int languageId, boolean playInLoop, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) Plays a message and collect digits.voidPlay music.voidrecordMessage(String repository, boolean playBeep, int maximumFileSize, int initialSilenceTimeout, int silenceTimeout, int durationTimeout, int maximumNumberOfDigits, String stopCharactersList, MediaEncodingType encoding, MediaSampleRate sampleRate, MediaFileFormat fileFormat, boolean synchronous) Records a message.voidRefuse the supervise help.voidUnregisters the DigitsCollectedListener.voidUnregisters the MessagePlayedAndDigitsCollectedListener.voidremovePhoneErrorListener(PhoneErrorListener listener) Unregisters the PhoneErrorListener.voidUnregisters the PhoneGenericDataReceivedListener.voidremovePhoneListener(PhoneListener listener) Unregisters the PhoneListener.voidUnregisters the PhoneMonitoredListener.voidUnregisters the PhoneOperationStoppedListener.voidUnregisters the PhoneProgressListener.voidRequest supervision.voidRequests to resume the enqueue.voidretrieve(boolean synchronous) Retrieves a phone call.voidsendDigits(String digits) Sends a sequence of digits.voidsendGenericData(GenericDataType genericDataType, byte[] data) Requests for a generic service.voidstartRecording(boolean synchronous, boolean withScreenCapture) Records the phone call.voidStop media operation.voidstopRecording(boolean synchronous) Stops recording the phone call.voidRequests to suspend the enqueue.voidtransfer(boolean synchronous) Performs a phone transfer between agents.Methods inherited from interface IDisposable
addDisposedListener, removeDisposedListenerMethods inherited from interface IEntity
getUserContext, setUserContextMethods inherited from interface IInteractionMedia
answer, getInteractionId, getMediaId, getMediaType, getSession, getStartTime
-
Method Details
-
addDigitsCollectedListener
Registers the DigitsCollectedListener.- Parameters:
listener- Event listener to add.
-
removeDigitsCollectedListener
Unregisters the DigitsCollectedListener.- Parameters:
listener- Event listener to remove.
-
addMessagePlayedAndDigitsCollectedListener
Registers the MessagePlayedAndDigitsCollectedListener.- Parameters:
listener- Event listener to add.
-
removeMessagePlayedAndDigitsCollectedListener
void removeMessagePlayedAndDigitsCollectedListener(MessagePlayedAndDigitsCollectedListener listener) Unregisters the MessagePlayedAndDigitsCollectedListener.- Parameters:
listener- Event listener to remove.
-
addPhoneErrorListener
Registers the PhoneErrorListener.- Parameters:
listener- Event listener to add.
-
removePhoneErrorListener
Unregisters the PhoneErrorListener.- Parameters:
listener- Event listener to remove.
-
addPhoneListener
Registers the PhoneListener.- Parameters:
listener- Event listener to add.
-
removePhoneListener
Unregisters the PhoneListener.- Parameters:
listener- Event listener to remove.
-
addPhoneGenericDataReceivedListener
Registers the PhoneGenericDataReceivedListener.- Parameters:
listener- Event listener to add.
-
removePhoneGenericDataReceivedListener
Unregisters the PhoneGenericDataReceivedListener.- Parameters:
listener- Event listener to remove.
-
addPhoneMonitoredListener
Registers the PhoneMonitoredListener.- Parameters:
listener- Event listener to add.
-
removePhoneMonitoredListener
Unregisters the PhoneMonitoredListener.- Parameters:
listener- Event listener to remove.
-
addPhoneOperationStoppedListener
Registers the PhoneOperationStoppedListener.- Parameters:
listener- Event listener to add.
-
removePhoneOperationStoppedListener
Unregisters the PhoneOperationStoppedListener.- Parameters:
listener- Event listener to remove.
-
addPhoneProgressListener
Registers the PhoneProgressListener.- Parameters:
listener- Event listener to add.
-
removePhoneProgressListener
Unregisters the PhoneProgressListener.- Parameters:
listener- Event listener to remove.
-
answerSupervisionRequest
void answerSupervisionRequest(SupervisionMode supervisionMode) throws Exception, altitude.integrationServer.exceptions.ISException Answer the supervise request- Parameters:
supervisionMode- Mode of supervison request.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
blindTransfer
void blindTransfer(String agentName, String number, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, BlindTransferMode blindTransferMode, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Performs a phone and data blind transfer between agents.- Parameters:
agentName- Identifier of the agent that receives the call. The value can be NULL.number- Number to where the call is transferred. The value can be NULL.campaignName- Name of the destination campaign. The value can be NULL.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.differentInstance- If true, the transference has a different instance as destination.attributes- Attributes transferred with the phone call. The value can be NULL.blindData- Data stream transferred with the phone call. The value can be NULL.blindTransferMode- Mode of the blind transfer.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
cancelSupervisionRequest
-
clear
-
clearDigits
-
collectDigits
void collectDigits(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Requests to collect DTMF digits and returns the digits through the eventDigitsCollectedEvent.- Parameters:
maximumNumberOfDigits- Maximum number of digits to collect.stopCharactersList- List with the characters that stop the operation.durationTimeout- Duration of the collect operation.digitTimeout- Digit input timeout.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
collectDigits
void collectDigits(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Requests to collect DTMF digits and returns the digits through the eventDigitsCollectedEvent.- Parameters:
maximumNumberOfDigits- Maximum number of digits to collect.stopCharactersList- List with the characters that stop the operation.durationTimeout- Duration of the collect operation.startTimeout- Start timeout.digitTimeout- Digit input timeout.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
collectDigitsSynchronous
CollectDigitsResult collectDigitsSynchronous(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Requests to collect DTMF digits and returns the digits immediately.- Parameters:
maximumNumberOfDigits- Maximum number of digits to collect.stopCharactersList- List with the characters that stop the operation.durationTimeout- Duration of the collect operation.digitTimeout- Digit input timeout.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
collectDigitsSynchronous
CollectDigitsResult collectDigitsSynchronous(int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Requests to collect DTMF digits and returns the digits immediately.- Parameters:
maximumNumberOfDigits- Maximum number of digits to collect.stopCharactersList- List with the characters that stop the operation.durationTimeout- Duration of the collect operation.startTimeout- Start timeout.digitTimeout- Digit input timeout.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
conference
-
dequeue
void dequeue(DequeueRequestReason reason, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Dequeues calls from the queue of the instance.- Parameters:
reason-DequeueRequestReasonwith the reason to dequeue the call.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
divert
void divert(String agentName, String extension, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Diverts a call to another agent.- Parameters:
agentName- Identifier of the agent that diverts the call. The value can be Null.extension- Extension where to divert the call. The value can be NULL.campaignName- Name of the destination campaign. The value can be NULL.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.differentInstance- If true, the transference has a different instance as destination.attributes- Attributes to send with the phone call. The value can be NULL.blindData- Data stream transferred with the phone call. The value can be NULL.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
divert
void divert(String agentName, String extension, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, DivertType divertType, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Diverts a call to another agent.- Parameters:
agentName- Identifier of the agent that diverts the call. The value can be Null.extension- Extension where to divert the call. The value can be NULL.campaignName- Name of the destination campaign. The value can be NULL.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.differentInstance- If true, the transference has a different instance as destination.attributes- Attributes to send with the phone call. The value can be NULL.blindData- Data stream transferred with the phone call. The value can be NULL.divertType- Type of the divert.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
endReservation
-
enqueue
void enqueue(String agentName, String campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, int priority, int handicap, String skillProfileName, SkillInProfile[] skills, boolean onlyIfAgentAvailable, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Enqueues calls in the queue of the instance.- Parameters:
agentName- Identifier of the agent that receives the call. The value can be NULL.campaignName- Mandatory. Name of the campaign that receives the call.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to send with the phone call. The value can be NULL.blindData- External data to send with the call.priority- Relative priority associated with the enqueued call.handicap- Handicap associated with the enqueued call.skillProfileName- The skill profile name used by the server in skills-based phone routing. The value can be NULL.skills- Optional agent skills required to handle the call, used by the server in skills-based phone routing. This parameter will be ignored if theskillProfileNameis specified.onlyIfAgentAvailable- If true, only enqueue the call if an agent is available.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
enqueue
void enqueue(String[] agentNames, String campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, int priority, int handicap, String skillProfileName, SkillInProfile[] skills, boolean onlyIfAgentAvailable, Duration maxExpectedWaitingTime, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Enqueues calls in the queue of the instance.- Parameters:
agentNames- Identifiers of the agents that receives the calls. The value can be NULL.campaignName- Mandatory. Name of the campaign that receives the call.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to send with the phone call. The value can be NULL.blindData- External data to send with the call.priority- Relative priority associated with the enqueued call.handicap- Handicap associated with the enqueued call.skillProfileName- The skill profile name used by the server in skills-based phone routing. The value can be NULL.skills- Optional agent skills required to handle the call, used by the server in skills-based phone routing. This parameter will be ignored if theskillProfileNameis specified.onlyIfAgentAvailable- If true, only enqueue the call if an agent is available.maxExpectedWaitingTime- Maximum expected waiting time.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
extend
void extend(String agentName, String number, String campaignName, int directoryId, int contactProfileId, boolean differentInstance, Attribute[] attributes, byte[] blindData, ExtendPurpose purpose, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Performs a phone and data extend operation.- Parameters:
agentName- Identifier of the agent that receives the call. The value can be NULL.number- Number of the destination agent. The value can be NULL.campaignName- Campaign to send the campaign script of the call. The value can be NULL.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.differentInstance- If true, the operationextendhas a different instance as destination.attributes- Attributes to transfer with the phone call. The value can be NULL.blindData- Data stream transferred with the phone call. The value can be NULL.purpose- Purpose of the operation extend. Required by some switches.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAcd
-
getAllowedOperations
PhoneMediaCanDo getAllowedOperations() throws Exception, altitude.integrationServer.exceptions.ISExceptionGets the allowed voice interaction operations.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getBlindData
-
getData
EnumeratedPhoneInteractionDatawith the data of the phone interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDialedNumber
-
getDnis
-
getInteractionKey
-
getIsEnqueued
-
getIsNewPending
-
getIsRecording
-
getIsSuspended
-
getNumber
-
getPbxDisplayName
Returns the display name of the device related withIPhoneMedia.Number, configured in the PBX. Currently this property only applies to OXE PBX types. Returns null on all other PBX types, or if the display name is not configured.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getPrimaryParties
InteractionParties getPrimaryParties() throws Exception, altitude.integrationServer.exceptions.ISExceptionPrimary interaction parties.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getQueueStatus
Gets the information of the interaction in the queue.- Returns:
QueueStatuswith the requested information.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSecondaryParties
InteractionParties getSecondaryParties() throws Exception, altitude.integrationServer.exceptions.ISExceptionSecondary interaction parties.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getState
PhoneInteractionState getState() throws Exception, altitude.integrationServer.exceptions.ISExceptionEnumeratedPhoneInteractionStatewith the phone state for the session.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSupervisedTransferType
SupervisedTransferType getSupervisedTransferType() throws Exception, altitude.integrationServer.exceptions.ISExceptionType of supervised transfer.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getTrunk
-
getUcid
-
hangUp
-
hangUp
void hangUp(HangUpAction hangUpAction, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Hangs up a phone call.- Parameters:
hangUpAction- Action to take on hang up.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
hold
-
monitor
void monitor(String monitorDeviceNumber, String campaignName, boolean differentInstance, Attribute[] attributes, boolean fullParticipation, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Requests to monitor a phone operation (single step conference).- Parameters:
monitorDeviceNumber- The agent (ivr) destination number.campaignName- Used to force the destination campaign.differentInstance- If true, the target campaign is remote.attributes- Attributes to send with the phone call. The value can be NULL.fullParticipation- If true, the operation will be visible to everyone and the new agent can listen/talk. If false, the joining agent will only be able to listen and will be invisible to the other agent.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMessage
void playMessage(String message, boolean stopIfDtmfDetected, MediaEncodingType encoding, MediaSampleRate sampleRate, MediaFileFormat fileFormat, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Plays a message.- Parameters:
message- Path of the file with the message to play.stopIfDtmfDetected- Stop if a dual-tone multi-frequency is detected.encoding- The encoding type of the message.sampleRate- The sample rate of the message.fileFormat- The format of the message.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMessageAndCollectDigits
void playMessageAndCollectDigits(String message, boolean stopIfDtmfDetected, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Plays a message and collect digits.- Parameters:
message- Path of the message to play.stopIfDtmfDetected- If true the operation ends when a DTMF is detected.startCollectingImmediately- If true the digits are started to be collected when the message is played.maximumNumberOfDigits- The maximum number of digits collected.stopCharactersList- The list of the characters that end the operation.durationTimeout- The maximum number of milliseconds of the operation.digitTimeout- The maximum number of milliseconds to wait for a digit.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMessageAndCollectDigits
void playMessageAndCollectDigits(String message, boolean stopIfDtmfDetected, int languageId, boolean playInLoop, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Plays a message and collect digits.- Parameters:
message- Path of the message to play.stopIfDtmfDetected- If true the operation ends when a DTMF is detected.languageId- Identifier of the language.playInLoop- If true the message plays in loop.startCollectingImmediately- If true the digits are started to be collected when the message is played.maximumNumberOfDigits- The maximum number of digits collected.stopCharactersList- The list of the characters that end the operation.durationTimeout- The maximum number of milliseconds of the operation.startTimeout- The maximum number of milliseconds to start the operation.digitTimeout- The maximum number of milliseconds to wait for a digit.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMessageAndCollectDigitsSynchronous
CollectDigitsResult playMessageAndCollectDigitsSynchronous(String message, boolean stopIfDtmfDetected, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Plays a message and collect digits.- Parameters:
message- Path of the message to play.stopIfDtmfDetected- If true the operation ends if a DTMF is detected.startCollectingImmediately- If true the digits are started to be collected when the message is played.maximumNumberOfDigits- The maximum number of digits collected.stopCharactersList- The list of the characters that end the operation.durationTimeout- The maximum number of milliseconds of the operation.digitTimeout- The maximum number of milliseconds to wait for a digit.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMessageAndCollectDigitsSynchronous
CollectDigitsResult playMessageAndCollectDigitsSynchronous(String message, boolean stopIfDtmfDetected, int languageId, boolean playInLoop, boolean startCollectingImmediately, int maximumNumberOfDigits, String stopCharactersList, int durationTimeout, int startTimeout, int digitTimeout) throws Exception, altitude.integrationServer.exceptions.ISException Plays a message and collect digits.- Parameters:
message- Path of the message to play.stopIfDtmfDetected- If true the operation ends if a DTMF is detected.languageId- Identifier of the language.playInLoop- If true the message plays in loop.startCollectingImmediately- If true the digits are started to be collected when the message is played.maximumNumberOfDigits- The maximum number of digits collected.stopCharactersList- The list of the characters that end the operation.durationTimeout- The maximum number of milliseconds of the operation.startTimeout- The maximum number of milliseconds to start the operation.digitTimeout- The maximum number of milliseconds to wait for a digit.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
playMusic
-
recordMessage
void recordMessage(String repository, boolean playBeep, int maximumFileSize, int initialSilenceTimeout, int silenceTimeout, int durationTimeout, int maximumNumberOfDigits, String stopCharactersList, MediaEncodingType encoding, MediaSampleRate sampleRate, MediaFileFormat fileFormat, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Records a message.- Parameters:
repository- Path of the location to store the message file.playBeep- If true a beep is played when record starts.maximumFileSize- The maximum number of bytes to record.initialSilenceTimeout- The maximum milliseconds of silence allowed at the beginning of record.silenceTimeout- The number of milliseconds of silence that ends the operation.durationTimeout- The maximum number of milliseconds of the message.maximumNumberOfDigits- The maximum number of digits collected to end the operation.stopCharactersList- The list of the characters that end the operation.encoding- The encoding of the message file.sampleRate- The sample rate to record.fileFormat- The format of the message file.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
refuseSupervisionRequest
-
requestSupervision
-
resumeEnqueue
-
retrieve
-
sendDigits
-
sendGenericData
void sendGenericData(GenericDataType genericDataType, byte[] data) throws Exception, altitude.integrationServer.exceptions.ISException Requests for a generic service.- Parameters:
genericDataType- Generic service type.data- Data stream sent with the call not valid for the instance. The value can be NULL.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
startRecording
void startRecording(boolean synchronous, boolean withScreenCapture) throws Exception, altitude.integrationServer.exceptions.ISException Records the phone call.- Parameters:
synchronous- If true, the method is synchronous.withScreenCapture- If true, records the screen of the agent.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
stopMediaOperation
-
stopRecording
-
suspendEnqueue
-
transfer
-