View Full Version : how to detect if a call was picked up?
cgbhat
May 12, 2009, 12:23 PM
How do we detect if the dialled party has picked up the call?
Could you please let me know where to look for appropriate documentation.
Thank you!
robbieduncan
May 12, 2009, 12:53 PM
You can't.
BlackWolf
May 12, 2009, 12:55 PM
well, I guess you could estimate it. store the time when the application is interrupted, and afaik the application gets relaunched after the call is finished. if only little time has passed you can assume that the call failed ... but of course that's not always true.
fishkorp
May 12, 2009, 12:57 PM
Your app can't talk to the phone app. Once your app exits for a phone call, it stops running. Your app is just passing a message to the phone app telling it to make a call, your app isn't actually making the call.
Niiro13
May 12, 2009, 01:11 PM
The best you can do is know when a phone call came in while your application is open. In applicationWillResignActive:, you typically save data so when it returns to your application after the call, the user doesn't lose their data.
cgbhat
May 12, 2009, 01:35 PM
if I need to record a conversation, how do I know that the call has actually gone through?
BlackWolf
May 12, 2009, 01:35 PM
if I need to record a conversation, how do I know that the call has actually gone through?
you cannot record conversations because your app is not active while the call is.
fishkorp
May 12, 2009, 03:28 PM
if I need to record a conversation, how do I know that the call has actually gone through?
You would have to start the app AFTER you make and connect to the call. You can record your end of the conversation, I'm not sure if you can record the person on the other end though, I doubt it. If call recording were allowed, there'd probably be a dozen or more call recording apps in the App Store. Some states have laws strictly prohibiting recording phone calls without consent of the other party. So an app like this would be illegal in many areas.
emt1
May 12, 2009, 04:21 PM
if I need to record a conversation, how do I know that the call has actually gone through?
Note to self: Don't download any apps written by cgbhat.
dejo
May 12, 2009, 04:45 PM
Note to self: Don't download any apps written by cgbhat.
Also don't answer calls from anyone who's downloaded cgbhat's apps. :D
cgbhat
May 12, 2009, 05:28 PM
:-) I think one of the Nokia handsets does give this facility..
eddietr
May 12, 2009, 05:36 PM
:-) I think one of the Nokia handsets does give this facility..
In general iPhone apps are more restricted than apps running under Symbian or Windows Mobile or even Android.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.