From a977fb49709a7d98842b23f90159d256495489cb Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:46:39 +0530 Subject: [PATCH] feat: add number to call in web call (#23769) --- apps/web/public/static/locales/en/common.json | 2 ++ .../calAIPhone/providers/retellAI/services/CallService.ts | 1 + .../ee/workflows/components/AgentConfigurationSheet.tsx | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index c924c706b0..08b937b7f1 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1717,6 +1717,8 @@ "event_duration_info": "The event duration", "event_time_info": "The event start time", "event_type_not_found": "EventType not Found", + "number_to_call_variable": "Number to call", + "number_to_call_info": "The phone number of the user you are calling", "location_variable": "Location", "location_info": "The location of the event", "additional_notes_variable": "Additional notes", diff --git a/packages/features/calAIPhone/providers/retellAI/services/CallService.ts b/packages/features/calAIPhone/providers/retellAI/services/CallService.ts index 966d4d0a1d..e6f01183ad 100644 --- a/packages/features/calAIPhone/providers/retellAI/services/CallService.ts +++ b/packages/features/calAIPhone/providers/retellAI/services/CallService.ts @@ -228,6 +228,7 @@ export class CallService { ADDITIONAL_NOTES: "This is a test web call to verify the AI phone agent", EVENT_START_TIME_IN_ATTENDEE_TIMEZONE: "2:00 PM", EVENT_END_TIME_IN_ATTENDEE_TIMEZONE: "2:30 PM", + NUMBER_TO_CALL: "+919876543210", eventTypeId: eventTypeId.toString(), }; diff --git a/packages/features/ee/workflows/components/AgentConfigurationSheet.tsx b/packages/features/ee/workflows/components/AgentConfigurationSheet.tsx index 18cdc59e87..b0ccc118b7 100644 --- a/packages/features/ee/workflows/components/AgentConfigurationSheet.tsx +++ b/packages/features/ee/workflows/components/AgentConfigurationSheet.tsx @@ -457,7 +457,7 @@ export function AgentConfigurationSheet({ {!readOnly && ( )}