viq.twilio.contract 1.2.0
IVR menus keyed by team and hunt group route codes, a Ring hunt group step, text-to-speech voice and accent per step, voicemail status and Salesforce sync fixes, and warm / three-way call transfers with one forward-options API.
No packages depend on viq.twilio.contract.
## v1.2.0 (2026-11-11)
### Added
- GET /api/v2.0/CallFlow/menu-targets (ICallFlowAdminService.ListMenuTargetsAsync): teams with their route codes and their hunt groups (route code, member count) for IVR menu presses
- RING_HUNT_GROUP call-flow step: rings only the members of one team hunt group, with busy hold on the hunt group and its own "No answer or busy" and "Otherwise" branches
- Step config voice (man / woman) and accent (en-GB / en-US) for the step's own text-to-speech; a chosen media file keeps its own voice
- VOICEMAIL step config notifyEmails ("Notify by email"): kept per call and sent as metadata voicemailNotifyEmails on the CTI voicemail status and the recording BlobCompletion; CallLogContext adds them to the voicemail email recipients
- Call forward transfer types on POST /api/v2.0/CallCentre/call/forward (TransferType): BLIND (default, unchanged), WARM (caller on hold in the call's <Enqueue> queue, consult call to the target, then <Dial><Queue> hand-over) and THREE_WAY (same consult, then caller, agent and target in one conference)
- POST /api/v2.0/CallCentre/call/forward/complete, /merge and /cancel (ICallCentreService.CompleteForwardAsync, MergeForwardAsync, CancelForwardAsync) to finish, merge or stop a consult
- Twilio webhook POST /api/v2.0/Twilio/transfer/consult-result (ITwilioService.ProcessTransferConsultResultAsync): consult Dial action; reconnects the agent to the caller when the target does not answer or the consult is cancelled
- WARM and THREE_WAY are licensed per tenant (product licences twilio-warm-transfer, twilio-three-way-call) or for all tenants with TwilioConfig:TransferTypesForAllTenants
- GET /api/v2.0/CallCentre/call/forward/options: every user with status (AVAILABLE, ON_CALL, BUSY, OFFLINE), every team with member and available counts, and the transfer actions the tenant may use; searchTerm is the only parameter
- TwilioConfig:VoicemailSilenceTimeoutSeconds (default 10): silence timeout of the voicemail <Record>; Twilio's default of 5 seconds cut quiet callers off
### Changed
- Voicemail recording webhook decides voicemail from the recording source (RecordVerb, inbound, not diverted) instead of the current call status, sets status and outcome to voicemail with the recording duration, and publishes a CTI "voicemail" status so CallLogContext re-syncs the call after the no-answer
- Caller-leg "completed" after a recorded voicemail stays completed instead of becoming no-answer (Redis voicemail marker)
- Voicemail step without a chosen file plays the voicemail greeting by owner: user, then team, then organisation
- GET /api/v2.0/CallFlow/media/by-purpose/{purpose} returns only active media; with none active, media is null
- Forward options come from one builder (one Beacon read)
- Call status callback accepts transferLeg=consult (CallStatusCallbackRequest.TransferLeg): when the agent's consult call drops mid-consult, the held caller is sent to the target instead of staying on hold
### Removed
- GET /api/v2.0/CallCentre/call/forward/options/user and /options/team, ICallCentreService.GetCallForwardUserOptionsAsync / GetCallForwardTeamOptionsAsync and their request models (no client used them)
- CallForwardOptionsQueryRequest filter flags (IncludeUnavailableUser, IncludeBusyUsers, IncludeTeams, IncludeBusyTeams, IncludeUnavailableTeams); the list always holds everyone with a status
- Forward user option ExternalNumber and PhotoDetails (never filled)
### Compatibility
- New node type and config fields are optional; existing flows behave as before
- CallLogContext and transcription changes for the voicemail re-sync and no-transcript sync ship with those services
## v1.1.3 (2026-11-10)
### Changed
- Call initiate uses the remote ID from the call event when available
## v1.1.2 (2026-11-09)
### Changed
- Hold and resume publish call-status CTI events for recording pause
.NET 10.0
- Twilio (>= 8.1.0)
- viq.service.base (>= 7.0.4)