VMS Help
RTL Routines, DTK$, DTK$ANSWER_PHONE

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

   The Wait for Phone to Ring and Answer routine waits  for  the  phone
   connected to the DECtalk device to ring and then answers it.

      Format:

        DTK$ANSWER_PHONE  voice-id [,number-of-rings] [,text] [,timeout]

      Arguments:

   voice-id

   OpenVMS usage: identifier
   type: longw    ord (unsigned)
   access: rea    d only
   mechanism:     by reference

   Voice identifier of the DECtalk device.  The  voice-id  argument  is
   the address of an unsigned longword containing this identifier.  The
   voice identifier is returned by the DTK$INITIALIZE routine.

   number-of-rings

   OpenVMS usage: longword_signed
   type:          longword (signed)
   access:        read only
   mechanism:     by reference

   Number of rings DECtalk waits for before answering the  phone.   The
   optional  number-of-rings  argument  is  the  address  of  a  signed
   longword containing this number.  The default is 1 ring.

   text

   OpenVMS usage: char_string
   type:          character string
   access:        read only
   mechanism:     by descriptor

   Text that DECtalk speaks after answering the  phone.   The  optional
   text argument is the address of a descriptor pointing to the text.

   timeout

   OpenVMS usage: longword_signed
   type:          longword (signed)
   access:        read only
   mechanism:     by reference

   Number of seconds that DECtalk  allows  the  phone  to  ring  before
   answering.  The optional timeout argument is the address of a signed
   longword containing this timeout value.  There is no default value.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.