× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There is an example of sending a tweet from RPG in the EXAMPLE10 member that comes with HTTPAPI. Haven't actually run that one in years, but I would assume it still works?

I'm not sure that twitter makes a good substitute for sending a text to a phone, however.


On 12/11/2015 8:02 AM, Aaron Bartell wrote:
Actually, the beauty of open source is a solution is a Google search away
and the plumbing code is already written for you.

Ruby: https://github.com/sferik/twitter
Node.js: https://www.npmjs.com/package/twitter
Python: https://github.com/bear/python-twitter
PHP: https://twitteroauth.com/

The open source community is also getting better at documenting quick
starts in the README.md (mark down) files.

I could write an article about interfacing with PASE languages from RPG,
though Tony Cairns has already done most of that work:
- http://bit.ly/yips-rpg-call-php
- http://bit.ly/yips-rpg-2-pase
- http://bit.ly/yips-libpase


Aaron Bartell
litmis.com - Services for open source on IBM i


On Thu, Dec 10, 2015 at 8:44 PM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:

So we can expect an update then Aaron :-)

On Thu, Dec 10, 2015 at 8:15 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:

Awhile back there was a Twitter interface for I. Aaron Bartell maybe?
Set the Twitter app on their phone to show notifications it would be the
same as text as long as they had data coverage.

Wowza. That takes me back a few years :-) The tool is TweetMe4i:
http://mowyourlawn.com/tweetme4i.html

If I were to do it again I'd use Ruby/Node.js/Python/PHP instead of Java.

Aaron Bartell
litmis.com - Services for open source on IBM i


On Thu, Dec 10, 2015 at 6:50 PM, Jack Tucky <jacktucky@xxxxxxxxx> wrote:

Awhile back there was a Twitter interface for I. Aaron Bartell maybe?
Set the Twitter app on their phone to show notifications it would be
the
same as text as long as they had data coverage.

On Dec 10, 2015, at 6:39 PM, Roger Harman <roger.harman@xxxxxxxxxxx>
wrote:

Thanks Rob. Twilio is one that I saw.

For now, I think I can work in a pretty controlled environment -
5555555555@xxxxxxxxxxxxx as the phones should be company issued. Just
thinking down the road that (hopefully) the usage of this may really
explode. I think the sales team will love it. If so, a subscription
service becomes more viable.

Need to talk to our telephone switch guy to see if I might be able to
interface with that directly or thru some PC intermediary and just send
the
message.

________________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Rob <
rob.couch@xxxxxxxxxxxxxx>
Sent: Thursday, December 10, 2015 3:03 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] Send email as a text to cell phone

Roger,

I am not in my home office... but I can tell you that Twilio will
allow you to sms for like .002 cents... yes... that is two tenths
of
a
penny.

If I was in my home office, I had another api for a company that
would translate the number to a provider. then you can email for
free
after the first use. I think it was a few pennies or less per
number.
They are considered to be a SMS Gateway.

I know Twilio uses a escrow system, you charge it up and recharge
when the bucket runs low.

Twilio can do many many things... I also use it along with
OpenVBX
to run a phone system for a small office.

https://www.twilio.com/

After a quick google... TextMagic is the SMS Gateway... I think
TextMagic is who I used.

But then you have to match the Carrier String to that in a table you
keep that matches Carriers to domain names...

Such as "T-Mobile" to "tmomail.com"

If you know the Carrier, which if it is a controlled group, get the
info
up front when you get the cell number. some carriers it is as simply
as
number@xxxxxxxxxx. Others have number prefixes or suffixes. You
can
google each carriers policy on sending an email to an sms text
message.

Hope that helps...


On 2015-12-10 16:46, Roger Harman wrote:
As a side project, I'd like to investigate sending some
notifications
to sales reps via text message. Currently, we send emails.

Any recommendations for a source/api to retrieve the carrier for a
given number? I've seen a couple via Google but wondering if anyone
has
real-world experience with this.

It has to be a VERY low (or no) cost implementation - at least for
now. No commercial products.

Thanks.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.