Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* question about phone utility
@ 1993-01-05  5:23 01jmbrown
  1993-01-09  0:45 ` bleau
  0 siblings, 1 reply; 3+ messages in thread
From: 01jmbrown @ 1993-01-05  5:23 UTC (permalink / raw)




This may be an incredibly elementary question, but I'll risk it...

Anyone know if there's a way to isolate the output from the VAX Phone Utility?

I'm thinking along the lines of logicals like SYS$OUTPUT and SYS$ERROR and
PAS$OUTPUT, etc., which you can assign to files. What I'm trying to do is
capture the output of the message, "(USERNAME) is phoning you .. blah blah" and
stick it to a file somewhere, so that perhaps the file can be searched for
usernames before the phone call is accepted. That way obnoxious jerks could be
kept from phoning a user without the user having to turn off their broadcast.

anyone know of a way to accomplish this?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about phone utility
  1993-01-05  5:23 question about phone utility 01jmbrown
@ 1993-01-09  0:45 ` bleau
  1993-01-10  3:30   ` Dave Pampreen
  0 siblings, 1 reply; 3+ messages in thread
From: bleau @ 1993-01-09  0:45 UTC (permalink / raw)


In article <1993Jan5.002352.13386@bsu-ucs>, 01jmbrown@leo.bsuvc.bsu.edu writes:
>
>
>This may be an incredibly elementary question, but I'll risk it...
>
>Anyone know if there's a way to isolate the output from the VAX Phone Utility?
>
>I'm thinking along the lines of logicals like SYS$OUTPUT and SYS$ERROR and
>PAS$OUTPUT, etc., which you can assign to files. What I'm trying to do is
>capture the output of the message, "(USERNAME) is phoning you .. blah blah" and
>stick it to a file somewhere, so that perhaps the file can be searched for
>usernames before the phone call is accepted. That way obnoxious jerks could be
>kept from phoning a user without the user having to turn off their broadcast.
>
>anyone know of a way to accomplish this?

Actually, although this may sound like an elementary question, ths solution is
not as simple.  First, it can be done, because TPU does it.  When someone
PHONEs me the message is displayed at the bottom of my screen, not in the
middle of my text.  I don't know the exact mechanism used, but I can make a
good stab at it, and the rest you can get from the documentation set.  First,
open a channel to OPCOM's mailbox.  BTW, this is part I'm unsure about.  It may
be a system service other than $ASSIGN, or may be to someone else's mailbox. 
Check keywords operator message, mailbox, and broadcast in your index.  Next,
issue a $QIO to it with a completion AST.  Now that it's set up, every time you
get a broadcast message of some type (actually, I think any type) your routine
gets activated, and you can check the class of the message, text, source, etc.
If it is from PHONE, check the content of the message for the username and
compare it against your list.  If there is a match, send a message to the user
(the one running the program) that a friendly user is calling, and do whatever
you want next, including lib$spawn-ing a PHONE ANSWER command.  Be sure to
reactivate you're qio so the next message gets intercepted, too.  Excuse me for
any technical details I've gotten wrong; I've never tried this.  Good luck!

Larry Bleau
University of Maryland
bleau@umdsp.umd.edu
301-405-6223


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: question about phone utility
  1993-01-09  0:45 ` bleau
@ 1993-01-10  3:30   ` Dave Pampreen
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Pampreen @ 1993-01-10  3:30 UTC (permalink / raw)


   I wrote a small program that will grab these messages and store them.  You
can read and delete them.  I am sure you can modify the code to do anything 
you want (send a message or answer)

Anybody who would like it just e-mail me and I will send it.

Dave

pampreen@laurel.emich.edu or pampreen@emunix.emich.edu


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-01-10  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-01-05  5:23 question about phone utility 01jmbrown
1993-01-09  0:45 ` bleau
1993-01-10  3:30   ` Dave Pampreen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox