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.
"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.
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