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:
+2
-2
@@ -208,8 +208,8 @@ container.
|
||||
`SMS_PROVIDER`: `relay` (default), `trez`, or `none` (D26).
|
||||
|
||||
- **relay**: `SMS_RELAY_URL`, `SMS_RELAY_SECRET` (both have built-in
|
||||
defaults), `SMS_RELAY_HOST` (blank = the machine's first external IPv4),
|
||||
`SMS_RELAY_PLATFORM` (`kave` default, or `default` to let the gateway pick).
|
||||
defaults), `SMS_RELAY_HOST` (blank = the machine's first external IPv4).
|
||||
No `platform` is sent; the gateway picks the line.
|
||||
- **trez**: `SMS_TREZ_URL`, `SMS_TREZ_USERNAME`, `SMS_TREZ_PASSWORD`,
|
||||
`SMS_TREZ_SENDER_LINE`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user