[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5710.0. "Modems and Alarms" by GLDOA::KATZ (Follow your conscience) Wed Nov 03 1993 10:24

    Has anyone successfully hooked up a modem to a VAXstation
    and gotten it to dial out when an alarm situation happened?
    
    Would you list the steps necessary to get this to work so I do not
    have to reinvent the wheel. Thanks.
    
    			-Jim-
T.RTitleUserPersonal
Name
DateLines
5710.1AUTOPAGERZPOVC::VENKATWed Nov 10 1993 00:29126
    Hello,
    
    I donot know what is your requirement to have modem connection out of a
    VAXStation. But I hope the following may be of interest to you.
    
    We have successfully set up an AUTOPAGER service at APNOC (Asia Pacific
    Network Operations Center) in Singapore. 
    
    The AUTOPAGER service is based on the paging company's (Singapore
    Telecom) capability to accept tone digits and display them on the
    pager. With the AUTOPAGER, whenever DECMCC Alarm rules fire, we will
    have our pager beeped with a unique display code (00007001). This will
    alert the duty Analyst to take appropriate actions.
    
    To implement AUTOPAGER, we have made use of Modem Software (available
    for internal use only at UFP::MODEM$KIT:MODEM043.A). The Modem software
    provides a capability to write script files and you can have an
    initialization file to state what Modem software should be do during
    initialization. 
    
    The modem (AT compatible) is connected to one of the Async port of the
    VAX Station. A Modem Initialization file and a script file is written.
    A VT220 terminal is connected to another Async port of the VAX Station
    which acts a display monitor for AUTOPAGER.
    
    In our environment, the modem is connected to TTA2: and the terminal is
    connected to TTA3: Async ports.
    
    The Modem Script file is : (DECMCC$AUTOPAGER.SCR)
    
	SET SPEED 2400
	SET PARITY NONE
	LET TIME = F$TIME()
	TYPE "AUTOPAGER : Started at ",TIME
	SEND "^B"
	GET/TIME=5/ERR=DIAL "Ready"
	DIAL :
	DIAL "9,3096516,,,,*00007001***,***"/ERROR=FAIL
	FAIL :
	EXIT
    
    The Modem Initialization file is : (MODEMINI.DAT)
    
	HELP=N
	AUTO_DIAL=Y
	DEVICE=TTA2:
	DIALER_TYPE=AT
	SPEED=2400
	XON=N
	DEFAULT=N
	BITS=8N
	COMMAND=DECMCC$COM:DECMCC$AUTOPAGER.SCR
	LOG=DECMCC$LOGS:AUTOPAGER.LOGFILE
    	
    The command procedure invoking the Modem script is :
    (DECMCC$AUTOPAGER.COM) 	
    
    
	$	SET NOVERIFY
	$!+
	$!
	$! Procedure  : DECMCC$AUTOPAGER.COM
	$! Purpose    : To provide AUTOPAGING service whenever any circuit outage
	$!              is detected by DECMCC
	$! Called by  : DECMCC$ALARMS:CIRCUIT_DOWN_UP.COM
	$! Written by : S. Venkata Narayanan
	$! Written on : 5th November, 1993
	$! Modified   : 
	$!	
	$!-
	$
	$!+
	$! Initialization
	$!-
	$
	$	MODEM_PORT = "TTA2:"
	$	TERMINAL_PORT = "TTA3:"
	$!+
	$! Set Terminal characteristics if the port is FREE otherwise wait for sometime
	$!-
	$
	$ CHECK_PORT :
	$
	$	PORT_PID=F$GETDVI(MODEM_PORT,"PID")
	$
	$	IF PORT_PID .NES. "" 
	$	   THEN WAIT 00:00:30
	$	   GOTO CHECK_PORT
	$	ENDIF
	$
	$	SET PROCESS/PRIV=ALL
	$ 	SET TERMINAL -
	'MODEM_PORT'/MODEM/EIGHTBIT/DIALUP/DISCONNECT/HOSTSYNC/NOBROAD/PERM
	$
	$	ALLOCATE 'MODEM_PORT'
	$	ALLOCATE 'TERMINAL_PORT'
	$
	$	DEFINE/USER SYS$OUTPUT 'TERMINAL_PORT'
	$	TYPE SYS$INPUT
	
	................................................................................
	
	$
	$	DEFINE/USER SYS$OUTPUT 'TERMINAL_PORT'
	$	MODEM/INIT=DECMCC$COM:MODEMINI.DAT
	$	DEFINE/USER SYS$OUTPUT 'TERMINAL_PORT'
	$	TYPE SYS$INPUT
	
	................................................................................
	$	DEALLOCATE 'TERMINAL_PORT'
	$	DEALLOCATE 'MODEM_PORT'
	$	EXIT $STATUS
	$
    	
    	
    	--------------------------------------------------------------------------
    	
    The terminal port which is connected to the Modem should have MODEM
    characteristic  ($SET TERM/MODEM/PERM). Also the Modem software
    supports LAT devices. Look the User guide for more details.
    Thanks and Regards,
    	
    Venkat,
    APNOC - Singapore.
    	
    
5710.2me tooMRFISH::SIMMONSKF0JX-Network ConsultantWed Nov 10 1993 12:317
    
    I have successfully used MODEM043 as well to page operators that
    certain vital components have failed. I send a different code to the
    pager based upon which device failed. The command scripts I use are
    very similar to .1. Works great!
    
    Kevin Simmons
5710.3GLDOA::KATZFollow your conscienceMon Nov 15 1993 09:051
    thanks.