In my website I want to initiate a call between 2 numbers for a certain duration(in minutes) and when they are successfully connected display the minutes left count down. When the minutes left is low then the caller would hear an alert message and finally when no minutes left the call would get disconnected.
I was able to initiate the call using click-to-call API but I am not able to figure out how to inject the message in between or end the call. Also I tried Post Call API for count down but its getting fired only when the call ends.
Since I am completely new to this any help appreciated.