Closed erikhb closed 3 years ago
Hm I didn't know that there is something like alphanumeric SMS SenderID's. I think I should add support for it independently of the provider without a fake-number (e. g. @sms_YOURBANK:matrix-local). I'm going to do it the in next few days. Thanks for the hint! See https://github.com/benkuly/matrix-sms-bridge/issues/7 for progress.
Alphanumerical SMS SenderIDs are widely used by automated SMS services (2-factor auth, online banking, cc information) for one-way communication. As gammu uses the senderID as the number in the filename, the matrix-sms-bridge fails to verify the phone number. This quick hack of the gammu provider enables processing of the files and uses a configurable fake number for those messages. All messages from alphanumerical SenderIDs will hence be send into the same matrix room (with the configured fake number). The behaviour can be controlled via the config properties alphaSender (boolean) and alphaFakeNumber (string).