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: Wed, 9 Apr 2008 22:26:34 -0400,    group: microsoft.public.win32.programmer.tapi        back       


Problem Detecting Incomming Call   
Hello Fellow TAPI People....

Just embarked on trying to detect incomming calls.

I have learned to use the TAPI 2.0 Browser before I try any kind of TAPI 
Coding and that is where I am stuck.

In TB20, I Initialize the line and then open it with Monitor privilege.

I have the phone line connected to my laptop.  I dial the number my laptop 
is connected too and nothing happens.

I was expecting to get some callback statuses displayed in TB20 (ringing or 
offerering) - am I wrong and I missed a step.

My laptop has just a regular datavoicemodem - nothing special.

Just not sure what to expect when an incoming call comes in

Any help will be very much appreciated.
date: Wed, 9 Apr 2008 22:26:34 -0400   author:   Phil Molony

Re: Problem Detecting Incomming Call   
"Phil Molony"  schrieb im Newsbeitrag
news:e3qbMJrmIHA.944@TK2MSFTNGP05.phx.gbl...
> Hello Fellow TAPI People....
>
> Just embarked on trying to detect incomming calls.
>
> I have learned to use the TAPI 2.0 Browser before I try any kind of TAPI
> Coding and that is where I am stuck.
>
> In TB20, I Initialize the line and then open it with Monitor privilege.

Phil,
with UniModem.TSP you need to lineOpen() with LINECALLPRIVILEGE_OWNER |
LINECALLPRIVILEGE_MONITOR to actually open the port to the modem.
See my TAPI and TSPI FAQ:
Q: How do I use LINECALLPRIVILEGE_ Constants in TAPI2 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_How_do_15


> I have the phone line connected to my laptop.  I dial the number my laptop
> is connected too and nothing happens.
>
> I was expecting to get some callback statuses displayed in TB20 (ringing or
> offerering) - am I wrong and I missed a step.
>
> My laptop has just a regular datavoicemodem - nothing special.
>
> Just not sure what to expect when an incoming call comes in

You can expect
- LINE_APPNEWCALL
- LINE_CALLSTATE with LINECALLSTATE_OFFERING
- LINE_CALLINFO

With lineSetStatusMessages() you request further messages.

-- 
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: Fri, 11 Apr 2008 02:31:02 +0200   author:   Andreas Marschall [MVP TAPI]

Re: Problem Detecting Incomming Call   
What telphony hardware you are using for making call from your laptop ? Its
a Modem or PBX ?

mail me for solution on  ketu007_in@yahoo.com

--
Message posted using http://www.talkaboutsoftware.com/group/microsoft.public.win32.programmer.tapi/
More information at http://www.talkaboutsoftware.com/faq.html
date: Sun, 20 Apr 2008 23:13:04 -0500   author:   Ketu007

Google
 
Web ureader.com


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