I also remember text pagers from the 90's. They usually came with paging software that dialed a phone bank's modem and transmitted the message along with the pager's serial id. There was no universality; in other words, an AT&T pager could not receive messages by someone dialing into Southwest Bell's paging network.

Anyway, here's what you need to do: First, determine the protocol being used. You'll need to know stop bits, parity, data bits, as well as what the modem at the other end of the line is expecting with respect to pager ID's, message packets, etc. This info used to be available by googling (I think back then I used Lycos or Yahoo actually). I seem to remember something about TAP protocol. Maybe you can even search CPAN for a TAP module.

Once you know this info, open a serial connection to your modem. Talk to the modem just like we did in the old days with a terminal screen; ATDTxxxxxxxxxxxx for dialing the number, ATH to hang up, etc. Once connected, you'll have to talk to the serial connection with the system-specific information to send the page.

Opening the serial connection to your modem shouldn't be that difficult; there are plenty of modules that deal with serial devices, though some of them are OS dependant.

The hard part will just be deciphering what protocol the paging service expects. That will take some homework.

You may find it easier to just send the message as email through the pager's email gateway. Even back in the 90's, most alpha pagers had email addresses too.


Dave


In reply to Re: Send msg to pager through modem by davido
in thread Send msg to pager through modem by rhymejerky

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.