I am using cvp application to play some prompts when caller is in queue.
I am using endcallApi to do some logic when caller hangs up, for this I am using callEndAPI.getHowCallEnded() which returns "hangup".
But I have found out when call gets to agent, Api returns "hangup" too. Is it a right way how it should behave as in IP IVR I could get a trigger for hangup. But now there is issue that I can´t tell when the caller really hanged up call or was just routed to ready agent.