# {{user\_number}} - system dynamic value is not working after chat transferred another agent

**URL:** <https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730>\
**Category:** Support Help\
**Created:** [February 2, 2026, 10:16pm UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730 "2026-02-02T22:16:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![semih.yildiz](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/semih.yildiz/32/547_2.png) [@semih.yildiz](https://community.retellai.com/u/semih.yildiz)\
**Post date:** [February 2, 2026, 10:16pm UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/1 "2026-02-02T22:16:20Z")

</div>

Hello,

{{user\_number}} - system dynamic value is not working after transferred another agent. It outputs an example value from previous tests. Doesn’t give you number of the user.

Any idea?

---

<div class="post-metadata">

**Author:** ![support2](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/support2/32/15_2.png) [@support2](https://community.retellai.com/u/support2)\
**Post date:** [February 2, 2026, 10:16pm UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/2 "2026-02-02T22:16:39Z")

</div>

The `{{user_number}}` system variable should contain the user’s phone number during calls[(1)](https://docs.retellai.com/build/dynamic-variables). For phone calls specifically, `{{user_number}}` represents the user’s phone number, which is the from\_number for inbound calls or the to\_number for outbound calls[(1)](https://docs.retellai.com/build/dynamic-variables).

When transferring calls to another agent, you may need to explicitly pass dynamic variables to preserve them[(2)](https://discord.com/channels/1186424376300679209/1186462578310910112/1328520879734259865). One community member noted that to transfer a call to another agent while passing dynamic variables, you could store the information in a database and use an inbound webhook to retrieve it in the next agent[(2)](https://discord.com/channels/1186424376300679209/1186462578310910112/1328520879734259865).

If `{{user_number}}` is showing cached test values instead of the actual caller’s number after transfer, this suggests the variable context may not be automatically preserved across agent transfers. You might need to explicitly pass the user\_number as a custom dynamic variable when initiating the transfer or retrieve it via an inbound call webhook in the receiving agent.

Check these potentially useful sources for more details on dynamic variables and call transfers:

- [Dynamic Variables](https://docs.retellai.com/build/dynamic-variables)
- [Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call)

---

<div class="post-metadata">

**Author:** ![semih.yildiz](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/semih.yildiz/32/547_2.png) [@semih.yildiz](https://community.retellai.com/u/semih.yildiz)\
**Post date:** [February 3, 2026, 10:22am UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/3 "2026-02-03T10:22:44Z")

</div>

“You might need to explicitly pass the user\_number as a custom dynamic variable when initiating the transfer or retrieve it via an inbound call webhook in the receiving agent.”

I already added as a custom variable in function of first agent.

---

<div class="post-metadata">

**Author:** ![Omar\_Ashraf](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/omar_ashraf/32/102_2.png) [@Omar\_Ashraf](https://community.retellai.com/u/Omar_Ashraf)\
**Post date:** [February 3, 2026, 9:52pm UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/4 "2026-02-03T21:52:16Z")

</div>

Hello @semih.yildiz

Can you share a call id that has this issue?

---

<div class="post-metadata">

**Author:** ![semih.yildiz](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/semih.yildiz/32/547_2.png) [@semih.yildiz](https://community.retellai.com/u/semih.yildiz)\
**Post date:** [February 4, 2026, 10:31am UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/7 "2026-02-04T10:31:29Z")

</div>

Call id : call\_d18a6760c2963d568d190f25dc2

Here are my findings:

This issue does not occur with the first agent. It only happens with agents that are transferred via a function, and only for inbound calls.

The number sent from the second agent is my previous fallback number, which I manually entered into the dynamic values for testing. It is also my own personal phone number associated with the account.

I have shared screenshot of the custom function form, the received payload, and the actual incoming call number.

When I uncheck **payload: args only** , I can see that {{from\_number}} is still correct in payload that received. However, it is not being mapped to {{user\_number}} as expected for inbound calls.

I tried using {{from\_number}} as a system value, but it was not accepted and no number was shown. I also tried unchecking **args only** and extracting the caller number directly from the payload, but the payload became too large and the platform did not accept it for longer conversations.

 ![scrren](https://canada1.discourse-cdn.com/flex008/uploads/retell1/original/1X/3e7e0358e476b947972e0c9593a0cd7d596d897e.jpeg)

---

<div class="post-metadata">

**Author:** ![semih.yildiz](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/semih.yildiz/32/547_2.png) [@semih.yildiz](https://community.retellai.com/u/semih.yildiz)\
**Post date:** [February 4, 2026, 10:50am UTC](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730/8 "2026-02-04T10:50:14Z")

</div>

Ok there is an update. After I set fallback dynamic value and delete again. Its worked. Strange. I dont know if you guys fix something from backend but this is what I see
