Unable to catch Missed Call event and state.

293 views
Skip to first unread message

Tonni Hou

unread,
Jul 15, 2017, 11:18:03 AM7/15/17
to Tasker
Environment Details:

Phone:Xiaomi 2

OS:MIUI 8.1 stable global

Rooted?: No

Android Version:5.0.2

Tasker Version:4.9u4 (Google Play version)

Permission:Granted all permissions to Tasker.

Issue Description:

I want to log missed calls to a file `MissedCallsLog/mc.txt`, I created a State/Phone/Missed Call profile and linked to a Write File task, it doesn't work as I aspected, no MissedCallsLog/mc.txt log after few missed calls on my phone, however, manually running the Write File task works fine. I also tried to use Event/Phone/Missed Call profile to log missed calls, but it doesn't work either.

I've locked the Tasker app in MIUI, ensure it always runs in the background.


I've attached my config file in the post, make sure create the `MissedCallsLog` folder before running the task.
state.xml
event.xml

Tonni Hou

unread,
Jul 15, 2017, 11:22:24 AM7/15/17
to Tasker
Here are some screenshots:

Task detail:



Profile:





Rich D

unread,
Jul 15, 2017, 12:47:08 PM7/15/17
to Tasker Google Groups Post

First try all of the relevant settings here.

http://tasker.dinglisch.net/userguide/en/androidpowermanagement.html

I assume you're getting your Android notification of a missed call. Correct?

You can also check the run log. Menu / more / run log. To see if the profile is firing.

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).

Tonni Hou

unread,
Jul 18, 2017, 11:17:55 PM7/18/17
to Tasker
Thanks for the tips Rich D!

However, the Tasker is still unable to catch the Phone event/state.

I switched a new Xiaomi Note 3 Pro with the latest Lineage(Android 7.1.2) installed, granted all the permissions to Tasker, but it still doesn't work, I'm confused, am I the only person who has this issue? all I want is monitoring missed phone calls and send it to my Telegram channel, the action works fine.

Sean Williams

unread,
Jul 19, 2017, 3:08:42 PM7/19/17
to Tasker
Just tested on my Xiaomi 8.2 device.

Have you tried without 'ANY' in the match field of the 'Missed Call' event?

Also do something simple like playing a beep when the missed call occurs.

Tonni Hou

unread,
Jul 23, 2017, 11:42:27 AM7/23/17
to Tasker
Oh man, you save me!! it worked after removing the `ANY` keyword in profile.

Many thanks to you!
Reply all
Reply to author
Forward
0 new messages