I want to establish an outgoing voice call to a specific number from my application. I have been able to do this using CTelephony class.
I also need to restrict the call for exactly 1 minute (60 seconds). If I use a timer on my own which I start after receiving the call established event, I get a mismatch in the call duration of 1-2 seconds (when compared with call logs application and called number's phone log) I guess this is because of using two active objects, one for call establishment and hangup and other for RTimer.
Is there a way I can specify this time in call setup params, so that the call lasts exactly for 60 seconds, not a second more or less?