Sounds like you are almost there. To see what is actually happening you can turn on and check the run log.
It might be priority issue. you could try increasing the launch task priority setting of the 'off hook' profile to 7
Could you post all relevant profiles and task descriptions?
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
Profile: 1:00 AM (2)
Time: 01:00
Enter: Call Grandma (3)
A1: Call [ Number:1234567890 Auto Dial:On ]
A2: Wait Until [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ] If [ %INCALL Set ]
A3: End Call
Profile: Offhook (12)
Priority: 7
Event: Phone Offhook
Enter: Phone Offhook (13)
A1: Variable Set [ Name:%INCALL To:1 Do Maths:Off Append:Off ]
Profile: Idle (14)
Event: Phone Idle
Enter: Phone Idle (15)
A1: Variable Clear [ Name:%INCALL Pattern Matching:Off ]
Any ideas of what I might be doing wrong? Thanks again!
Have you tried it with the priority of 7 ?
Have you confirmed that the phone off hook context only fires once the called phone starts ringing? If so how?
Can you post the run log when it fails and how it has failed?
Forgot to mention. If the phone off hook profile does fire once the phone starts ringing then I do not see why your posted profiles would not work.
So I would start by confirming that..
> Having that said, is there another variable that can be used?
Not that i know of, I have seen other posts looking for a way to detect when a called phone starts ringing. You could try a search of this group.
If not, I have a different thought. The phone plays a sound in the speaker when the timer actually starts.
And the timer does not start until the other phone is ringing?
What is a 'call timer' ? I assume it is a app. Or is it a device feature?
Either way it may be detectable from a app context. If you check the 'All' option and the 'services' option in the app context you might be able to find it. !
Does it or can it (the call timer) put up a notification?
Is there a way for me to identify what the sound is and link a wait action to the opening of the file? Just a thought.
Possibly. You may need root to monitor the file. You might find it by checking your log, or there is also a way to list all files accessed within the last x seconds. You need a terminal emulator and the correct 'find' command. I do not know it off hand but you should be able to get it with some google searches.
I place a call and the phone hangs for a minute. I then hear a chime on my ear, the timer starts, and I hear ringing.
So there is no flash or screen change at all when you hear the tone?
Are you rooted?
Also, are you looking for something to make into a app for other devices? Because on my device I appear to have a call timer however I do not get a tone at the beginning just a flash at the end telling me my call time.