For my business case, I need to display if a call is being transferred or a fresh call from IVR menu in the agent script. For doing that, my thought is to set the value of a participant data as "Transferred", which I can set from the previous script as an output data and use in next script using input data, while an agent will do a blind transfer to a queue or consulted transfer to an agent using the respective transfer button from the top toolbar of agent screen.
Is that possible to do? If not please suggest a possible way to solve the problem.