Add Skyetel text messaging with two-way ticket texting, text to ticket for contacts, Text reply on tickets, a Texts inbox for unmatched numbers, verification codes and spam (codes masked, limited to credential access, every reveal audited, wiped after a day), STOP/START/HELP handling, a text log with retry and cancel in Maintenance > Text Messages, the Text Messages cron job, and texts to clients about their tickets, visits, visit reminders and invoices with per-contact opt-in from the contact, by text or in the client portal, quiet hours, and new settings in Tickets and Notifications (database 3.6.0 and 3.6.1)

This commit is contained in:
johnnyq
2026-11-06 00:08:10 -05:00
parent 87cdf79b28
commit b391e2ce6c
45 changed files with 4165 additions and 31 deletions

View File

@@ -13,6 +13,10 @@ function triggerCustomAction($trigger, $entity) {
if ($trigger === 'invoice_pay' && function_exists('invoicePaidFollowUp')) {
invoicePaidFollowUp($entity);
}
// ...and a text to the ticket's contact, when they agreed to texts (smsClientNotify(), functions/sms.php)
if (in_array($trigger, ['ticket_create', 'ticket_resolve', 'ticket_schedule', 'ticket_unschedule'], true) && function_exists('smsClientNotify')) {
smsClientNotify($trigger, $entity);
}
$original_dir = getcwd(); // Save
chdir(dirname(__FILE__));