feat: add number to call in web call (#23769)

This commit is contained in:
Udit Takkar authored and GitHub committed 2025-09-12 12:16:39 +03:00
1 parent 79a09362c9
commit a977fb4970
3 files changed
+4 -1

No files matched your search

@@ -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",
@@ -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(),
};
@@ -457,7 +457,7 @@ export function AgentConfigurationSheet({
{!readOnly && (
<AddVariablesDropdown
addVariable={addVariableToGeneralPrompt}
variables={DYNAMIC_TEXT_VARIABLES}
variables={[...DYNAMIC_TEXT_VARIABLES, "number_to_call"]}
addVariableButtonClassName="border rounded-[10px] py-1 px-1"
/>
)}