Text messaging Receive only: database 4.3.6 adds sms_providers.sms_provider_send, and a provider set to Receive only in its window takes texts in as tickets, replies and codes and texts nothing out (no Text reply, ticket number, STOP or HELP answers, texts to clients or test texts), needs no SID or secret, cancels the texts waiting to go when switched, and is shown on Text Messaging, Text Messages, Notifications and Tickets settings and in the reply box of a ticket that came in by text, with the number to call; 26.12.3 changelog

This commit is contained in:
johnnyq
2026-12-01 12:42:51 -05:00
parent 89645add5e
commit abcd1a6fcf
11 changed files with 174 additions and 27 deletions

View File

@@ -75,7 +75,9 @@ echo settingsPageStart('notification');
<?php if (smsColumnExists('settings', 'config_sms_client_tickets')) {
$sms_client = smsClientSettings(); ?>
<?= settingsSectionStart('texts', 'Texts to clients', 'What ITFlow texts your clients by itself - only to contacts who agreed to texts, on their contact or in the client portal. Texts that would land between ' . date('g A', mktime(SMS_QUIET_FROM, 0)) . ' and ' . date('g A', mktime(SMS_QUIET_UNTIL, 0)) . ' wait for the morning. A reply to one about a ticket goes on the ticket.') ?>
<?php if (!smsReady()) { ?>
<?php if (smsReceiveOnly()) { ?>
<div class="alert alert-light border py-2 small" data-notification-no-texting="receive-only"><i class="fas fa-info-circle me-2"></i>Texting is set to Receive only, so none of these go. <a href="text_messaging.php">Text Messaging</a></div>
<?php } elseif (!smsReady()) { ?>
<div class="alert alert-light border py-2 small" data-notification-no-texting><i class="fas fa-info-circle me-2"></i>Texting isn't set up, so none of these go. <a href="text_messaging.php">Set up texting</a></div>
<?php } ?>
<?php if ($config_module_enable_ticketing) { ?>