draven has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Paging in Perl
by kschwab (Vicar) on Sep 09, 2002 at 18:46 UTC | |
Good luck ! Update:This link has fairly decent information on which paging providers support SNPP, WCTP, etc. Also shows host and port names for the services. | [reply] |
by Xaositect (Friar) on Sep 09, 2002 at 23:51 UTC | |
I'd be far more messy than having a nice builtin perl module, but I suspect it wouldn't be that difficult to get the format of the form submission and write a script to send requests to it. | [reply] |
|
Re: Paging in Perl
by Ovid (Cardinal) on Sep 09, 2002 at 18:25 UTC | |
That's not a function of Perl, it's a function of your pagers and their service provider. Check your documentation to see how you can page them. Must you call them and enter a number? If so, you'll need to have your script talk to a modem. Many providers, however, have methods of sending pages via email. Perhaps contacting your pager service provider would be a better way to go. Cheers, Join the Perlmonks Setiathome Group or just click on the the link and check out our stats. | [reply] |
by draven (Initiate) on Sep 09, 2002 at 18:48 UTC | |
| [reply] |
|
Re: Paging in Perl
by Helter (Chaplain) on Sep 09, 2002 at 18:56 UTC | |
Here's a node that sends an e-mail to a pager when a webpage changes: Ebay, my pager and my dad I hope I have not mis-understood your post. If in fact you were refering to paging, like sending some sort of instant message, try Net::AIM, and an example AIM Offline Messaging Bot or Power Failure Notify via AIM. After a little more searching I found Power Failure Notify via IRC, and there he uses Net::IRC and mentions using net::msn, but I could not find it at CPAN. Good luck! Update: Teach me to take too long to post! | [reply] |
|
Re: Paging in Perl
by mjeaton (Hermit) on Sep 09, 2002 at 18:29 UTC | |
mike | [reply] |
|
Re: Paging in Perl
by fglock (Vicar) on Sep 09, 2002 at 19:09 UTC | |
There are also many SMS (short message service - for cellular phones) available. Look in SMS. | [reply] |
|
Re: Paging in Perl
by dws (Chancellor) on Sep 10, 2002 at 00:03 UTC | |
My cell service is through AT&T. They support SMS. I use this script to send myself an SMS message when certain interesting things happen on my server.
| [reply] |
by Anonymous Monk on Jun 28, 2007 at 17:34 UTC | |
Anyhow, here's the code I'm using:
sub send_wctp_old{
#my $url = "http://wctp.cingular.com:80/WCTP";
my $url = "http://wctp.att.net/WCTP";
print "TestEPaging::send_wctp_old()--Sending via WCTP to " . $url . "
And here's the error output I'm seeing: TestEpaging::main()--to=4255333734 TestEpaging::main()--from=1111111111 TestEpaging::main()--message=Hello TestEpaging::main()--protocol=WCTP TestEPaging::send_wctp_old()--Sending via WCTP to http://wctp.att.net/WCTP TestEPaging::send_wctp_old()--Created new UserAgent TestEPaging::send_wctp_old()--Sent request TestEPaging::send_wctp_old()--Message failed - 500 Can't connect to wctp.att.net:80 (connect: Unknown error) Content-Type: text/plain Client-Date: Thu, 28 Jun 2007 16:35:30 GMT Client-Warning: Internal response 500 Can't connect to wctp.att.net:80 (connect: Unknown error) Any advice is much appreciated. Thanks! Karim Varela | [reply] |
by dws (Chancellor) on Jul 03, 2007 at 04:56 UTC | |
That script is five years old. In internet time that's ancient. I don't it anymore. You'll need to reverse engineer the current AT&T SMS website to the the correct URL, or use one of the fine modules available on CPAN. | [reply] |