Agent Greeting
The basic Agent Greeting use cases assume a common setup.
In the real-world scenario, an external customer calls a number and is routed through an IVR until the call is eventually offered to an agent.
IP Phones:
-
Customer (1000)
-
Agents (2000, 2001, 2002)
-
IVRs (5000, 5001)
Scenario One
Agent Greeting Start Success
Action |
Events |
Call information / Notes |
||
---|---|---|---|---|
1. Customer dials the agent. |
GC1 - CallActiveEvent GC1 - ConnCreatedEvent (1000) GC1 - ConnConnectedEvent (1000) GC1 - CallCtlConnInitiatedEv (1000) GC1 - TermConnCreatedEvent (Term of 1000) GC1 - TermConnActiveEvent (Term of 1000) GC1 - CallCtlTermConnTalkingEv (Term of 1000) GC1 - CallCtlConnDialingEv (1000) GC1 - CallCtlConnEstablishedEv (1000) GC1 - ConnCreatedEvent (2000) GC1 - ConnInprogressEvent (2000) GC1 - CallCtlConnOfferedEv (2000) GC1 - ConnAlertingEvent (2000) GC1 - CallCtlConnAlertingEv (2000) GC1 - TermConnCreatedEvent (Term of 2000) GC1 - TermConnRingingEvent (Term of 2000) GC1 - CallCtlTermConnRingingEv (Term of 2000) GC1 - ConnConnectedEvent (2000) GC1 - CallCtlConnEstablishedEv (2000) GC1 - TermConnActiveEvent (Term of 2000) GC1 - CallCtlTermConnTalkingEv (Term of 2000) |
This is a basic call. Calling = 1000 (Customer) Called = 2000 (Agent) |
||
2. Application gets the TerminalConnection for 2000 on GC1 and invokes addMediaStream( "5000", "2000" ) |
GC2 - CallActiveEvent GC2 - ConnCreatedEvent (5000) GC2 - ConnInprogressEvent (5000) GC2 - CallCtlConnOfferedEv (5000) GC2 - ConnAlertingEvent (5000) GC2 - CallCtlConnAlertingEv (5000) GC2 - TermConnCreatedEvent (Term of 5000) GC2 - TermConnRingingEvent (Term of 5000) GC2 - CallCtlTermConnRingingEv (Term of 5000) GC2 - ConnConnectedEvent (5000) GC2 - CallCtlConnEstablishedEv (5000) GC2 - TermConnActiveEvent (Term of 5000) GC2 - CallCtlTermConnTalkingEv (Term of 5000) GC1 - CiscoMediaStreamStartedEv (2000) |
This is a server call. Calling = 2000 (Agent) Called = 5000 (IVR) The Calling Party number is as specified in the addMediaStream() method ("2000" in this case), and is available immediately from the CallActiveEvent.
Agent Greeting is complete. |
||
3. Application disconnects IVR, or tester manually hangs up the IVR device. |
GC2 - CallCtlTermConnDroppedEv (Term of 5000) GC2 - ConnDisconnectedEvent (5000) GC2 - CallCtlConnDisconnectedEv (5000) GC2 - CallInvalidEvent (5000) GC2 - CallObservationEndedEv GC1 - CiscoMediaStreamEndedEv (2000) |
BIB call is cleaned up. Ev.isSuccessful() = true. The call continues as normal. |
||
4. Agent finishes the conversation and ends the call |
GC1 - TermConnDroppedEv (Term of 2000) GC1 - CallCtlTermConnDroppedEv (Term of 2000) GC1 - ConnDisconnectedEvent (2000) GC1 - CallCtlConnDisconnectedEv (2000) GC1 - TermConnDroppedEv (Term of 1000) GC1 - CallCtlTermConnDroppedEv (Term of 1000) GC1 - ConnDisconnectedEvent (1000) GC1 - CallCtlConnDisconnectedEv (1000) GC1 - CallInvalidEvent GC1 - CallObservationEndedEv |
Primary call is cleaned up. |
Scenario Two
Agent Greeting Stop Success
Agent |
Events |
Call information / Notes |
---|---|---|
1. Customer calls the agent and the agent answers. Application invokes addMediaStream(). |
GC1 - CiscoMediaStreamStartedEv (2000) |
Ev.getIVRCall() = Call for CG2. |
2. While the greeting is played, the application invokes removeMediaStream(). |
GC2 - CallCtlTermConnDroppedEv (Term of 5000) GC2 - ConnDisconnectedEvent (5000) GC2 - CallCtlConnDisconnectedEv (5000) GC2 - CallInvalidEvent (5000) GC2 - CallObservationEndedEv GC1 - CiscoMediaStreamEndedEv (2000) |
The Agent Greeting is cut short. The BIB call is cleaned up. Ev.isSuccessful() = true. The call continues as normal. |
3. The agent finishes the conversation and ends the call. |
GC1 - TermConnDroppedEv (Term of 2000) GC1 - CallCtlTermConnDroppedEv (Term of 2000) GC1 - ConnDisconnectedEvent (2000) GC1 - CallCtlConnDisconnectedEv (2000) GC1 - TermConnDroppedEv (Term of 1000) GC1 - CallCtlTermConnDroppedEv (Term of 1000) GC1 - ConnDisconnectedEvent (1000) GC1 - CallCtlConnDisconnectedEv (1000) GC1 - CallInvalidEvent GC1 - CallObservationEndedEv |
The primary call is cleaned up. |
Scenario Three
Agent Greeting Start Failure: Resource Unavailable
Agent |
Event |
Call information / Notes |
---|---|---|
1. Customer dials the Agent |
GC1 - CallActiveEvent GC1 - ConnCreatedEvent (1000) GC1 - ConnConnectedEvent (1000) GC1 - CallCtlConnInitiatedEv (1000) GC1 - TermConnCreatedEvent (Term of 1000) GC1 - TermConnActiveEvent (Term of 1000) GC1 - CallCtlTermConnTalkingEv (Term of 1000) GC1 - CallCtlConnDialingEv (1000) GC1 - CallCtlConnEstablishedEv (1000) GC1 - ConnCreatedEvent (2000) GC1 - ConnInprogressEvent (2000) GC1 - CallCtlConnOfferedEv (2000) GC1 - ConnAlertingEvent (2000) GC1 - CallCtlConnAlertingEv (2000) GC1 - TermConnCreatedEvent (Term of 2000) GC1 - TermConnRingingEvent (Term of 2000) GC1 - CallCtlTermConnRingingEv (Term of 2000) GC1 - ConnConnectedEvent (2000) GC1 - CallCtlConnEstablishedEv (2000) GC1 - TermConnActiveEvent (Term of 2000) GC1 - CallCtlTermConnTalkingEv (Term of 2000) |
This is a basic call Calling = 1000 (Customer) Called = 2000 (Agent) |
2. The application gets the TerminalConnection for 2000 on GC1and invokes addMediaStream( "5000", "2000" ). |
No BIB call is created. JTAPI throws a ResourceUnavailableException with text as "Unable to allocate built in bridge resource". The call continues as normal. |
|
3. The agent finishes the conversation and ends the call. |
GC1 - TermConnDroppedEv (Term of 2000) GC1 - CallCtlTermConnDroppedEv (Term of 2000) GC1 - ConnDisconnectedEvent (2000) |
The primary call is cleaned up. |