- Joined
- Jan 13, 2026
- Messages
- 34
- Reaction score
- 12
Hi,
I'm trying to collect the get attached call data when I use the Make Call API request but no luck. I'm doing the following, let me know if anything is wrongly implemented or am i missing something here :
1. I'm trying to make a call from a CFD app 3333 toward an External number 12345678
Request
https://3cx.domain/callcontrol/3333/makecall
body:
{
"destination": "12345678",
"timeout": 1,
"xyz": "123"
}
When I send the API request above, The CFD will initiate the call successfully and the external number answer the call and listen to the prompt but one thing not working which is the xyz variable is not played.
What's not working:
I want to catch the "xyz" value "123" from inside the CFD app and play the numbers in the playdigit component to the external number, but the value of "xyz" is coming empty.
This is my GetAttachedCallData1

And this is my playdigit component

I tried to do logger and placed the GetAttachedCallData1.DataValue in the trace from the logs , it is coming empty as below:
2026/02/13 14:11:39.958|0009|Trac| [_3CX.Script] _3333_28.Main.79317.[C:24049.1]-GetAttachedCallData1 - CallFlow.CFD.GetAttachedCallDataComponent 'GetAttachedCallData1' - Getting data attached to the call with Name='xyz'
2026/02/13 14:11:39.958|0009|Trac| [_3CX.Script] _3333_28.Main.79317.[C:24049.1]-GetAttachedCallData1 - CallFlow.CFD.GetAttachedCallDataComponent 'GetAttachedCallData1' - Data attached to the call obtained for Name='xyz' - Value=''
What could be wrong?
Thanks
I'm trying to collect the get attached call data when I use the Make Call API request but no luck. I'm doing the following, let me know if anything is wrongly implemented or am i missing something here :
1. I'm trying to make a call from a CFD app 3333 toward an External number 12345678
Request
https://3cx.domain/callcontrol/3333/makecall
body:
{
"destination": "12345678",
"timeout": 1,
"xyz": "123"
}
When I send the API request above, The CFD will initiate the call successfully and the external number answer the call and listen to the prompt but one thing not working which is the xyz variable is not played.
What's not working:
I want to catch the "xyz" value "123" from inside the CFD app and play the numbers in the playdigit component to the external number, but the value of "xyz" is coming empty.
This is my GetAttachedCallData1

And this is my playdigit component

I tried to do logger and placed the GetAttachedCallData1.DataValue in the trace from the logs , it is coming empty as below:
2026/02/13 14:11:39.958|0009|Trac| [_3CX.Script] _3333_28.Main.79317.[C:24049.1]-GetAttachedCallData1 - CallFlow.CFD.GetAttachedCallDataComponent 'GetAttachedCallData1' - Getting data attached to the call with Name='xyz'
2026/02/13 14:11:39.958|0009|Trac| [_3CX.Script] _3333_28.Main.79317.[C:24049.1]-GetAttachedCallData1 - CallFlow.CFD.GetAttachedCallDataComponent 'GetAttachedCallData1' - Data attached to the call obtained for Name='xyz' - Value=''
What could be wrong?
Thanks