yjn.waseem
12/10/2025, 9:58 PMAI Evy
12/10/2025, 9:58 PMAI Evy
12/10/2025, 9:58 PMAI Evy
12/10/2025, 9:58 PMAI Evy
12/10/2025, 9:58 PM{{user_number}}, which represents the user's phone number (for inbound calls, this is the `from_number`; for outbound calls, it's the to_number) . [(1) ]()
You can use {{user_number}} directly in your agent's prompt to reference the caller's number.
Additionally, when you retrieve call data via the API, the call object includes from_number and to_number fields that store the phone numbers involved in the call. [(2) ]() , [(3) ]() , [(4) ]()
Other useful system dynamic variables for phone calls:
- {{direction}} — inbound or outbound [(1) ]()
- {{agent_number}} — the agent's phone number
- {{call_type}} — web_call or phone_call
Note: If you're using a custom SIP trunk, there have been reports of {{user_number}} not working correctly in some configurations. If you encounter issues, you may need to ensure your SIP provider is properly passing caller ID information. [(8) ]()AI Evy
12/10/2025, 9:59 PMAI Evy
12/17/2025, 1:52 AMyjn.waseem
12/17/2025, 1:52 AMAI Evy
12/17/2025, 1:52 AMAI Evy
12/17/2025, 1:52 AMAI Evy
12/17/2025, 1:52 AM