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:
@@ -36,8 +36,6 @@ SMS_RELAY_SECRET=
|
||||
# Docker it is the container's 172.x), the public IP is looked up once at boot.
|
||||
# Setting it explicitly on the server is the surest; the boot log shows the value.
|
||||
SMS_RELAY_HOST=
|
||||
# "kave" (default, Kavenegar) or "default" to let the gateway pick the line.
|
||||
SMS_RELAY_PLATFORM=
|
||||
# trez — only used with SMS_PROVIDER=trez.
|
||||
# Defaults to the reference endpoint when unset; override for staging.
|
||||
SMS_TREZ_URL=
|
||||
|
||||
Reference in New Issue
Block a user