Difference between revisions of "Trigger: Call Ended"
| Line 1: | Line 1: | ||
| − | <pre class="header-style"> | + | <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> |
| − | |||
| − | </pre> | ||
| + | ''' 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'' | |
| + | <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 [date_time] - [last_call_duration]</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]] | ||
Revision as of 22:02, 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 [date_time] - [last_call_duration]
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