Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm working on a web app in ASP.NET that needs to send text messages programmatically. What is the best way to do this? Do I need to know the carrier for each phone number and use each carrier's email-to-text format (i.e. number#vtext.com for Verizon)?
I found this list and some others like it online, but there's no post date on the article, and I'm leery of using those in production without having tested them first.
For free, yes, you can just send to number#gatewayaddress. This has the unfortunate side effect, though, that all your customers need to input who their carrier is. If they switch carriers they need to switch their carrier in your system, too. Here is a list of SMS gateways on wikipedia.
Other alternatives can be using a pay service. One of them that I've used and been happy with so far is twilio. With a service like twilio you can just send a message to a number, and it will find it no matter what carrier they have. In addition, you do have some capabilities for return messages, although I didn't delve into that too much.
EDIT: One more comment about the SMS Gateways: They will change more than you'd like them to. Everytime someone buys someone they phase something out, or sometimes they just decide on a whim to change them. At least with twilio you're only on the whim of one company (whose very invested in keeping it the same).
If you have the budget, I'd consider using an SMS service. They wrap everything into a nice API and handle all the leg work for you.
There are a ton of SMS services out there too. I've used 3 different ones, each has their pluses and minuses, and (I think) a .NET API. In order of preference:
Twilio
Nexmo
Tropo
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
My question may be seem too wide, but am kindly requesting for a guide or rather a starting point.
I have a project in which am required to develop a system that will control a Cash Deposit Machine. All activities like getting the amount of notes in the machine and others can easily be done from the system.
During my research, i found out that the machine uses a dll called libglorycolx2010.dll and many other modules, and that i can use Serial Port Communication to communicate with the machine.
Has anyone here ever handled such a project? How can this be implemented.Reference tutorials or links will be of great help.
Edit: I searched for documentation related to that dll and was only able to find phishy looking download sites. Assuming you don't have the documentation, your best bet is to contact the manufacturer and/or distributor of the deposit machine and find out who makes the software, and from them obtain the documentation.
The framework has built-in support for serial port comm. See the documentation and a simple example. Make sure to read up on the documentation of the deposit machine to ensure you're using the right port settings.
SerialPort provide everything you need as a turnkey solution in the .NET Framework. It easily take cares of parameters (Serial Port name, baud rate, and so on), communication, etc. I always use it when doing Serial Communication.
If you need to experiment with SerialPort, install TeraTerm and any software allowing you to virtualize paired serial port on your developing system, so you can experiment quickly and independantly from your target Cash Deposit Machine.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
this is the first time that I'm encountering this issue so I wanted to shed some light on this matter. I'm building a .NET MVC application which consumes a JSON web service, and the response messages from that server are written in chinese mandarin language. With each message comes a corresponding status code with it's English translation (not in the reply itself but documentation). So later on I noticed that not all errors are covered in the documentation and that I don't have their status code thus I don't know what they mean except I translate them through google translate. I figured if I used some kind of translation library that offers this kind of service where I can translate Chinese mandarin into English, it would be really nice.
What would you guys suggest I' should do here?
Every advice is helpful as I want to maintain the code as simple as I can without including any extra library that I don't really need.
Thanks a lot ! =)
P.S. so the respons message example is like following:
该运输方式不可用
Which would translate to:
The shipping method is not available
What if you used the google translate api? https://cloud.google.com/translate/docs/translating-text
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for a library (library for Java or C # or Vb.net) that will let me call a number through a VoIP service
I am interested in a really small library because I just need to call and hear the voice of the receiver using this data for call setup
SIP server (or proxy, or domain) sip.sipserver.com
SIP proxy (or "Outbound Proxy") leave blank
STUN server stun.sipserver.com
Username (or User ID) Myusername
Password Mypassword
Auth name (or Auth ID) Myusername
Display Name My name
Register (or Send registration request) Yes
G729a Codec Name (for buggy Linksys/Sipura/Cisco ATAs) G729.
The default codec name in those adapters is set to non RFC compliant "G729a" and might not work with our service, go to Admin/Advanced/SIP menu in ATA settings to change the codec name.
Registry Expiry (or Registration interval) 120 sec (2 minutes) if your SIP client is behind NAT router.
If there isn't a library like that, or are too complex for my goal, maybe Java or C # have built something that allows me to hear the voice of the person I'm calling?
SIP&RTP (sip + audio) libraries I know and I have been using are not really small, because there's a lot to do to write that library and it has to weight a bit. It depends what you consider as small size?
For .NET I would recommend:
PJSIP - Open source
Counterpath SDK It's commercial, not a cheap one for sure but really great. Jest mentioning - based on your post you don't need that capable library. Still - good to know that lib exists
With Java I've been using Peers: link. It had some issues at the time but I don't think You would have to struggle with them. Your application wouldn't use those problematic parts of library.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
So Yet another SMS question :-)
I researched, but could not find a solution to my requirements.
I do not have a GSM modem, nor can I pay for any Third-Party software for sending SMS. Also I spent quiet some time learning SMS gateways. But when I experimented with it, it failed.eg: I emailed number#textin.in but no message was received at the receiver's side!
The application I am building takes up phone-numbers from a database and sends a different SMS to each number depending on certain condition.
Being a student, I just have to look for Free websites like
http://site3.way2sms.com/content/index.html and others,but don't know how to use them programatically!
So my straightforward question is : "How can I send SMS using just the internet?".
My SMS recipients will all be resident in India. And language is C# using Visual Studio 2010.
Please Help......
Use web requests !
Here is a great examples of Web requesets usage : WebResourceProvider using C#
All you need is just inspect web portal structure and run your web bot. There could be Usual bot's trouble with Captcha but you can google solutions where you can get media (picture of captcha) to your application. (I think that is another question)
You will need to find an SMS provider that provides an API for you to access programatically.
Unfortunately, I don't think you will be able to find any provider that will let you send large amount of texts free.
Some of the providers discussed here may be useful: https://stackoverflow.com/questions/238579/free-sms-api
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a library / framework that would allow me to easily achieve this:
Minimal message size (ideally something like - [16 bit message id] + [variable length message parameters]).
Needs as little plumbing code as possible.
TCP communication.
Handles dozens of connections easily.
Bidirectional communication.
I would like to use WCF-like approach, in which I would create contracts (operations and data) and would share that assembly with both clients and server. Or maybe there are some minimalistic bindings I could use - something even lighter than NetTcpBinding?
Lidgren.Network is a very simple library which is easy integrated to any project. I've tried it out a little and it's very easy to use. Give it a try.
http://code.google.com/p/lidgren-network-gen3/
You might wanted to check out Photon http://www.exitgames.com/
For the protocol format, I would look into Google's ProtoBuffers. There are numerous languages supported, including C#. The serialization is small, wicked fast, extendable, and easily upgraded version over version.
As far as transport is concerned this can be more difficult. Frankly .NET's WCF is not up to the task. Raw TCP/IP built on Sockets is difficult to manage properly. Even building upon the TcpListener can prove difficult but it is possible.
So what's a good way to go? Well that is difficult to answer given the bi-directional requirement. I'm not sure I can point to any one library and say it has the right answer. There are several available and all have their strengths and weaknesses. A lot is going to depend on more specific requirements of your project. Good luck ;)