1. The "End Call" doesn't always seem to work. Sometimes when I pick up the phone half an hour later the call is still ongoing. What could cause this?
2. This hasn't happened yet, but I'm a little afraid of what will happen if I'm in an actual phone call when the task is triggered. Is there any way making it wait until the "line is available"?
1. The "End Call" doesn't always seem to work. Sometimes when I pick up the phone half an hour later the call is still ongoing. What could cause this?Start by checking the all the relevant settings here.Tasker new doze settings power managment.
I would also check the run log next time that it happens. You need to enable the log before it will start logging. Menu / more / runlog. You can post a few screen shots of the log here along with the exported profile description .
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)
2. This hasn't happened yet, but I'm a little afraid of what will happen if I'm in an actual phone call when the task is triggered. Is there any way making it wait until the "line is available"?You can add a additional context to the profile (long press the original context name) use the context: Phone ->call ->Any and tick the invert option.
Problem is this will mean it doesn't get executed at all, right?
Problem is this will mean it doesn't get executed at all, right?No. The profile will trigger because there is no current call in progress. Then when the call initiates the profile will go inactive but this will not affect the task.
What I meant was that if I'm in a call it won't trigger. Optimally it would wait until I've hang up and then trigger, but that feels like overkill :-)
You would just need to put a in call context in a separate profile with an entry task of just a stop action. Then use a wait until action in the beginning of the task and wait until that profile is inactive. You would use the variable %PACTIVE for this.
I would also check the run log next time that it happens. You need to enable the log before it will start logging. Menu / more / runlog. You can post a few screen shots of the log here along with the exported profile description .
Hi again. For some strange reason this has worked much better since I enabled the run log, hasn't failed once. Today it happened again though. I happened to be holding the phone in my hand so I saw it happening. It called the number and then never ended the call. According to the run log (pasting screenshow below) everything worked like it should. Any idea where to look now?