tijder / SmsMatrix

A simple SMS <--> Matrix bridge.
https://matrix.to/#/#smsmatrix:matrix.org
GNU General Public License v3.0
214 stars 37 forks source link

Calls and incoming SMS are other numbers for same Phone number #14

Open tijder opened 6 years ago

tijder commented 6 years ago

Some telephone numbers are calling with 0612345678, but are SMS with +31612345678. Now the bridge creates multiple rooms for the same telephone number.

Gredin67 commented 6 years ago

I never encountered this issue, probably because I try to store all my numbers in the international format +31612345678. Or does the format of the incoming phone number depend on the GSM-provider? I guess this can be considered as a turnaround. Otherwise a provisory (would work for people that communicate mostly in one country) solution could be to test if the number has no +, then remove 0 and add +31. This requires to ask the user for its phone international identifier in the app settings.