Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending an SMS to short code like 18100 changes it to +${COUNTRY_CODE}18100 #4853

Closed
bleadof opened this issue Dec 10, 2015 · 24 comments
Closed

Comments

@bleadof
Copy link

bleadof commented Dec 10, 2015

I was trying to send an SMS to the number 18100 and it got changed to +35818100 and the SMS didn't reach the correct number.

Some of these SMS short codes and service numbers are national or even per network, so adding country code to it changes the number. For someone who relies heavily on service numbers this might the biggest reason not to use Signal as main messaging app.

Here's the only quote I found on the topic declaring them national...

Short codes only work within one country, they are not international.

moxie0 added a commit that referenced this issue Dec 10, 2015
@moxie0
Copy link
Contributor

moxie0 commented Dec 10, 2015

looks like libphonenumber has incorrect data for finland, will be fixed in 3.8.0

@moxie0 moxie0 closed this as completed Dec 10, 2015
@bleadof
Copy link
Author

bleadof commented Dec 10, 2015

🎉 Awesome response time! 👍 🙇

moxie0 added a commit that referenced this issue Dec 10, 2015
@ghost
Copy link

ghost commented Feb 24, 2016

I was told to submit my debug log here as I have a similar issue. I get +38650001 when I want to send an SMS to 50001. I don't live in Slovenia though, I live in Kosovo where we don't have a country code assigned yet. My provider is uses the Slovenian prefix for its numbers. Here's the log: https://gist.github.com/anonymous/88ae7acfc839e8b48818

@Kadazo
Copy link

Kadazo commented Mar 23, 2016

I'm facing the same SMS short code's problem in Malaysia. I was intended to send SMS to 28882 but with the latest Signal v3.14.2 it still keeps adding the country code +60 in front of the short code automatically and it becomes +6028882. I've attached the log here:
https://gist.github.com/anonymous/ecc382e5c493ed8b29ea

Thank you!


In respond to Masha's suggestion, I would like to state my case here.

I've been using Android default SMS app to send short code for balance checking and which is a free service even though it sent by SMS.

After that, I gave it a shot to use Signal's SMS function and I found the same problem as OP that Signal will add country code in front of the short code automatically and eventually the message I sent seems like went into void as I didn't received any respond. (Normally I will receive a reply message by SMS.)

In fact, I notice that I have been charged for a SMS fee for the action above by checking balance with other SMS app. (As the message sent to +6028882 instead of 28882 by Signal.)

Make it clear here:

Signal:
country code + short code = failed to send to the correct number, SMS charge incur.

Other SMS app:
short code only = succeed, free of charge.

Hope the problem can be fixed in next update so that I can replace the default SMS app with Signal.

Thanks!


Additional informations:

Here's the outcome when I tried to enter short codes from 1 to 6 digits with Signal:

A) 1
B) 12
C) 123
D) 1234 <-- valid and succeed
E) +6012345 <-- invalid
F) +60123456 and etc.

I can affirmed the 4-digit short code is working in scenario D so I assume scenarios A to C are also valid in theory.
Start from 5-digit number in scenario E, Signal adding country code and making the short code invalid.

@2-4601 2-4601 mentioned this issue May 24, 2016
2 tasks
@flansch
Copy link

flansch commented Aug 20, 2016

Why has this issue been closed? I'm running Signal 3.16.1 and facing the exact same problem. When I'm creating a new message to the service number 31312 of my network operator "3" Austria, it is automatically changed to +4331312 and, after sending, the message is not recognized by "3".

@manwithnoname
Copy link

manwithnoname commented Oct 16, 2016

Same thing happens with me in Portugal.

Signal adds the +351 to the short (network) number and the sms fails.

@ghost
Copy link

ghost commented Dec 14, 2016

I have same issue where signal would add +1 to the number. Please fix it.

@riyapenn
Copy link

On some phones there is a setting to enable sending messages to Short codes or short numbers.
You will need to allow sending "Premium SMS".
Go to Settings > Apps > Signal > scroll to the permissions section > tap on the down arrow for the section "Send premium SMS" and choose 'Ask' or 'Always allow'

@ghost
Copy link

ghost commented Dec 15, 2016

I don't see the setting riyapenn is referring to. I am on 6.0.0.

@simoncpu
Copy link

simoncpu commented Apr 3, 2017

I'm having the same issue. There's no "send premium SMS" setting.

@skryzhny
Copy link

Same issue for me, can't use short numbers in Ukraine.

@ghost
Copy link

ghost commented Sep 29, 2017

I am not able to send a SMS to 19872 in Poland.
Signal automatically changes the number to +4819872 which result in failure to send SMS.
The number has to be 19872 without country code.
Please fix this.

Why is this closed, by the way?
It is a clearly a bug.

@moxie0
Copy link
Contributor

moxie0 commented Oct 2, 2017

@pwlbc Please do not post the same thing over and over again to multiple issues. It only means I have less time to fix things like this.

@ghost
Copy link

ghost commented Oct 2, 2017

Ok, sorry.

@drphr4ud
Copy link

drphr4ud commented Nov 12, 2017

I have the same issue on all my devices and I do not see a duplicate bug on this issue, yet it has been marked as closed. What gives ?

Edit: nvm. I found 5456 and 5866 are open and deal with the same issue.

@atenrok
Copy link

atenrok commented Nov 28, 2017

today is Nov 27, 2017. Every time when I need to reply a text from my bank I deactivate signal and switch to a default texting app in order send a one word text to a short number. Why the hell is this bug closed???

@atenrok
Copy link

atenrok commented Feb 17, 2018

Still the same issue. 5-digit number in US. Never sends a text

@Lundeful
Copy link

It's February 2019 and it still isn't fixed

@bleadof
Copy link
Author

bleadof commented Feb 27, 2019

I'm going to say something that is obvious, but something that is easy to forget. We're not paying for this service. This is open source. Respectful conduct in comments usually gets more similar kind of feedback. I'm sad that I'm too busy that I can't actually fix it myself.

@Lundeful
Copy link

Yes, you are right. I did not mean to sound rude or demanding. It was more to inform people coming here searching for answers that it is still an issue.

@ravinperumal
Copy link

On version 4.39.4 and still having the same issue.
Malaysian phone number global roaming in Australia.
All my local Australian numbers get automatically prefixed with a +61(Australian country code) although they are stored in Google Contacts without the country code when I try and chat using Signal to Australian numbers. No matter how I save my numbers in my Contact list they all get automatically pre fixed with the +61 in Signal.
From my local Australian number/sim(different physical phone) the same number(stored on both phones) does not get automatically pre-fixed. So it is only happening on my phone that is roaming. Both using the same version of Signal.

@NeoFromMatrix
Copy link

I'm currently on the 36C3 congress, they set up a own phone network where anyone can get sim cards and register a 4-5 digit number (as long as it's unique in the system)

This issue makes communication hard here. No matter if a contact is added or the phone number is typed, Signal adds a country code in front.

Receiving SMS works properly, the correct number is displayed.

@NeoFromMatrix
Copy link

I don't understand why this issue is closed, the problem is not resolved.

@bluelayer
Copy link

hey guys any solution to this? I can't send sms to "12345"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

15 participants