Re: can not get CallerID

Tech-Archive recommends: Fix windows errors by optimizing your registry



David,

you need to open the line with monitor and owner privileges.
Then you need to call lineSetStatusMessages to receive
notifications. As soon as the call is signaled you need to
lineAnswer the call. Then check for the caller id.

If you get an empty string and the callinfo event is not fired
but you say that the modem displays the caller id in Hyperterminal,
then most probably the inf file of your modem's driver is incorrect.
You might want to do a search for a different driver for your modem..

Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------

"David William" <ixuw@xxxxxxxxx> wrote in message
news:445f00c0$0$2564$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Matthias for the quick response.

I don't know which sample you are using. Do you have a problem
that you don't know which code to use or are you saying that the
caller id returned is an empty string only?
I tried samples provided by GotDotNet as well as JurMar Technology. I
understand the previous one is a wrapper for TAPI 2.0 while the later is
for
3.0. The former one gives me a blank string when invoking
GetCallInfoString
after response the the event of LINE_APPNEWCALL. The event of TE_CAllINFO
seems can not be triggered.
I understand it might be very difficult for you people to help me while do
not have the same code. In this case, may be I can start with the tapi
browser, either 2.0 or 3.0. Say for example, if I need to test the Tapi
browser to check if it works for the callerID display, is it right to
start
with the LineInitializeEX, the LineOpen, then I asked someone to call me,
before I call the lineGetCallInfo, what else should I do?

Many thanks again for the help

David



"Matthias Moetje [MVP]" <moetje@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uoLdp5fcGHA.3472@xxxxxxxxxxxxxxxxxxxxxxx
David,

2. I tried GetDotNet Tapi wrapper sample and JulMar sample code often
recommended by Andreas Marschall, none of the sample code can give me
the
caller ID display.

I don't know which sample you are using. Do you have a problem
that you don't know which code to use or are you saying that the
caller id returned is an empty string only?

In the event handler you should check for an event of type TE_CALLINFO
and then check TAddress::CallInfoString(CIS_CALLERID) for the caller
id.


Best regards,

Matthias Moetje
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
Fon: +49 89 143370-0
Fax: +49 89 143370-22
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------






.



Relevant Pages

  • Re: T1 Boards
    ... Most of these built-in features aren't available with TAPI ... Matthias Moetje ... TERASENS GmbH ... I've received from eicon a Price estimation for a single V series T1 ...
    (microsoft.public.win32.programmer.tapi)
  • Re: T1 Boards
    ... If you want something more high-level you might consider using TAPI ... Matthias Moetje ... TERASENS GmbH ... Eicon offers support for TAPI and CAPI, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: T1 Boards
    ... If you want something more high-level you might consider using TAPI ... Matthias Moetje ... TERASENS GmbH ... Eicon offers support for TAPI and CAPI, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSPI_LineGetID - what should it return for "wave/out" ?
    ... How do you enumerate the wave devices? ... Matthias Moetje ... TERASENS GmbH ... I can only guess some XP update changed something in the way TAPI works... ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSPI_LineGetID - what should it return for "wave/out" ?
    ... How do you enumerate the wave devices? ... Matthias Moetje ... TERASENS GmbH ... I can only guess some XP update changed something in the way TAPI works... ...
    (microsoft.public.win32.programmer.tapi)