Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 25 Feb 2008 07:40:16 -0800,    group: microsoft.public.win32.programmer.tapi        back       


TSPI_lineGetCallInfo   
Hi everyone i'm a complete newbie in TAPi and i also have to start learning 
fast so i appreciate all the help.

I have been given a TSP driver that only has basic functionality implemented 
in it ( making and droping calls) etc.Now i have to add functionality so i 
can implement a plugin for outlook that will get the callersID from the 
driver and search through the contacts to find a match. From what i've 
learned so far i have to implement the TSPI_lineGetCallInfo function and get 
the details from the LINECALLINFO structure.
From all the members of the structure which one is the one that gives me the 
callersID? I know is a stubit question but this is all i have right now.

Thank u
date: Mon, 25 Feb 2008 07:40:16 -0800   author:   antonaras_ole

Re: TSPI_lineGetCallInfo   
"antonaras_ole"  schrieb im
Newsbeitrag news:B3191F3B-7A9D-4492-9F08-244FD51F87C2@microsoft.com...
> I have been given a TSP driver that only has basic functionality implemented
> in it ( making and droping calls) etc.Now i have to add functionality so i
> can implement a plugin for outlook that will get the callersID from the
> driver and search through the contacts to find a match. From what i've
> learned so far i have to implement the TSPI_lineGetCallInfo function and get
> the details from the LINECALLINFO structure.
> From all the members of the structure which one is the one that gives me the
> callersID? I know is a stubit question but this is all i have right now.

Are you sure you are developing a TSP and not a TAPI application?
What telephony device are you using and developing a TSP for?

The TSP needs to *write* the CallerID to the LINECALLINFO struct when called
via TSPI_lineGetCallInfo(), so that TAPI applications can *read* it via
lineGetCallInfo().
The relevant members in LINECALLINFO struct for this are:
- dwCallerIDFlags
- dwCallerIDSize
- dwCallerIDOffset
besides the usual stuff for variable sized structures:
- dwTotalSize
- dwNeededSize
- dwUsedSize
Please see MSDN for details.


Try it with TAPI Browser TB20 before starting to code anything yourself.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB20 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1


You may want to take a look at the JulMar TAPI tools:
http://www.julmar.com/tapi/
The are available with open source (TAPI2, C++).


You may want to take a look at ATSP sample TSP from P-SDK.


-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
date: Mon, 25 Feb 2008 17:04:33 +0100   author:   Andreas Marschall [MVP TAPI]

Re: TSPI_lineGetCallInfo   
Thanks for your reply Andreas. Looks like i need to learn more before i touch 
the driver. I have to do both: Add the functionality to the driver so it can 
*write* the caller ID. After that i also have to write a tapi application 
that will use lineGetCallInfo() to read. 

I will follow your links to get more familiar with TAPI. Thank you for your 
help

"Andreas Marschall [MVP TAPI]" wrote:

> "antonaras_ole"  schrieb im
> Newsbeitrag news:B3191F3B-7A9D-4492-9F08-244FD51F87C2@microsoft.com...
> > I have been given a TSP driver that only has basic functionality implemented
> > in it ( making and droping calls) etc.Now i have to add functionality so i
> > can implement a plugin for outlook that will get the callersID from the
> > driver and search through the contacts to find a match. From what i've
> > learned so far i have to implement the TSPI_lineGetCallInfo function and get
> > the details from the LINECALLINFO structure.
> > From all the members of the structure which one is the one that gives me the
> > callersID? I know is a stubit question but this is all i have right now.
> 
> Are you sure you are developing a TSP and not a TAPI application?
> What telephony device are you using and developing a TSP for?
> 
> The TSP needs to *write* the CallerID to the LINECALLINFO struct when called
> via TSPI_lineGetCallInfo(), so that TAPI applications can *read* it via
> lineGetCallInfo().
> The relevant members in LINECALLINFO struct for this are:
> - dwCallerIDFlags
> - dwCallerIDSize
> - dwCallerIDOffset
> besides the usual stuff for variable sized structures:
> - dwTotalSize
> - dwNeededSize
> - dwUsedSize
> Please see MSDN for details.
> 
> 
> Try it with TAPI Browser TB20 before starting to code anything yourself.
> See my TAPI and TSPI FAQ:
> 
> Q: Where can I download TAPI Browser ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can
> 
> Q: Is there a user guide available for TAPI Browser TB20 ?
> http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1
> 
> 
> You may want to take a look at the JulMar TAPI tools:
> http://www.julmar.com/tapi/
> The are available with open source (TAPI2, C++).
> 
> 
> You may want to take a look at ATSP sample TSP from P-SDK.
> 
> 
> -- 
> Best Regards
> Andreas Marschall
> Microsoft MVP for TAPI / Windows SDK
> TAPI / TSP Developer and Tester
> My TAPI and TSPI FAQ:
> http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> My Toto® Tools (a collection of free, mostly TAPI related tools):
> http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
> TAPI development around the world (Frappr! map):
> http://www.frappr.com/TAPIaroundTheWorld
> * Please post all messages and replies to the newsgroup so all may
> * benefit from the discussion.  Private mail is usually not replied to.
> * This posting is provided "AS IS" with no warranties, and confers no rights.
> 
> 
> 
>
date: Mon, 25 Feb 2008 23:52:01 -0800   author:   antonaras_ole

Re: TSPI_lineGetCallInfo   
I forgot to mention that the driver is for a PBX softphone not a modem. I'm 
trying to call some functions from TAPI Browser but it looks like is calling 
the modems driver.

"antonaras_ole" wrote:

> Thanks for your reply Andreas. Looks like i need to learn more before i touch 
> the driver. I have to do both: Add the functionality to the driver so it can 
> *write* the caller ID. After that i also have to write a tapi application 
> that will use lineGetCallInfo() to read. 
> 
> I will follow your links to get more familiar with TAPI. Thank you for your 
> help
> 
> "Andreas Marschall [MVP TAPI]" wrote:
> 
> > "antonaras_ole"  schrieb im
> > Newsbeitrag news:B3191F3B-7A9D-4492-9F08-244FD51F87C2@microsoft.com...
> > > I have been given a TSP driver that only has basic functionality implemented
> > > in it ( making and droping calls) etc.Now i have to add functionality so i
> > > can implement a plugin for outlook that will get the callersID from the
> > > driver and search through the contacts to find a match. From what i've
> > > learned so far i have to implement the TSPI_lineGetCallInfo function and get
> > > the details from the LINECALLINFO structure.
> > > From all the members of the structure which one is the one that gives me the
> > > callersID? I know is a stubit question but this is all i have right now.
> > 
> > Are you sure you are developing a TSP and not a TAPI application?
> > What telephony device are you using and developing a TSP for?
> > 
> > The TSP needs to *write* the CallerID to the LINECALLINFO struct when called
> > via TSPI_lineGetCallInfo(), so that TAPI applications can *read* it via
> > lineGetCallInfo().
> > The relevant members in LINECALLINFO struct for this are:
> > - dwCallerIDFlags
> > - dwCallerIDSize
> > - dwCallerIDOffset
> > besides the usual stuff for variable sized structures:
> > - dwTotalSize
> > - dwNeededSize
> > - dwUsedSize
> > Please see MSDN for details.
> > 
> > 
> > Try it with TAPI Browser TB20 before starting to code anything yourself.
> > See my TAPI and TSPI FAQ:
> > 
> > Q: Where can I download TAPI Browser ?
> > http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can
> > 
> > Q: Is there a user guide available for TAPI Browser TB20 ?
> > http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1
> > 
> > 
> > You may want to take a look at the JulMar TAPI tools:
> > http://www.julmar.com/tapi/
> > The are available with open source (TAPI2, C++).
> > 
> > 
> > You may want to take a look at ATSP sample TSP from P-SDK.
> > 
> > 
> > -- 
> > Best Regards
> > Andreas Marschall
> > Microsoft MVP for TAPI / Windows SDK
> > TAPI / TSP Developer and Tester
> > My TAPI and TSPI FAQ:
> > http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> > My Toto® Tools (a collection of free, mostly TAPI related tools):
> > http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
> > TAPI development around the world (Frappr! map):
> > http://www.frappr.com/TAPIaroundTheWorld
> > * Please post all messages and replies to the newsgroup so all may
> > * benefit from the discussion.  Private mail is usually not replied to.
> > * This posting is provided "AS IS" with no warranties, and confers no rights.
> > 
> > 
> > 
> >
date: Tue, 26 Feb 2008 00:02:01 -0800   author:   antonaras_ole

Re: TSPI_lineGetCallInfo   
"antonaras_ole"  schrieb im
Newsbeitrag news:43B636B9-5F76-492D-9459-3FFD97BC4054@microsoft.com...
> Thanks for your reply Andreas. Looks like i need to learn more before i
touch
> the driver. I have to do both: Add the functionality to the driver so it can
> *write* the caller ID. After that i also have to write a tapi application
> that will use lineGetCallInfo() to read.
>
> I will follow your links to get more familiar with TAPI. Thank you for your
> help

You are welcome.

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
date: Tue, 26 Feb 2008 11:34:47 +0100   author:   Andreas Marschall [MVP TAPI]

Re: TSPI_lineGetCallInfo   
"antonaras_ole"  schrieb im
Newsbeitrag news:0D6106B3-4546-48AF-BA7D-9152310F9540@microsoft.com...
> I forgot to mention that the driver is for a PBX softphone not a modem. I'm
> trying to call some functions from TAPI Browser but it looks like is calling
> the modems driver.

It seems that you do lineOpen() with dwDeviceID = 0.
You need to lineOpen() with the correct dwDeviceID that is corresponding with
the device that your TSP exposes.

When you do lineInitializeEx() in TB20 you get the num_devs displayed.

You need to cycle through the dwDevicesIDs 0..(num_devs -1) and call for each
lineGetDevCaps() with it own dwDevicesID.
Check the "check params" check box in the upper left corner before calling the
function to change its params.

From the returned LINEDEVCAPS you should be able to see what device is from
your TSP.

The use this dwDeviceID at lineOpen().

-- 
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
date: Tue, 26 Feb 2008 11:40:20 +0100   author:   Andreas Marschall [MVP TAPI]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us