Re: Monitor a line without ownership possible?

From: Grant Schenck (schenckg_at_optonline.net)
Date: 06/24/04


Date: Thu, 24 Jun 2004 10:10:20 -0400

Unimodem (and possibly other TSPs) don't provide events to monitor
only applications if no other application has the line open with owner
privileges. This was done so that TAPI wouldn't take the com device
associated with the modem and prevent non-TAPI apps from accessing the
modem.

Most "normal" TSPs can report call events to monitor only apps
irrespective of any other Owner apps running or not.

--
Grant Schenck
Grant Schenck Software
schenckg@optonline.net
http://grantschenck.tripod.com
"Oskar Eschenbach" <Lando@Lando.de> wrote in message
news:uj7TnrbWEHA.3596@tk2msftngp13.phx.gbl...
> Hi Andreas,
>
> > What privileges do you use on lineOpen() in your app?
> Monitor +Owner
> if only monitor i do'nt receive any callback.
>
> > Do you know what privs the other app (standard fritz
phone-answering and
> > fax-receiver) is using?
> No i do'nt know what privileges fritz use.
>
>  >When do you call lineDeallocateCall() ?
>  After or before LINECALLSTATE_IDLE is entered?
> I do'nt receive an idle-state.
> After offering, i read the lineGetCallInfo and the callerid.
>
> > Is the call answered either by your app or by fritz app?
> Before i deallocate, my program waits 0,2 sec. - In this time, the
> fritzprogram starts its voice-answerroutine and
> inform me about the incoming call, at the same time my own programm
informs
> me about the receiving call too.
> Then my prog sends a lineDeallocateCall and the fritz-answering is
cancelled
> too.
>
> > Can you reproduce the problem with TAPI Browser TB20 (instead of
using
> your
> > app) ?
> Yes!
> The behavior, if i use TB20 is the same.
>
> > If so, please post a TB20.log.
> Here it is.
>
> > See my TAPI and TSPI FAQ:
> You think i can find the answer there?
>
> Hmm, - i think with lineDeallocateCall all the resources about the
call goes
> lost, so the fritz-sw loose the call too. ?
>
> Regards
> Oskar Eschenbach
>
> "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de>
schrieb im
> Newsbeitrag news:%23ZxTP1ZWEHA.1048@tk2msftngp13.phx.gbl...
> > "Oskar Eschenbach" <Lando@Lando.de> schrieb im Newsbeitrag
> > news:%23Aa4CuVWEHA.2340@TK2MSFTNGP09.phx.gbl...
> > > There are 2 Tapi-apps running.
> > > First one is my own.
> > > Second is the standard fritz phone-answering and fax-receiver.
> >
> > Oskar, now I got it.
> >
> > What privileges do you use on lineOpen() in your app?
> > Do you know what privs the other app (standard fritz
phone-answering and
> > fax-receiver) is using?
> >
> > When do you call lineDeallocateCall() ?
> > After or before LINECALLSTATE_IDLE is entered?
> >
> > Is the call answered either by your app or by fritz app?
> >
> > Can you reproduce the problem with TAPI Browser TB20 (instead of
using
> your
> > app) ?
> > If so, please post a TB20.log.
> > 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:_Wh
ere_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
> >
> > --
> > Best Regards
> > Andreas Marschall
> > Microsoft MVP for TAPI / Windows SDK
> > TAPI / TSP Developer and Tester
> > http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
> > * 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.
> >
> >
>
>
>


Relevant Pages

  • Re: WScript.Shell.Exec().StdOut.AtEndOfStream waits for text - solution
    ... Execute the monitor. ... Read output from the app. ... Read output from the monitor. ... If the process terminates, the monitor ...
    (microsoft.public.scripting.jscript)
  • Re: Desktop heap monitoring
    ... I have an application that will let you set watch limits on usage: ... The app was developed for me to monitor a memory leak I had in an ActiveX ...
    (microsoft.public.vb.winapi)
  • Re: Serial port monitoring
    ... app, then you can do this yourself by handling the result from ReadFile. ... there are several commercial ones available (try google for serial port monitor), ...
    (microsoft.public.vc.mfc)
  • Re: How to get closing times of applications using shell
    ... vinod wrote: ... like to know how long each app is being used and when.. ... You write that you want to monitor _a_ user, ... few wrapper scripts manually, as already outlined upthread. ...
    (comp.unix.shell)
  • Re: Help needed: TCP Server questions/problems
    ... Have a look at remoting for the monitoring of you app. ... have permissions on the file system. ... I know very little about writing server applications. ... I would like to be able to monitor what it is doing. ...
    (microsoft.public.dotnet.languages.vb)