destinations: full picker everywhere, numbers in summaries, Ring everyone

The DestinationPicker now offers every type that exists (user, voicemail,
ring group, digital receptionist, office hours, announcement, outside
number, hang up) on every page that routes calls; queues and
conferences join in M8. API summaries show the number of dialable
targets ("Ring group Sales (500)", 05 §3). Wizard step 8 gains "Ring
everyone": it creates or refreshes a ring group "Everyone" of all
extensions (unanswered → the first user's voicemail); an IVR isn't
created there because it needs a recorded greeting. m3-t5 now routes
the main number through "Ring everyone" and still passes.

Task: M6-T6
This commit is contained in:
iamdoubz committed 2026-10-18 11:04:42 -05:00
1 parent dd640b368b
commit d746772b97
7 files changed
+72 -22

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ describe.skipIf(!hasTestDb)('/api/ivrs', () => {
destination: { type: 'ivr', id: ivrId },
})
).json();
expect(did.destinationSummary).toBe('Digital receptionist Main menu');
expect(did.destinationSummary).toBe('Digital receptionist Main menu (600)');
expect((await req('DELETE', `/api/ivrs/${ivrId}`)).statusCode).toBe(409);
// The refused delete must not have dropped its options.
expect((await req('GET', `/api/ivrs/${ivrId}`)).json().options).toHaveLength(1);