  J This is AAA_PHONE.TXT, the description for the programs to control a voice modem under VMS.  K Set up your modem. Mine is an "Elsa MicroLink 56k" with a Rockwell chipset. " It is connected to a DECserver700:    5 Port  6: VoiceModem                    Server: SERV16   F Character Size:            8           Input Speed:              57600F Flow Control:            CTS           Output Speed:             57600F Parity:                 None           Modem Control:          Enabled Stop Bits:                 1  F Access:               Remote           Local Switch:              NoneF Backwards Switch:       None           Name:                  SERV16_6F Break:              Disabled           Session Limit:                1F Forwards Switch:        None           Type:                      AnsiF Default Protocol:        LAT           Default Menu:        MPIIB-MENUF Autolink Timer One:10 Two:10           Dialer Script:             None   Preferred Service: None  Authorized Groups:   0 (Current)  Groups:   0   Enabled Characteristics:F Autoconnect,  Autoprompt,  Dialup,  Input Flow Control,  Limited View, Output Flow Control,  Security      - The corresponding LAT device looks like this:     @ Terminal: _LTA6:      Device_Type: Unknown       Owner: No Owner  B    Input:   57600     LFfill:  0      Width:  80      Parity: None0    Output:  57600     CRfill:  0      Page:   24   Terminal Characteristics: E    Interactive        No Echo            Type_ahead         No Escape B    Hostsync           No TTsync          Lowercase          No TabD    Wrap               Scope              No Remote          EightbitC    No Broadcast       No Readsync        No Form            Fulldup B    No Modem           No Local_echo      No Autobaud        HangupE    No Brdcstmbx       No DMA             Altypeahd          Set_speed G    No Commsync        Line Editing       Overstrike editing No Fallback C    Dialup             No Secure server   No Disconnect      Pasthru K    No Syspassword     No SIXEL Graphics  No Soft Characters No Printer Port I    Numeric Keypad     No ANSI_CRT        No Regis           No Block_mode G    No Advanced_video  No Edit_mode       No DEC_CRT         No DEC_CRT2 I    No DEC_CRT3        No DEC_CRT4        No DEC_CRT5        No Ansi_Color     VMS Style Input     The modem itself is here:    ati4(   B0    E1    L1    M1    Q0    V1    X3  $B0   $D0   $T0.  %A0   %B56000     %C3   %D0   %E1   %G1   %L1"  &C1   &D2   &G0   &S1   &T4   &Y0
  *E0   *Q0  -H0   -J1   -M04  \C0   \D1   \J0   \K5   \N3   \Q3   \T60  \V8   \X1  :D0   at\s   1. CONNECTION / HANG-UP    LAST DIAL            464  DIAL MODE            TONE    T/P  DIAL LOCK            000     MIN DIAL/BUSY TONE       003     X3   DTR DIALING          OFF     $D0! PAUSE LENGTH         002     S8=2 ! AUTO ANSWER          000     S0=0   GUARD/CALLING TONE   000     &G0  DISCONNECT DELAY     000     %D0! INACTIVITY TIMER     060     \T60    2. LINE INTERFACE     MODEM = SERIAL BPS   OFF     %G1$ MODEM BPS            56000   %B56000$ HALFDUPLEX           OFF     S27.7=0  V.8                  ON      %M0  BPS ADJUST           OFF     \J0  SPEED MATCH          V100    %L1 BELL                 OFF     B0   AUTO RETRAIN         ON      %E1  ALLOW RD LOOPBACK    ON      &T4   3. PROTOCOLS    MODEM MODE           AUTO    \N3  COMPRESSION          ALL     %C3  DETECTION PHASE      ON      -J1  BREAK CONTROL        005     \K5  FALLBACK CHARACTER   000     %A0  FALLBACK MODE        FB OFF  \C0     4. HOST INTERFACE    SERIAL BPS           57600   AT  DATA FORMAT/PARITY   8N1     AT   TRANSMIT XON/XOFF    ON      \X1  DATA FLOW CONTROL    RTS/CTS \Q3  DSR/CTS CONTROL      001     \D1  CARRIER DETECTION    001     &C1" ESCAPE CHARACTER      +      S2=43  EFFECT OF DTR        002     &D2  MEANING OF DSR       001     &S1  ! 5. ON-SCREEN-MESSAGES AND SPEAKER    MODEM MESSAGES       ON      Q0  COMMAND ECHO         ON      E1  FORM OF MESSAGES     LONG    V1   MESSAGES DEP ON \V   ON      -M0  CONNECT MESSAGES     008     \V8  TIES-CONNECT         ON      *Q0 SPEAKER CONTROL      001     M1  SPEAKER VOLUME       001     L1       M Eventually you might want to relink the objects (PHONE_MESSAGE, PHONE_RECEIVE J and PHONE_MODULE) using LINK.COM (the Alpha executables have been compiled3 under OpenVMS 7.1-2, the VAX files under VMS 6.2 ).   O Now define the logical PHDEV pointing to your modem device including the colon:     $ ASSIGN "LTA6:" phdev + Next, define a symbol for the two programs: .    $ mphone :== $disk:[directory]phone_message.    $ rphone :== $disk:[directory]phone_receiveM Finally you may call the programs. If you don't specify any parameters on the K command line the programs will ask. Otherwise it is possible to specify all 9 necessary input on the command line, separated by spaces.   " Phone_message needs the following:   Name of voicefile G   Number of rings until the program gives up trying to call this number I   Phone number(s) to dial. Enter one number at a time, an empty line will       terminate.   ,   It is possible to do all in one line, e.g.<      $ mphone example.vox 5 011,497615108464 18001234567 123K   The programm will call the first number. If there is no answer after five H   rings it will call the next number and so on. If the headset is liftedM   the voxfile is played. Note that there is a certain delay until the message L   is played. This is because the program has to wait the time-period between7   two rings in order to detect that there is an answer.    Phone_receive is quite similar:    Name of voicefile G   Number of rings until the program gives up trying to call this number I   Phone number(s) to dial. Enter one number at a time, an empty line will       terminate.   M   If you pick up the headset, wait until you hear a beep. Then you may speak. I   Just hangup when you are finished. The result will be the voxfile whose    name you specified.   N Four your convenience I added two example vox files EXAMPLE.VOX and TEST.VOX .  J And as usual, all rights reserved, no warranty whatsoever, use at your own risk.   ( Comments, suggestions and the like go to     Christoph Gartmann  H -- --------------------------------------------------------------------+H | Max-Planck-Institut fuer      Phone   : +49-761-5108-464   Fax: -452 |H | Immunbiologie                                                        |H | Postfach 1169                 Internet: gartmann@immunbio.mpg.de     |H | D-79011  Freiburg, FRG                                               |H +--------- http://www.immunbio.mpg.de/home/english/menue.html ---------+