Resumen Implementar un Caller ID en vb5   (2 mensajes )

Hola

 Esto lo saque del help del Winfax y son justamente los comandos para
mostrar
 el caller-id en un modem que lo soporta. Si alguien hace un programita que
 muestre el caller-id, agradecido de recibirlo.

 Saludos.

 14 In the blank HyperTerminal window type …
  AT#CID=?
  â€¦ and then press Enter. One of the following responses appears in the
 HyperTerminal window:
   Response is "error" or "0" Your modem does not support caller ID.
   Response is "0,1,2" Proceed to step 15.

 15 In the HyperTerminal window type …
  AT#CID=2
  ... and then press Enter. The modem should respond with "OK".
 16 In the HyperTerminal window type …
  AT#CID=1
  â€¦ and then press Enter. The modem should respond with "OK".
 17 Keeping the HyperTerminal window open, ask someone to call you (make
sure
 your modem is turned on). "RING" should appear on the screen, followed by
 caller ID information that might look like the following:
     DATE = 0904
     TIME = 1345
     NAME = JOHN DOE
      NMBR = 555-1212



 ---

 Ezequiel Diaz-Pacheco
 STEC INFORMATICA
 Buenos Aires, Argentina.

 ICQ: 2610902
 Tel. 4384-6055 / 4382-8986
 Cel. (15) 4030-6656
 email: alienduce@stec.com.ar

> > -----Mensaje original-----
> > De: Eduardo Barbosa <locuranet@hotmail.com>
> > Para: visualbasic-esp@egroups.com <visualbasic-esp@egroups.com>
> > Fecha: Viernes, 24 de Septiembre de 1999 14:18
> > Asunto: (VB-ESP) Cmo puedo implementar un Caller ID en vb5?
> >
> >
> > >Hola, espero que me puedan dar informacin acerca de c mo crear un
> servicio
> > >de Caller ID (saber el nmero de tel. de quien llama) o donde puedo
> > >conseguir informaci n acerca de este tema. Cualquier ejemplo me viene
> bien,
> > >desde ya muchsimas gracias. Eduardo

Mensaje enviado por "Alberto M. Vernieri (ar)" <avernieri@interprov.com>

Hola!

Aquí te mando un pedacito del manual de un modem que SI soporta
Caller-ID, (lo siento, lo tengo sólo en inglés)

Verificá los comandoe y las respuestas que da tu modem...

Si en alguno de estos comandos te deuelve "ERROR" es que no lo
soporta...

Saludos
Alberto


AT Command Set (Caller ID Commands) Command Function

#CIDn Enable/Disable Caller ID
Enables or disables Caller ID.
#CID=0 Disables Caller ID.
#CID=1 Enables Caller ID with formatted presentation to the DTE. The modem will present the data items in a pair format. The expected pairs are data, time, caller code (telephone number), and name.
#CID=2 Enables Caller ID with unformatted presentation to the DTE. The modem will present the entire packet of information, excluding the leading U's, in ASCII printable hex numbers.
Inquiries
#CID? Retrieves the current Caller ID mode from the modem.
#CID=? Returns the mode capabilities of the modem in a list with each element separated by commas.

Formatted Form Reporting
The modem presents the data in the [tag] = [value] pair format as described in the table below. Spaces are present on both sides of the equal sign.
Tag Description
DATE DATE = MMDD where MM is the month number (01 to 12) and DD is the day number (01..31).
TIME TIME = HHMM where HH is the hour number (00 to 23) and MM is the minute number (00 to 59).
NMBR NMBR = [number] or P or O where [number] is the telephone number of the caller, where P indicates that the calling number information is not available since the originating caller has requested private service, and where O indicates that the calling number information is not available or out of service at the calling location.
NAME NAME = [listing name] where [listing name] is the subscription name.
MESG MESG = [data tag] [length of message] [data] [checksum] in printable ASCII hex numbers.
This tag indicates a data item not listed above. The message is only possible for Multiple Message Format.
Notes:
1. The modem does not present any Caller ID information if the DCE detects a checksum error in the Caller ID packet.
2. In the event of an unrecognized data tag, the modem will present the data in ASCII hex numbers following the MESG tag.
Example of Formatted Form Reporting

1. The following example illustrates the standard Caller ID message packet.

RING
DATE = 0321
TIME = 1405
NMBR = 5045551234
NAME = A N OTHER
RING
RING


2. The following example illustrates the case where the tag of the packet is not recognized by the modem.

RING
MESG = 060342424231
RING
RING

Unformatted Form Reporting
The modem presents all information and packet control information found in the message. The modem, however, excludes the leading U's (channel seizure information) from the presentation.
The packet is presented in ASCII printable hex numbers, the modem does not insert spaces, or line feeds, for formatting between bytes or words of the packet.
The modem does not detect the checksum of the packet.
Example of Unformatted Form Reporting

RING
0412303332323234303539313435353132333435
RING
RING



Resumen Resumen

Visual Basic Página de Visual Basic

Página principal Página principal

www.jrubi.com