Skip to content

Commit a977fb4

Browse files
authored
feat: add number to call in web call (calcom#23769)
1 parent 79a0936 commit a977fb4

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

apps/web/public/static/locales/en/common.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,6 +1717,8 @@
17171717
"event_duration_info": "The event duration",
17181718
"event_time_info": "The event start time",
17191719
"event_type_not_found": "EventType not Found",
1720+
"number_to_call_variable": "Number to call",
1721+
"number_to_call_info": "The phone number of the user you are calling",
17201722
"location_variable": "Location",
17211723
"location_info": "The location of the event",
17221724
"additional_notes_variable": "Additional notes",

packages/features/calAIPhone/providers/retellAI/services/CallService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ export class CallService {
228228
ADDITIONAL_NOTES: "This is a test web call to verify the AI phone agent",
229229
EVENT_START_TIME_IN_ATTENDEE_TIMEZONE: "2:00 PM",
230230
EVENT_END_TIME_IN_ATTENDEE_TIMEZONE: "2:30 PM",
231+
NUMBER_TO_CALL: "+919876543210",
231232
eventTypeId: eventTypeId.toString(),
232233
};
233234

packages/features/ee/workflows/components/AgentConfigurationSheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export function AgentConfigurationSheet({
457457
{!readOnly && (
458458
<AddVariablesDropdown
459459
addVariable={addVariableToGeneralPrompt}
460-
variables={DYNAMIC_TEXT_VARIABLES}
460+
variables={[...DYNAMIC_TEXT_VARIABLES, "number_to_call"]}
461461
addVariableButtonClassName="border rounded-[10px] py-1 px-1"
462462
/>
463463
)}

0 commit comments

Comments
 (0)