Go to Google Groups Home    microsoft.public.win32.programmer.tapi
Re: TSP - Incoming Call phone number

Matthias Moetje [MVP] <moe...@terasens_nospam_.de>

Adrien,

this is stored in the LINECALLINFO structure.
A TSP notifies TAPI about callinfo changes by sending
a LINE_CALLINFO message.

Best regards,

Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www:   www.terasens.com
-------------------------------------

"Adrien HAVAS" <aha...@acropolistelecom.net> wrote in message

news:uKAQIrJzIHA.5820@TK2MSFTNGP04.phx.gbl...
> Hi,

> With my TSP, I detect incomings calls and I signal them to the TAPI
> application with LINE_NEWCALL :

>        (*line->pfnEventProc)( line->htLine, 0, LINE_NEWCALL, (unsigned
> long)line, (unsigned long)(&(line->htCall)), 0);
>        SetCallState(line, LINECALLSTATE_OFFERING, NULL);

> Now, I'd like to know where I have to put the phone number of the caller,
> so that my application can display it (Estos ProCall with Outlook).

> Is it in the parameters of the function above, or maybe in the function
> TSPI_lineGetCallIDs.

> Thank you.

> Sincerily,

> --
> Adrien HAVAS
> Student at ECE, School of Engineering Paris - Information Systems &
> Networking