I am able to send text to the mobile which has Verizon network using simple SMS gateway as follows:
#!/bin/bash
mail 1234567890#vtext.com < sample.txt
Above Code sends the data of sample.text to phone number - 1234567890
But SMS gateway is not working for mobile with AT&T network. For example, following code does not work.
#!/bin/bash
mail 9876543210#txt.att.net < sample.txt
I have gone through the following link as well but for AT&T networked phone, its not working.
https://unix.stackexchange.com/questions/203751/is-there-any-way-to-send-sms-to-a-mobile-number-using-shell-script
Any help would be highly appreciated.
Update:
sample.txt is just a text file with let's say just 1 line
Hello World
Also the server is same. From this server, I am able to send text to Verizon networked phone but NOT to the AT&T networked phone.
Related
I'm trying to figure out how to send a SMS from Flutter without using a SIM CARD.
I have a list of contacts followed by the password of each user stored in two seperated Columns in Excel sheet, I'm trying to read these contact in flutter than send the password of each user via SMS services.
Almost every plugin requires a SIM card, but my app would be so much better if its a desktop app.
Thank you.
You can use a service like Twilio to set up a phone number that can be used to send texts. This works by interfacing with the Twilio API over the internet to send your request (what number you want to text, and what the sms content should be, etc) and then Twilio will send the corresponding text message.
Email a Text
Another method, albeit clunkier compared to the others in this article, is to send a text message via email. Each wireless carrier has an email formula for doing so. For example, to send a text message (SMS) to an AT&T user, email "number#txt.att.net," but replace "number" with a 10-digit phone number. To send an MMS (multimedia message, such as a photo) email "number#mms.att.net." Check with the carrier or reference this list of carrier email addresses.
The issue here is the email could end up in the recipients' spam folder or get lost in the shuffle since it will look differently from standard email addresses. You must also know which carrier the recipient uses.
https://20somethingfinance.com/how-to-send-text-messages-sms-via-email-for-free/
I have Raspberry Pi 3 and Huawei Dongle and SIM Card (attached screenshot)
My SIM Card working find and send SMS well from Smartphone.
I'm trying to send SMS from the Raspberry, i follow this tutorial (https://learnaddict.com/2018/02/17/send ... gsm-board/) and i'm getting an Error ("No response in specified timeout. Probably the phone is not connected")
I googled it a lot to find a soultion to this problem, but nothing help
My devices
The ifconfig
The Gumma config
The Error
U can't set PORT on HiLink, try this:
Sending and receiving SMS by command line with Huawei E3131 and HiLink on a debian system
It work with Huawei 3372h.
Probably u need to change session and token link.
I know how to make a TCP connection from a phone to a URL (server)
I know how to make an HTTP connection from a phone to a URL (server)
I do not know how to make a connection from a server to a phone
Is there a way to use the phone number of a phone to bridge from voice network to data network of the same provider (VERIZON or AT&T or ROGERS in Canada)?
In essence I wish to find a way to make a "phone call" from a server, over the Internet and over the local data network or WiFi, to a phone, without using any intermediaries
We are willing to pay for this info (optionally)
You can use Push Notification Systems for connecting to the phone. Ideally, you'd want to initiate a pull of data from the device when it receives a push notification from your server. This is because push notifications can handle only small amounts of data.
Another option for you, would be to open a socket on the client device and broadcast this address to your server during startup. Later, your server can directly connect to the listening port on your device, provided the app is still running.
You could send a push message to the phone and let the phone establish the connection.
Just a rough short sketch, maybe this will help you. If I'd had to solve that problem
i would use androids Cloud2Device messaging to tell the phone to connect to a certain
server which you specify in the message from the cloud. Then the phone connects to your command server and you can tell over the connection what the phone should do.
This way you dont have to execute a server on the phone.
Look here
My Ideas
1.Have a look at http://developer.android.com/reference/android/net/sip/package-summary.html
2.Use C2DM(cloud to device message),It will send the message to your app
3.Use XMPP chat client from the server you can send the message to android app after receiving message your app can call(it depends on your logic)
There is no universal one-to-one mapping between cellular phone numbers and IP addresses (e.g. the user could have driven out of cell tower range to a coffee shop with wifi). So this is impossible to do directly.
The services that do seem to do this require a running app on the mobile device to cooperate by periodically connecting to some centralized database using its current IP address, which some server can record in its database for you to do a lookup when want to try to connect to that mobile device. Google "SIP service providers".
I was developing a simple SMS application using the Email-SMS Gateways that various Phone companies provide.
So for instance you can send a SMS message by appending a carrier specific email suffix to the mobile number. i.e for AT&T:
For the phone number 111-222-3333, it's corresponding Email is 1112223333#txt.att.net
The specific Mobile provider that I am trying to send/receive from is China Mobile (中国移动通信集团公司). I have found very extensive lists for virtually all other carriers (Both US and International), but can't seem to find one for this Chinese Carrier.
So my question is:
Is there a public Email-SMS gateway (Such that you could fire an SMS message from a standard email client or server-side scripting langauge like PHP)
If not, then is there any way to get around it, via other services (legally of course).
Thanks
I just found this. This seems useful. I'm gonna test it soon for my company.
http://www.now.cn/mobile/ (In Chinese. The English version doesn't seem to have the information about SMS sending)
Plan 1: 1000 SMS for 99 RMB.
Plan 2: 5000 SMS for 449 RMB.
Plan 3: 20000 SMS for 1699 RMB.
It might be blocked in China (best way to see this is to check if other Chinese carriers offer this).
If no public e-mail address pattern is found for China Mobile, try another service that already provides this for CM and check if they have an API.
I'm using the MFMailCompose method to do an inApp email and everything works fine. I sent the app out to have it tested and here is the response from my beta tester.
My phone is a 3gs 32Gb, OS3.1.3
Tested at home over wifi, send works with no problems, tested twice.
Tested again over 3g, send still does not occur until I open my mail box, error still pops up.
Has anyone come across this? His problem seems to be only when trying to send via 3g. It works for me but I'm with a difference carrier. It has to be a settings, but we checked everything. Has anyone come across this?
If it works over Wi-Fi and not over 3G, then it's most likely because his device is set to send mail through an outgoing mail server (SMTP server) that restricts connections based on the network you are connected to.
For example, if you have broadband service through FooBarNet, they might tell you to use an outgoing mail server smtp.foobar.net. If you connect to that network while you're at home, the server will allow you to send mail. But if you try to connect to it from another network (e.g., your cellular phone's data network) it will reject the connection, assuming you are trying to hijack its mail server to send spam.
In other words, this has nothing to do with your app. You can verify this by using the Mail app to send mail directly.