- Joined
- Mar 4, 2025
- Messages
- 5
- Reaction score
- 0
I am trying to create a CFD file for someone who is getting a lot of spam calls all from one area code. Ideally I'd like to identify the caller ID coming in. If its any caller ID other than 732, pass it along normally. If its 732, then offer a prompt saying "If you are a human, press 1". I am trying to set a variable as "SetCallerNumber" with callflow$.SetCallerNumber. Then query the condition to: ""OR(STARTS_WITH(CallerNumber, \"732\"), OR(STARTS_WITH(CallerNumber, \"1732\"), STARTS_WITH(CallerNumber, \"+1732\")))"". In the conditional tree, if its 732, there is a user input with the wav file playing the prompt. If no response, or wrong input, it disconnects the call. If on the catch all true side, it just transfers.
CFD builds it without problem and it loads as a CFA in 3CX, but when I call it, it disconnects the call right away. I does get past the variable, but the condition box disconnects. Attached is a screenshot of the layout. Branch 3 has the OR statement.

CFD builds it without problem and it loads as a CFA in 3CX, but when I call it, it disconnects the call right away. I does get past the variable, but the condition box disconnects. Attached is a screenshot of the layout. Branch 3 has the OR statement.
