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

@@ -81,7 +81,13 @@ $ready = smsReady();
</div>
</div>
<?php if (!$ready) { ?>
<?php if (!$ready && smsReceiveOnly()) { ?>
<div class="alert alert-info rounded-0 border-0 border-bottom mb-0 d-flex flex-wrap align-items-center gap-2" data-sms-health="receive-only">
<i class="fas fa-fw fa-inbox"></i>
<div class="me-auto"><strong>Receive only</strong> - texts to your number come in, and nothing is texted out.</div>
<a class="btn btn-sm btn-info" href="text_messaging.php">Text Messaging</a>
</div>
<?php } elseif (!$ready) { ?>
<div class="alert alert-warning rounded-0 border-0 border-bottom mb-0 d-flex flex-wrap align-items-center gap-2" data-sms-health="off">
<i class="fas fa-fw fa-exclamation-triangle"></i>
<div class="me-auto"><strong>Texting isn't on</strong> - nothing goes out, and texts to your number aren't taken in.</div>