Difference between revisions of "Trigger: Call Ended"

Tags: Mobile web edit Mobile edit Advanced mobile edit
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">The Call Ended trigger fires when a standard phone call ends. This allows you to automate actions after phone calls complete, such as logging call times, restoring volume settings, or sending follow-up messages.</pre>
This trigger will be fired when a call is ended.
 
</pre>
 
'''Example Usage'''<br/>
 
When a call ends it will automatically clear the call log.
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
  
Call ended
+
''' Options '''
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
  
Clear call log
+
* '''Select Contacts''' - Trigger when calls with specific contacts end
</pre><br>
+
** Choose from your contacts list
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
+
** Includes special options: Any Contact, Non Contact, Unknown Caller
Constrains
+
** Option to exclude selected contacts instead of including them
 +
* '''Select Groups''' - Trigger when calls with contacts from specific groups end
 +
** Choose one or more contact groups (e.g., Favorites, Family, Work)
 +
* '''Specify Number''' - Trigger when a call with a specific phone number ends
 +
** Enter a phone number or partial number match
 +
** Supports wildcards for partial matching
 +
** Option to exclude the specified number
 +
** Supports regex pattern matching
 +
** Magic text can be used for dynamic numbers
 +
* '''Any Number''' - Trigger when any call ends regardless of the number
  
 +
''' Special Contact Types '''
  
</pre><br
+
When selecting contacts, the following special options are available:
 +
* '''Any Contact''' - Triggers when calls from contacts end
 +
* '''Non Contact''' - Triggers when calls from non-contact numbers end
 +
* '''Unknown Caller''' - Triggers when calls from private/hidden numbers end
 +
 
 +
''' 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: Restore Volume After Call''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Call Ended (Any Number)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Volume Change: Ring to 100%
 +
Volume Change: Media to 50%</pre>
 +
 
 +
''Example 2: Log Business Call Duration''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Call Ended (Group: Work)</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Write to File: Work call ended at {hour}:{minute}:{second}</pre>
 +
 
 +
''' Notes '''
 +
 
 +
* This trigger fires when any call ends, whether incoming or outgoing
 +
* The trigger monitors phone state changes to detect when calls end
 +
* Both the outgoing call number and incoming call number are tracked
 +
* Triggers for both answered calls that end and rejected/declined calls
 +
 
 +
''' Permissions Required '''
 +
 
 +
* '''Read Phone State''' - Required to monitor call state (always required)
 +
* '''Read Contacts''' - Required for contact-based filtering (when using contacts)
 +
* '''Read Call Log''' - Required for call information access (when using contacts)
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger:_Call_Active|Call Active Trigger]]
 +
* [[Trigger:_Call_Incoming|Call Incoming Trigger]]
 +
* [[Trigger:_Call_Missed|Call Missed Trigger]]

Latest revision as of 22:03, 5 January 2026

The Call Ended trigger fires when a standard phone call ends. This allows you to automate actions after phone calls complete, such as logging call times, restoring volume settings, or sending follow-up messages.

Options

  • Select Contacts - Trigger when calls with specific contacts end
    • Choose from your contacts list
    • Includes special options: Any Contact, Non Contact, Unknown Caller
    • Option to exclude selected contacts instead of including them
  • Select Groups - Trigger when calls with contacts from specific groups end
    • Choose one or more contact groups (e.g., Favorites, Family, Work)
  • Specify Number - Trigger when a call with a specific phone number ends
    • Enter a phone number or partial number match
    • Supports wildcards for partial matching
    • Option to exclude the specified number
    • Supports regex pattern matching
    • Magic text can be used for dynamic numbers
  • Any Number - Trigger when any call ends regardless of the number

Special Contact Types

When selecting contacts, the following special options are available:

  • Any Contact - Triggers when calls from contacts end
  • Non Contact - Triggers when calls from non-contact numbers end
  • Unknown Caller - Triggers when calls from private/hidden numbers end

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: Restore Volume After Call

Triggers

Call Ended (Any Number)
Actions

Volume Change: Ring to 100%
Volume Change: Media to 50%

Example 2: Log Business Call Duration

Triggers

Call Ended (Group: Work)
Actions

Write to File: Work call ended at {hour}:{minute}:{second}

Notes

  • This trigger fires when any call ends, whether incoming or outgoing
  • The trigger monitors phone state changes to detect when calls end
  • Both the outgoing call number and incoming call number are tracked
  • Triggers for both answered calls that end and rejected/declined calls

Permissions Required

  • Read Phone State - Required to monitor call state (always required)
  • Read Contacts - Required for contact-based filtering (when using contacts)
  • Read Call Log - Required for call information access (when using contacts)

See Also