Solved

how to send a pager message with a modem

Posted on 2000-04-18
10
402 Views
Last Modified: 2010-04-04
can anyone provide me a code sample how to send a message via modem to a alphanumeric pager ?

dejan as gnom
0
Comment
Question by:gnom
10 Comments
 
LVL 7

Expert Comment

by:God_Ares
ID: 2725947
Doesn't the pager provider has a program that does what you want? At least in the netherlands kpn is profiding that kind of software for their paging services.
0
 

Author Comment

by:gnom
ID: 2725967
the pager provider has such a software, but it does only run under dos or win 3.1 and crashes all the time.

well it's the cheapest pager we found.

but i don't think it's a very heavy task to program that by hand. or am i wrong ?
0
 

Author Comment

by:gnom
ID: 2725981
.. oh sorry there is another software for this pager but this software needs ms-outlook to run.

the reason why i want to program it myself is, we have server watchdog program that checks if all webservers and webapplications are running correctly on the server. what we want to do is sending automatically a pager message to the admin when a server or application hangs.
0
 
LVL 7

Expert Comment

by:God_Ares
ID: 2726230
perhaps you can ask for the source code form the win3.1 prog.. I guezz the other program that needs ms-outlook is sending a mail or somthing. You can offer to upgrade and debug the program and give a program to the pager company and use the source code in your porgram to allert your sysops.

The code will do probably call a number send the pagernumber and then the message you wanted to send.

I can't give you code becauze i don't know how your pager company is expecting the data.

i'm quite shure that it won't be hard.

succes!


0
 
LVL 1

Expert Comment

by:tomer_engel
ID: 2726480
there's an idea(i don't know if it's  practical):

if yourfamilliar with the sms tecnologie(the text- message sending to the phones)--there are sites ofcell company's that give this free(the sendingsms stuff to someone), i have a freind who used the cell-phones server application to send sms from his  ownprogram--he viewed the source code in the site,hooked into the server and he got it.


the idea:try looking in pager compnay's sites or something ,,and   tryto do the same thing....        
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:mullet_attack
ID: 2726901
Contact your pager company and ask them for the dial-in number and the protocol used. If they won't give it to you, use a different company.

I would also suggest using SMS. Here in Australia, my Telco has a dial in number that you use terminal software to send SMS to mobile phone. I wrote a component that enables my Delphi app to use this service, it uses 3rd party tools from TurboPower (async professional for Delphi) so I can't give you the source (unless you buy ASP !).

Overall, it wasn't hard to do, if you can get access to dial-in number, just call it with Hyperterminal or similar, and take note of what happens. Thats what I did.

Mark
0
 

Author Comment

by:gnom
ID: 2727015
thank you all

tomer_engel ->
i have code that does the sms stuff, will say it's just a email add ress and the isp does the rest.

god ares ->
this company does not seem to be very cooperative. i think they don't have the code anyway. it seems that you have code that does something with pages. could you show me that ?

mullet attack ->
i will ask for the protocol. we don't want to use sms because we won't buy cellular phone only for that service. and we don't want to by asp because once a time code should also run on linux.
0
 

Accepted Solution

by:
Blaise earned 300 total points
ID: 2727778
I wrote a program a long time ago that used the internal modem to dial out to a numeric pager wait for a while (for the beep to pass) and then dialed in the numeric messages.

To do that, I just sent the modem:

ATDT(and the pagers telephone number)
(a bunch of commas (pauses))
and the coded message

so a pager command might look like...

ATDT1-209-496-2323,,,,,,,,,,,,,,2220-23-911

we had a system where 2220 might be the address of the building,
23 would indicate the server, and 911 meant it was serious (like users offline)



More recently, with text paging, all you have to do is send an email to a special email address.  Here's how:

1. create a special email address for your robot, like robot@whatever.com
2. use WINSHOES (because it's free and way easy) to create a program that
   sends the message to the pagers email address

done.  

No Com Ports, no ASYNC Pro.  Easy.

0
 

Author Comment

by:gnom
ID: 2730347
what is WINSHOES ?

i have a textpager but that pager hasn't got an email address...

do have some further details ?
0
 
LVL 7

Expert Comment

by:God_Ares
ID: 2746857
if it is posible call the pager... find out how long you have to wait and if you have to press any buttons... make an app that does what you would do by hand.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now