Interface IInstantMessagingMedia
- All Superinterfaces:
IDisposable, IEntity, IInteractionMedia
Represents an instant messaging media.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters the InstantMessagingErrorListener.voidRegisters the InstantMessagingListener.voidRegisters the InstantMessagingMessageListener.voidRegisters the InstantMessagingProgressListener.voidblindTransfer(String agentName, String campaignName, String dnis, String remoteUrl, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) Makes a blind transfer.voidclear(boolean synchronous) Clears the interaction.voidconference(boolean synchronous) Initiates a conference.voiddequeue(DequeueRequestReason reason, boolean synchronous) Dequeues the interaction.voiddisconnect(boolean synchronous) Disconnects the interaction.voiddivert(String campaignName, String dnis, String remoteUrl, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) Diverts the interaction.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 the interaction.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 the interaction.voidextend(String agentName, String campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) Extends the interaction.Data used to open a web chat control for agent to handle Instant Messaging interactions.Allowed operations.byte[]Blind data.getData()Data of the instant messaging interaction.getDnis()Number dialed by the customer.ANI of the remote party talking to the agent.User name of the remote agent.The interaction key.booleanTrue if the interaction is enqueued.booleanTrue if the interaction is being recorded.URL of the HTTP server of the instant messaging gateway.Primary interaction parties.Gets the queue status of the instant messaging interaction.Secondary interaction parties.getState()State of the instant messaging interaction.voidUnregisters the InstantMessagingErrorListener.voidUnregisters the InstantMessagingListener.voidUnregisters the InstantMessagingMessageListener.voidUnregisters the InstantMessagingProgressListener.voidRequests to resume the enqueue.voidretrieve(boolean synchronous) Retrieves the interaction.voidsendMessage(String message, InteractionLevel interactionLevel, boolean synchronous) Sends a message in the interaction.voidRequests to suspend the enqueue.voidtransfer(boolean synchronous) Transfers the interaction.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
-
addInstantMessagingErrorListener
Registers the InstantMessagingErrorListener.- Parameters:
listener- Event listener to add.
-
removeInstantMessagingErrorListener
Unregisters the InstantMessagingErrorListener.- Parameters:
listener- Event listener to remove.
-
addInstantMessagingListener
Registers the InstantMessagingListener.- Parameters:
listener- Event listener to add.
-
removeInstantMessagingListener
Unregisters the InstantMessagingListener.- Parameters:
listener- Event listener to remove.
-
addInstantMessagingMessageListener
Registers the InstantMessagingMessageListener.- Parameters:
listener- Event listener to add.
-
removeInstantMessagingMessageListener
Unregisters the InstantMessagingMessageListener.- Parameters:
listener- Event listener to remove.
-
addInstantMessagingProgressListener
Registers the InstantMessagingProgressListener.- Parameters:
listener- Event listener to add.
-
removeInstantMessagingProgressListener
Unregisters the InstantMessagingProgressListener.- Parameters:
listener- Event listener to remove.
-
blindTransfer
void blindTransfer(String agentName, String campaignName, String dnis, String remoteUrl, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Makes a blind transfer.- Parameters:
agentName- Name of the agent.campaignName- Name of the campaign.dnis- Target DNIS of the campaign.remoteUrl- Address of the Instant Messaging gateway. This parameter must be specified to divert to another gateway.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to transfer with the interaction.blindData- Blind data.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
clear
-
conference
-
dequeue
void dequeue(DequeueRequestReason reason, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Dequeues the interaction.- Parameters:
reason- Reason to request the dequeue.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
disconnect
-
divert
void divert(String campaignName, String dnis, String remoteUrl, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Diverts the interaction.- Parameters:
campaignName- Name of the target campaign. This parameter is required only if the parameterattributesis specified.dnis- Target DNIS of the campaign. This parameter is mandatory.remoteUrl- Address of the Instant Messaging gateway. This parameter must be specified to divert to another gateway.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to send with the diverted interaction.blindData- Blind data.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
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 the interaction.- Parameters:
agentName- Name of the agent.campaignName- Name of the campaign.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to enqueue with the interaction.blindData- Blind data.priority- Relative priority.handicap- Handicap.skillProfileName- Name of the skill profile.skills- Optional agent skills required to handle the interaction. 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 the interaction.- Parameters:
agentNames- Names of the agents.campaignName- Name of the campaign.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to enqueue with the interaction.blindData- Blind data.priority- Relative priority.handicap- Handicap.skillProfileName- Name of the skill profile.skills- Optional agent skills required to handle the interaction. 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 campaignName, int directoryId, int contactProfileId, Attribute[] attributes, byte[] blindData, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Extends the interaction.- Parameters:
agentName- Name of the agent.campaignName- Name of the campaign.directoryId- Identifier of the directory.contactProfileId- Identifier of the contact profile.attributes- Attributes to send with the extended interaction.blindData- Blind data.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAgentWebChatData
AgentWebChatData getAgentWebChatData() throws Exception, altitude.integrationServer.exceptions.ISExceptionData used to open a web chat control for agent to handle Instant Messaging interactions.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getAllowedOperations
InstantMessagingMediaCanDo getAllowedOperations() throws Exception, altitude.integrationServer.exceptions.ISExceptionAllowed operations.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getBlindData
-
getData
InstantMessagingInteractionData getData() throws Exception, altitude.integrationServer.exceptions.ISExceptionData of the instant messaging interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getDnis
-
getFromAddress
-
getFromAgent
-
getInteractionKey
-
getIsEnqueued
-
getIsRecording
-
getJoinUrl
-
getPrimaryParties
InteractionParties getPrimaryParties() throws Exception, altitude.integrationServer.exceptions.ISExceptionPrimary interaction parties.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getQueueStatus
Gets the queue status of the instant messaging interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getSecondaryParties
InteractionParties getSecondaryParties() throws Exception, altitude.integrationServer.exceptions.ISExceptionSecondary interaction parties.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
getState
InstantMessagingInteractionState getState() throws Exception, altitude.integrationServer.exceptions.ISExceptionState of the instant messaging interaction.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
resumeEnqueue
-
retrieve
-
sendMessage
void sendMessage(String message, InteractionLevel interactionLevel, boolean synchronous) throws Exception, altitude.integrationServer.exceptions.ISException Sends a message in the interaction.- Parameters:
message- The message to send.interactionLevel- Interaction level.synchronous- If true, the method is synchronous.- Throws:
Exceptionaltitude.integrationServer.exceptions.ISException
-
suspendEnqueue
-
transfer
-