|
|
|
|
|
by saarons
3675 days ago
|
|
So I've actually been doing this in various forms for the past few years. Mind you I actually chose to go with Plivo (a competitor) instead of Twilio, a decision I'm still thinking about to this day (MMS primarily). The way it works for me is I actually use Slack as the interface to my contacts. Each person is their own private slack room. I use it just like any other, I send them slack messages and it sends them a SMS and vice-versa. So far it's been pretty great, I get to take advantage of all of Slack's clients and I just write the code that transits the messages using the Slack API. What's really fun is that I'm starting to allow slash commands so that my friends can use some of them in the rooms with me and we can have sort of a shared chat-bot experience over regular SMS. If anybody is interested in seeing the code, some parts of it are already open source[1]. The most interesting piece is the dialer, as someone in the thread pointed out, setting the caller ID on the outbound is tricky. On Android there are actually APIs that can intercept outbound calls, manipulate the number, and make the call to my gateway and then input the actual number as DTMF codes followed by a terminator. It doesn't always work but in 95% of cases I've never had a problem. [1]: https://github.com/saarons/ward |
|