fix(sms): stop sending platform to the relay gateway

With platform "kave" (Kavenegar) the gateway answered "cURL library is not
loaded" and nothing was delivered. The body is now { phone, host, text } and
the gateway picks the line itself. SMS_RELAY_PLATFORM is removed from the
driver, docker-compose and the env examples.

Tests: sms.service.spec updated. 150 tests pass.

پیامک بدون انتخاب خط کاوه‌نگار فرستاده می‌شود و سرویس پیامک خودش خط را انتخاب می‌کند.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
s.esmaeili
2026-10-10 16:34:57 +03:30
co-authored by Cursor
parent c34bf80e6f
commit 797d030e67
7 changed files with 10 additions and 30 deletions
-1
View File
@@ -56,7 +56,6 @@ services:
- SMS_RELAY_URL=${SMS_RELAY_URL:-}
- SMS_RELAY_SECRET=${SMS_RELAY_SECRET:-}
- SMS_RELAY_HOST=${SMS_RELAY_HOST:-}
- SMS_RELAY_PLATFORM=${SMS_RELAY_PLATFORM:-}
- SMS_TREZ_URL=${SMS_TREZ_URL:-}
- SMS_TREZ_USERNAME=${SMS_TREZ_USERNAME:-}
- SMS_TREZ_PASSWORD=${SMS_TREZ_PASSWORD:-}