peterthehammer_05753
08/12/2025, 12:22 PMAI Evy
08/12/2025, 12:22 PMAI Evy
08/12/2025, 12:23 PMcall_id [(1) ]() [(2) ]() [(3) ]() and retell_llm_dynamic_variables that are specific to that call instance . When you create or register a phone call, you can set call-specific dynamic variables:
javascript
const phoneCallResponse = await client.call.createPhoneCall({
from_number: '+14157774444',
to_number: '+12137774445',
}) ;
[(3) ]()
javascript
const phoneCallResponse = await client.call.registerPhoneCall({
agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;AI Evy
08/12/2025, 12:23 PMretell_llm_dynamic_variables object in the call response contains variables specific to that individual call [(1) ]() [(2) ]() [(3) ]() . Each call maintains its own isolated context.
If variables are persisting between calls, check your backend implementation:
1. Ensure you're not storing variables globally or in shared memory
2. Verify that your webhook handlers are processing each call's unique call_id separately [(2) ]() [(3) ]()
3. Make sure dynamic variables are being set per call, not cached from previous calls
The call isolation issue is most likely occurring in your custom backend logic rather than Retell AI's platform, as each call maintains its own separate context and variables by design.AI Evy
08/12/2025, 12:23 PMAI Evy
08/12/2025, 12:23 PMpeterthehammer_05753
08/12/2025, 12:29 PM