-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Currently, the Mailrise Docker image cannot use cmd:// URLs for executing local scripts, which prevents sending SMS through custom scripts.
I have a local sms gateway that I want to use but i cannot use into configuration something like
configs:
sms:
urls:
- cmd:///etc/script.sh
When call the script in the logs of container I can see cmd://etc/script.sh, so the triple slash is translated to double slash and the script is not executed. Another option is to use a curl command instead of my script, similar like from postman
postman request POST '192.168.1.30:8080/message' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic gdfhvtrvryuvvtu' \
--body '{
"textMessage": {
"text": "Hello!"
},
"phoneNumbers": [
"+123456789"
]
}' \
--auth-basic-username 'user' \
--auth-basic-password 'pass'
Can I do this? I've searched into documentation but still cannot make this running
Metadata
Metadata
Assignees
Labels
No labels