Skip to content

Commit

Permalink
misc: only support predictive dial mode (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux authored Jul 31, 2024
1 parent 91e1fe1 commit be768ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/EvAgentSession/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ class EvAgentSession extends RcModuleV2<Deps> implements AgentSession {
outboundSettings: { availableOutdialGroups = [] },
} = agentConfig;

return [noneItem].concat(availableOutdialGroups.map((group) => ({
return [noneItem].concat(availableOutdialGroups.filter((g) => {
return g.dialMode === 'PREDICTIVE';
}).map((group) => ({
groupId: group.dialGroupId,
groupName: group.dialGroupName,
groupDesc: group.dialGroupDesc,
Expand Down

0 comments on commit be768ea

Please sign in to comment.