| Line 1: |
Line 1: |
| − | This trigger will be activated when a missed call occurs. | + | <pre class="header-style"> |
| | + | This trigger will fire when a missed call occurs. A missed call is defined as an incoming call that you did not answer. |
| | + | </pre> |
| | | | |
| − | '''Example Usage'''<br/> | + | ''' Options ''' |
| − | Call missed > send sms [hello, I could not answer your call].
| + | |
| | + | * '''Select Contacts''' - Choose specific contacts from your contact list. You can select multiple contacts and optionally exclude them instead of matching. |
| | + | ** '''Any Contact''' - Fires when a missed call comes from any number saved in your contacts |
| | + | ** '''Non Contact''' - Fires when a missed call comes from a number not in your contacts |
| | + | ** '''Unknown Caller''' - Fires when a missed call has an unknown or private number (caller ID blocked) |
| | + | |
| | + | * '''Select Groups''' - Filter by contact groups (such as Favorites or Friends). The trigger activates only when missed calls come from members of the chosen groups. |
| | + | |
| | + | * '''Select Number''' - Specify an exact or partial phone number to match. Supports wildcards and regular expressions. |
| | + | ** '''Exclude''' - Option to trigger for all numbers EXCEPT the specified number |
| | + | ** '''Enable Regex''' - Enable regular expression matching for advanced pattern matching |
| | + | |
| | + | * '''Any Number''' - Fires regardless of the calling number |
| | + | |
| | + | ''' Magic Text ''' |
| | + | |
| | + | When this trigger fires, the following value are available via magic text for use in subsequent actions. |
| | + | |
| | + | * {call_number} |
| | + | * {call_name} |
| | + | * {call_groups} |
| | + | |
| | + | ''' Examples ''' |
| | + | |
| | + | Example 1: Send notification when spouse calls and you miss it |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Call Missed [Select Contacts: Spouse]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Notification: Missed call from {call_name}</pre> |
| | + | |
| | + | Example 2: Log all missed calls from unknown numbers |
| | + | |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Call Missed [Unknown Caller]</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Set Variable: missed_call_log = {lv=missed_call_log}\n{call_number} at {hour}:{minute}:{second}</pre> |
| | + | |
| | + | ''' Notes ''' |
| | + | |
| | + | * This trigger monitors the call log for missed calls. It requires the READ_CALL_LOG permission. |
| | + | * When using contact-based options, the READ_CONTACTS permission is also required. |
| | + | |
| | + | ''' Permissions Required ''' |
| | + | |
| | + | * READ_PHONE_STATE |
| | + | * READ_CALL_LOG |
| | + | * READ_CONTACTS (when using contact or group-based filtering) |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger:_Call_Active|Call Active Trigger]] |
| | + | * [[Trigger:_Call_Ended|Call Ended Trigger]] |
| | + | * [[Trigger:_Call_Incoming|Call Incoming Trigger]] |
| | + | * [[Trigger:_Call_Outgoing|Call Outgoing Trigger]] |