OneUptime / oneuptime

OneUptime is the complete open-source observability platform.
https://oneuptime.com
Apache License 2.0
4.84k stars 227 forks source link

Support alphanumeric sender ID for SMS notifications #1718

Open HarukaMa opened 2 months ago

HarukaMa commented 2 months ago

Is your feature request related to a problem? Please describe. Twilio supports sending SMS from alphanumeric sender IDs to supported countries without having to buy a phone number. However, in OneUptime, the Twilio config only supports phone number as sender ID.

Describe the solution you'd like Add a new config twilioSMSSenderID for SMS, so users can use alphanumeric sender IDs for SMS notifications. twilioPhoneNumber should still be used for phone call notifications.

Describe alternatives you've considered I don't think there are easier alternatives for this.

Additional context Twilio's API accepts alphanumeric sender ID in the From form field, so the API part doesn't need any changes. I tried to hack it by directly modifying the database, but as the database is controlled by ORM, it doesn't work.