As I discussed earlier in my previous post, one of the use cases of RBox is for management of remotely deployed GSM-sim card for sending/receiving sms. You might wonder why would someone deploy their Sim card in a remote location rather than inserting it in a phone and keeping it close to your body. Well, there are many reasons why remotely deployed sim card would make sense, so far I could think of following reasons(do let me know in comments section if there are other use cases).
- When on international travel, your sim-card may not have roaming feature enabled.
- You might be located outside gsm coverage area, but you are in need of sms send/receive functionality.
- You may have multiple sim cards, but want to access them from centralized location.
- You might want to setup your own sms-gateway for sending/receiving sms over internet.
- You might have remotely deployed sensors sending the data via sms, and you want to collect all sms data from a central gateway.
There might be many other reasons why someone would deploy their SIM card remotely, but whatever you decide to do with this kind of setup, ensure that your SIM card is deployed at a safe and secure location to avoid possible misuse.
In simple words, this solution allows you to keep your SIM card connected to the internet and you can access it from your xmpp-client(or google-hangout) using your handheld mobile device.
You need following items to prepare this setup:
- SDCard image(download it from here, RBox is an open source project hosted on github)
- Raspberry pi
B orB+ - Micro or full size SDCard
- Huawei E173 USB 3G stick
- Sim card(ensure that SIM is not locked with pin)
- 5V/2A power supply.
- Two google(or jabber) accounts(one for you, second for your raspi)
Solution shown above, uses Huawei e173 USB 3G Modem connected to your Raspberry pi B+ and further on Raspi is connected to internet via home router. Here you can find the details about preparing the SDCard. If everything goes well, you shall see raspi being online on your android xabber app(or on your google-hangout). Send "Help" chat message and the raspi will reply will list of supported commands.
You will notice that when RBox is booted without USB-3G-stick, sms/sim related commands from the "Help" list will be missing because of missing USB-3G-stick hardware.
Before switching on the setup, ensure that password-unlocked SIM card is inserted into USB-3G-stick and a 2Amp capable 5V power supply shall be used.
Note: Ensure that both the google(or jabber) accounts are known to each other by authorizing the contact, you have to do this separately on your PC before switching ON the raspi.
How to read SMS?
- Send "Smsupdate"
- Immediate reply "InProgress : taskID=1" will be received
- nothing happens for 3-to-5seconds(dont panic, just wait)
- If everything goes well, reply "Success : taskID=1" will be received, else "Fail : taskID=1".
- Send "Smstotal"
- reply will look like: "Success : 2" this means total 2 messages are read from sim to cache
- send "Smsget 0" to read first message, or "Smsget 1" to read second message.
How to delete all SMS?
- Send "Smsdeleteall"
- Immediate reply "InProgress : taskID=2" will be received
- nothing happens for 3-to-5seconds(dont panic, just wait)
- If everything goes well, reply "Success : taskID=2" will be received, else "Fail : taskID=2"
- To know if all messages are delete, follow the steps above in section "How to read SMS"
- If you notice there are still undeleted messages, Repeat the step 1 to 4(hopefully in future version of RBox this problem will be fixed).
How to send SMS?
- Send "Smssend 009198xxxxxxxx hello this is a test message"
- Immediate reply "InProgress : taskID=3" will be received
- nothing happens for 3-to-5seconds(dont panic, just wait)
- If everything goes well, reply "Success : taskID=3" will be received, else "Fail : taskID=3"
- If you notice sms was not sent, just skip "0091" international+country code and try again.
How to do voice dialling?
- Send "Dialvoice 009198xxxxxxxx"
- Immediate reply "InProgress : taskID=4" will be received
- nothing happens for 20 to 25seconds(dont panic, just wait, dialling might be in progress)
- Call ringing will happen for 20 to 25seconds, if caller picks the call, then he will hear nothing
- After 25seconds call will be disconnected automatically and reply "Success : taskID=4" will be received.
- As of now, there is no specific use of this blank call, but future RBox release would include auto playback of recorded message to notify certain events for automation use case.
How to Dial USSD codes like *101#(useful for knowing balance amount of prepaid SIM)?
- Send "Dialussd *101#" (this number may vary depending on the provider)
- Immediate reply "InProgress : taskID=5" will be received
- nothing happens for 3-to-5seconds(dont panic, just wait)
- If everything goes well, reply "Success : taskID=5" will be received, else "Fail : taskID=5"
- Send "Readussd" to know the return text of last ussd-dial.
30 comments:
sir this is a great project. i want to ask you a question. how to send a message to multiple numbers using this setup. or how to create a list. concept of bulk sms.
Very informative article, for those who wants to stay connected with everyone even when they are traveling or not have cell phone/Sim card with them, can get beneficial from RBox.
Hello Albert,
Thanks for this article. I got to this page from your post on Quora "How do you start your own SMS gateway?" I am in the US and developing some applications that will target users from Cameroon(Africa) and I will like to setup my own gateway to send sms to people in Cameroon if possible. Will your solution work or is limited to the US. How can I make it work for sending sms to Cameroon or through whatsapp?
I've created an open source soulution built using PHP and mysql you can find it at https://selfhostedsms.com It has integration with more than 150 gateways or even your own device, you should have a look
I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. help with dissertation writing uk I would like to thank you for the effort you made in writing this article.
I’m usually to blogging and i actually appreciate your content. The article has genuinely peaks my interest. I’m going to bookmark your web page and maintain checking for new details. I am looking for some good help with assignment helper blog sites for studying
The post is really superb. It’s varied accessory information that consists during a basic and necessary method. Thanks for sharing this text. The substance is genuinely composed. This web log is frequently sharing useful actualities. essay writing service Keep sharing a lot of posts.
Thanks a lot for this article about proofreading. I think this material will be useful for a lot of people. Nowadays there are a lot of sources where you can find interesting tips. Speaking about my personal baseball letterman jacket experience I use the source where everyone can buy nursing concept map
I clearly stumbled upon your weblog and favored to mention that I’ve truely loved reading your blog posts. anyhow I’ll be subscribing in your feed and that i wish you submit once more quickly. Please keeps it top posting! rip wheeler yellowstone jacket thank you a lot, I recognize your work.
The content on the site has been designed with the idea in mind that you will be able to share your own unique identity as an author and creator of videos. For this reason, the video that you upload to the site will also be your name and your business identity. This is a great way for you to showcase your voice, your talents, and your personality to buy tiktok followers uk.
In addition to this, you can also buy instagram followers uk, which will help you save more money. because you are assured that you will get to get the product you want at the best price when you order from this online store.
Very informative article. I would like to share with you a new article which is about spacebar test a modified keyboards spacebar has been modified into a smart bar for improved performance. Get to know the emphasized potential on how to take the online for free. Visit here and learn more.
A PLC splitter or Planner Lightweight Circuit is nothing but a passive optical splitter that is created from semiconductor technology. They have such a close resemblance that manufacturers make the PLC splitter out of the same material that semiconductors are made of. The entire system of this splitter consists of input and output arrays.
Saya sangat senang saya menemukan posting ini karena menjawab semua pertanyaan yang saya miliki dan banyak lagi. Ketika saya mengikuti tes buta warna online, saya menyadari betapa pentingnya menggunakan metode yang berbeda untuk menyampaikan informasi. Hal-hal seperti tekstur atau simbol dapat sangat membantu dalam memastikan bahwa setiap orang, terlepas dari kemampuannya untuk melihat warna, dapat mengakses informasi dengan mudah.
The author's writing style is so engaging that I felt like I was having a conversation with a close friend. It's rare to find such authenticity in blog posts these days color blind test for kids it empowers children to navigate a colorful world with ease. I'm grateful for such a valuable tool.
I always check your blog.Utilize the Scroll Wheel Test, a straightforward yet useful tool, to improve your scrolling abilities.
Great article, thanks for sharing this valuable information! I recently experienced some frustrating packet loss issues while gaming, and I found that running a Packet Loss Test helped identify the root cause. It's a handy tool to troubleshoot network problems.
Your optimistic blog is a mood booster, and I'm thankful for the uplifting content. Dealing with a PS5 Controller Blinking Blue & Not Syncing issue can be a headache, but these steps gave me the guidance I needed to resolve it.
知識の幅が広く、読むのが楽しいです。いつも学びがあります。Core Ball Gameの魅力に取り憑かれ、VPNを駆使して学校やオフィスでの制約を突破し、ボーナスを上手に収集しています。
Admiring the professionalism and depth of knowledge displayed. The world of Minecraft Horror Mod is incredibly immersive! Whether battling the undead at DeadMC or role-playing at the spine-chilling FNaF MC Network, these servers bring the horror genre to life within Minecraft.
Your blog is a treasure trove. Simple yet effective tips for enhancing mouse jitter click test.
Thank you for the motivation and inspiration your blog provides – it's exactly what I need to keep pursuing my dreams with determination! Discover the joy of Unblocked Retro Bowl and create memories that will last a lifetime!
Contributing to technology write for us could be an excellent opportunity for tech professionals to share their expertise and insights with a global community.
Thank you for your uplifting and engaging content – your blog always leaves me feeling inspired and motivated. Take the Color Blind Test Online to identify any potential color vision deficiencies, ensuring accurate perception of the world’s colors.
This is one of the best articles I've read on the topic.1v1 lol Unblocked
is perfect for quick gaming sessions between classes. No need to commit to long matches.
Your posts always resonate deeply with me. Thank you for sharing your wisdom and unique perspective with such grace. Explore this profile for more in-depth content. In Geometry Dash Game, every level is a rhythmic puzzle that tests your precision and focus.
This was so helpful! I’ve been looking for ways to improve my workflow, and your suggestions are spot on. Thank you for the valuable content!Visit this profile click test
for more informative content.Loving the challenge the click test provides. It’s a cool way to measure progress and compete with others. Anyone else find themselves doing this daily?
I’m so grateful for your detailed explanations. You’ve helped me a lot more than other resources out there. Amazing post. Visit this profile canuckle game for more content. I love the concept of Canuckle! It’s a fantastic way to test your vocabulary and your knowledge of Canada. The daily puzzles are the highlight of my day.
Thanks for giving us readers a fresh take on something that’s so often discussed. Visit this site CPS Test for more informative content. This click test was oddly satisfying. I didn’t expect it to be this engaging!
I appreciate how you cover every angle of a topic. It makes your blog a one-stop resource. Visit this site Click test for more informative content.This site does exactly what it promises – a fast, fun click speed test. Loads quickly, works smoothly, and is very addictive.
Post a Comment