Modem, Caller ID and TAPI on BT Line



I have a software application functioning as a fax and answering machine.
(If anyone is interested, the software is Ventafax). Ventafax supports
Caller ID, so I needed a modem that worked with UK BT Caller ID. The Hayes
Accura V.92, model number 08-15357-72C is one such model.

However, Ventafax steadfastly refused to show me the telephone number of the
incoming call. It seems others have had similar problems although I have
never found a complete solution in these newsgroups. So...for the benefit
of anyone who has tried to solve this problem I will detail the steps here.

Most software applications communicate with the modem via TAPI. The reason
TAPI applications dont work in the UK is largely because Caller ID works
differently in the UK than the US. Although the modems themselves pick up
caller id, the modem drivers do not correctly interpret it and pass the
information to TAPI. So although there are a few modems that support BT
caller id, the drivers DONT!.

An inbound call gives the following information in the UK

TYPE = 01
DATE = 0124
TIME = 2203
NMBR=01234-123456

This is normally received by the modem in one string, not separated on to
separate lines as shown abobe. Unfortunately modem drivers cant interpret
the TYPE part of the caller id - because the TYPE is the first part of the
caller id, the modem then refuses to understand ALL of the incoming caller
id data.

In the INF file for the modem there is a section headed [CID] which contains
information on what to do with caller id information. For each of the
variables DATE, TIME, NMBR, NAME and MESG there is an entry similar to this:

HKR, Responses, "<cr><lf>DATE = ", 1, 93, 00, 00, 00, 00, 00, 00, 00, 00, 00
HKR, Responses, "TIME = ", 1, 94, 00, 00, 00, 00, 00, 00, 00, 00, 00
HKR, Responses, "NMBR = ", 1, 95, 00, 00, 00, 00, 00, 00, 00, 00, 00
HKR, Responses, "NAME = ", 1, 96, 00, 00, 00, 00, 00, 00, 00, 00, 00
HKR, Responses, "MESG = ", 1, 97, 00, 00, 00, 00, 00, 00, 00, 00, 00

This determines how the text srings are handled when they arrive at the
modem. Because there is no entry for TYPE, none of the variables gets
correctly interpreted.

To correct this, add a line as follows to the INF file

HKR, Responses, "<cr><lf>TYPE = 01", 1, 00, 00, 00, 00, 00, 00, 00, 00, 00,
00

Then uninstall the modem and reinstall. Alternatively if you don't want to
uninstall and reinstall the modem, you can edit the registry directly:
Locate the key:

HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\UNIMODEM\DEVICESPECIFIC\yourmodemmodel\Responses

where "yourmodemmodel" will be the name of your modem.

On the word "Responses" right click and select New...Binary Value. Enter
the NAME as "<cr><lf>TYPE = 01" (without the quotes). Note: There MUST be
a space either side of the =.

When this has entered, double click on the entry just created and in the
value data section enter 01 followed by nine lots of 00. The last two 00
entries will automatically move on to the 2nd line. Then click OK. Exit the
registry and reboot.

Now, when a call comes in, the modem will treat the TYPE = 01 text as
informational and do nothing with it. BUT, becuase it has recognised this
as a valid string it will continue to interpret the remainder of the caller
id information and pass it to TAPI which in turn will enable TAPI enabled
software apps to read it.

WARNING: These changes are done at your own risk.


.



Relevant Pages

  • Re: <HEX to HEX> instead of <Hex - People - Hex>
    ... > The raw Hex Caller ID data is not hard to understand at all, ... get the Raw Hex to Tapi Developers!! ... please note that TAPI is not equal to modem! ...
    (microsoft.public.win32.programmer.tapi)
  • Re: How can I get the caller number when a call is incoming?
    ... incoming ring and the caller ID.This can solve my program! ... And I will try another solution that you guys mentioned, change modem driver ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Modem log missing info(Line Call info)
    ... > recieve the Caller ID ... > So plz can anyone help me to fix the inf file if i am right about the ... Did you install your modem with the latest drivers from the manufacturer? ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Transporting Caller ID data to TAPI
    ... neither work under TAPI ... "Pete" wrote in message ... >>In a couple of weeks I hope to get an Intel 537EPG modem, ... >>Global Caller ID compatibility. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: RESOLVED: RegisterCallNotifications for Multiple Modems?
    ... If you get the caller ID when you first learn about the call and then ... isn't being provided in these cases by the modem TAPI Service Provider ... Best I can suggest is to look at the low level modem log (check Andreas' ... It sounds sensible what you write that CID info might be available prior ...
    (microsoft.public.win32.programmer.tapi)