Redirect calls - send MMI code to redirect calls to mailbox at time tricker

Seeigel

New member
Hello everybody!
I created a macro to redirect all incomming calls to the mailbox at a time trigger. So starting from 4:30 pm the incomming calls should be redirected to voice mail box and in the morning of the next day at 7 am I want to send the MMI code for deleading the redirection. The macro works, if I test it manually. But unfortunately it does not work in background... In the history I can see, that Macrodriod executes the marco, but the phone seams not to dial the MMI code...
Can anyone help me to run the marco stable on me One Plus Nord 2?

If it is necessary, I also attache a screenshot of both macros (activate redirection and deactivation).

Thank you so much in advance!
Mats
 

Pseudocyclic

Well-known member
For anything that works when tested manually but does not work in the background, I think it's always worth checking to see if it works when triggered normally but with MacroDroid open in the foreground - knowing the outcome of that test might help to pinpoint what the problem is.
 

Endercraft

Moderator (& bug finder :D)
For anything that works when tested manually but does not work in the background, I think it's always worth checking to see if it works when triggered normally but with MacroDroid open in the foreground - knowing the outcome of that test might help to pinpoint what the problem is.
Recently there was an issue with phone actions not working with screen off, could that be the case here ?
 

Seeigel

New member
For anything that works when tested manually but does not work in the background, I think it's always worth checking to see if it works when triggered normally but with MacroDroid open in the foreground - knowing the outcome of that test might help to pinpoint what the problem is.
@Pseudocyclic: I tested your suggestion... Yes, if I open the app and leave the smartphone in this condition (screen will turn off, but app is in foreground), it works stable! Both macros run there jobs in morning and at afternoon. Screen off seams not to be the problem, I think.
So, may there be any idea, how to bring it in condition, that it runs also stable in background mode?
Thanks in advance again!
 

Pseudocyclic

Well-known member
@Pseudocyclic: I tested your suggestion... Yes, if I open the app and leave the smartphone in this condition (screen will turn off, but app is in foreground), it works stable! Both macros run there jobs in morning and at afternoon. Screen off seams not to be the problem, I think.
So, may there be any idea, how to bring it in condition, that it runs also stable in background mode?
Thanks in advance again!
One possibility is that a permission has been granted for when MacroDroid is in use, as opposed to at all times...
 

Seeigel

New member
I think, I found a solution! I extended the marco with two steps:
- start App Macrodorid
- wait 3 sec.
- call MMI code
I tested it today in the afternoon with closed App and I have closed all apps from the desktop. It worked fine. I will test it tomorrow morning at 7am, when the MMI code will be send for canceling the redirection.
If it works also fine, then the thread can be closed.
 
Top