|
|
|
# E:502
|
|
|
|
## AgentSessionRemoveInteraction
|
|
|
|
### Opis
|
|
|
|
Zdarzenie generowane w momencie odpięcia interakcji od agenta
|
|
|
|
|
|
|
|
### Nagłówki
|
|
|
|
|
|
|
|
| Nagłówek | Typ | Wartość / Zakres| Opis |
|
|
|
|
| -------- | -------- | -------- | -------- |
|
|
|
|
| e | int | 502| identyfikator eventu |
|
|
|
|
| en | string | AgentSessionRemoveInteraction| nazwa klasy eventu |
|
|
|
|
| AgentSessionRemoveInteraction| boolean | true | flaga eventu |
|
|
|
|
| a | int | \d+ | identyfikator agenta w systemie Cludo |
|
|
|
|
| an | string | .+ | login agenta w systemie Cludo |
|
|
|
|
| afn | string | .+ | pełna nazwa agenta w systemie Cludo |
|
|
|
|
| ts | int | \d+ | timestamp zdarzenia w systemie Cludo (unix epoch) |
|
|
|
|
| i | string | [a-z0-0]{16} | identyfikator instancji, dla której wystąpiło zdarzenie |
|
|
|
|
|
|
|
|
### Treść encodowana JSON
|
|
|
|
```javascript
|
|
|
|
{
|
|
|
|
"s":"Wrapup", // status sesji agenta
|
|
|
|
"as":4350, // id sesji agenta
|
|
|
|
"remReason":"OK" // powód odpięcia interakcji
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Powody dodania lub odpięcia interakcji
|
|
|
|
|
|
|
|
| Powód | ID | Opis |
|
|
|
|
| ---- | ---- | ---- |
|
|
|
|
| Offering | 5200 |Used with the AddInteraction event. Inbound interaction (call or email). |
|
|
|
|
| Inviting |5201 |Used with the AddInteraction event. Outbound interaction (call or email). |
|
|
|
|
| LocalError |5204 |Used with the RemoveInteraction event. Call outcome reason: LocalError. |
|
|
|
|
| InvalidDestination |5205 |Used with the RemoveInteraction event. Call outcome reason: InvalidDestination. |
|
|
|
|
| NoAnswer |5206 |Used with the RemoveInteraction event. Call outcome reason: NoAnswer. Or email accept timeout. |
|
|
|
|
| Busy |5207 |Used with the RemoveInteraction event. Call outcome reason: Busy. Or email rejected by agent. |
|
|
|
|
| Other |5208 |Used with the RemoveInteraction event. Call outcome reason: Other. |
|
|
|
|
| WrongDestination |5209 |Used with the RemoveInteraction event. Call outcome reason: WrongDestination. |
|
|
|
|
| OK |5210 |Used with the RemoveInteraction event. Call outcome reason: Connected. |
|
|
|
|
| Reject |5211 |Used with the RemoveInteraction event. Call outcome reason: Reject. |
|
|
|
|
| NewEmail |5212 |Used with the AddInteraction event. New email. |
|
|
|
|
| Reply |5213 |Used with the AddInteraction event. Reply to email. |
|
|
|
|
| ReplyAll |5214 |Used with the AddInteraction event. ReplyAll to email. |
|
|
|
|
| Forward |5215 |Used with the AddInteraction event. Forward email. |
|
|
|
|
| Consult |5216 |Used with the AddInteraction event. Agent session consult. |
|
|
|
|
| Transfer |5217 |Used with the AddInteraction event. Agent session transfer. |
|
|
|
|
| Recycled |5218 |Used with the RemoveInteraction event. Call control reclycled call. | |