From my reading of the forums I have seen a lot of people asking about how to make a call and stuff. But i couldn't find an answer to my problem. I would like to have the ability to sort of watch if the user is calling someone (making an outgoing call) the thing is is there some class or API that monitors the lines. I know that i will connect RTelServer but after that RLine is what i will be watching but i am not trying to create a line i want to see if the user makes an outgoing call. So the instance of RLine is not created within my domain so how can i watch whether the user is making an outgoing call or not.
I'm interesting in this topic too. I tried to build an app that can detect outgoing call. As Vivek wrote, I used NotifyCallAdded() to detect outgoing call. I can work. But when I try to close the outgoing call event, my app hang. I tried use DialCancel() method to close outgoing call. I had try to use HangUp() method too, but it can't solve the problem. Does anyone could help me? To Blkangel, have you found the answer?
This is how I reject the outgoing call: