live: calls in progress, dashboard list, admin hang up and transfer
CallTracker groups channels by Linkedid from channel events (loaded from CoreShowChannels on connect); call.updated/call.removed go to admins. The dashboard lists calls now with state and timer, hang up (confirm) and transfer to an internal number (AMI Redirect of the caller), both audited. e2e m7-t4: 3 concurrent calls match core show channels. Task: M7-T4
This commit is contained in:
1 parent
4b6b95090a
commit
f7fc4ed70e
14 files changed
+744
-12
No files matched your search
@@ -160,7 +160,14 @@ describe.skipIf(!hasTestDb)('/api/live WebSocket', () => {
|
||||
await until(() => admin.msgs.length === 1 && user.msgs.length === 1);
|
||||
expect(admin.msgs[0]).toEqual({
|
||||
type: 'snapshot',
|
||||
data: { extensions: [], trunks: [], ami: { connected: false } },
|
||||
data: {
|
||||
extensions: [],
|
||||
trunks: [],
|
||||
calls: [],
|
||||
queues: [],
|
||||
parked: [],
|
||||
ami: { connected: false },
|
||||
},
|
||||
});
|
||||
|
||||
// A config change adds an extension: one extension.updated per client, contacts only for admins.
|
||||
|
||||
Reference in new issue
Block a user