Difference between revisions of "Trigger: Call Incoming"

m
m
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
===<p><b>About</b></p>===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This trigger will be fired when an incoming call is received.
 
This trigger will be fired when an incoming call is received.
 +
</pre>
 +
* '''''When this trigger is present, you can use more [...]''''' '''''[https://macrodroidforum.com/wiki/index.php/Magic_text#Call_.28Active.2C_Ended.2C_Incoming.2C_Missed.2C_Outgoing.29 magic text]'''''
  
You can specify a particular contact that the incoming call should come from or, alternatively, you can specify that the call should come from any contact, a non-contact or any number.</pre>
+
==<p><b>Supported configurations</b></p>==
<br>
 
'''Example Usage'''<br/>
 
If an incoming call is from a NO contact it will be automatically rejected.
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
  
Incoming call (NON contact)
+
=== Select Contact(s) ===
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
  
Call rejected
+
'''''Any Contact'''''
</pre><br>
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
+
Active call from any contact.
Constraints
+
</pre>
 +
'''''Non Contact'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Call of any No Contact.
 +
</pre>
 +
'''''Unknown Caller'''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Call from an unknown contact.
 +
</pre>
  
 +
=== Select Group(s) ===
  
</pre><br>
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
These are contacts that are in one or more groups e.g. (My contacts, Family, Coworkers, Do not disturb friends).
 +
</pre>
 +
 
 +
=== Select Number ===
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Please note that dialing USSD codes (e.g. **21.... ) on Android 14+ may need to be followed by a UI Interaction action to click the call button.
 +
You may need a Wait action before the click
 +
operation to ensure the call screen has finished displaying.
 +
</pre>
 +
 
 +
=== Any Number ===
 +
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Any number, no configuration required.
 +
</pre>

Revision as of 22:48, 22 January 2024

About

This trigger will be fired when an incoming call is received.
  • When this trigger is present, you can use more [...] magic text

Supported configurations

Select Contact(s)

Any Contact

Active call from any contact.

Non Contact

Call of any No Contact.

Unknown Caller

Call from an unknown contact.

Select Group(s)

These are contacts that are in one or more groups e.g. (My contacts, Family, Coworkers, Do not disturb friends).

Select Number

Please note that dialing USSD codes (e.g. **21.... ) on Android 14+ may need to be followed by a UI Interaction action to click the call button.
You may need a Wait action before the click
operation to ensure the call screen has finished displaying.

Any Number

Any number, no configuration required.