Re: Problem answering calls
- From: "Grant Schenck" <schenckg@xxxxxxxxxxxxx>
- Date: Thu, 26 May 2005 12:33:54 -0400
Correct. You either wrap TAPI 3.x or 2.x (I'd recommend 2.x.)
You could also check out some of the third party TAPI controls. I believe
some of those support .NET.
Look on Andreas Marschall's TAPI FAQ, he has some references to various TAPI
controls.
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
--
Grant Schenck
http://grantschenck.tripod.com
"Brennon" <Brennon@xxxxxxxxxxxxxxx> wrote in message
news:ux4Q8$fYFHA.3488@xxxxxxxxxxxxxxxxxxxxxxx
> So I've got to build a wrapper in VB6/C++ and then access those exposed
> functions in order to interact with TAPI?
>
> ...
>
> ...
>
> Fantastic. I'm not event sure how to do that. Any pointers?
>
> Thanks,
> Brennon
>
> "Grant Schenck" <schenckg@xxxxxxxxxxxxx> wrote in message
> news:uDsYU2fYFHA.228@xxxxxxxxxxxxxxxxxxxxxxx
> > Using TAPI 3.x directly from .NET is not supported. See this KB
article:
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;841712
> >
> > While I haven't tried to use it, reports on this new group indicate that
> it
> > sort of works but eventually fails.
> > --
> > Grant Schenck
> > http://grantschenck.tripod.com
> >
> >
> >
> > "Brennon" <Brennon@xxxxxxxxxxxxxxx> wrote in message
> > news:#i4MSTYYFHA.3188@xxxxxxxxxxxxxxxxxxxxxxx
> > > I'm using vs.net 2003 and interop (com) to access TAPI 3 for my 3com
> > nbx100.
> > > I've been tinkering with it and have had some minor success. I can
make
> > > calls and hang up active calls. I can detect incoming calls and
trigger
> an
> > > event off of them. What I CAN'T do is get the calls to pickup once
they
> > have
> > > been detected and the CallNotificationEven has been triggered.
> > >
> > > I can get the calls to pickup using the tapi3.0 browser, however. That
> > works
> > > just fine. Clearly I've borked my code somewhere.
> > >
> > > The error I'm getting is when I try and create an ITBasicCallControl
> > object
> > > and assign the event call to it. Tells me 'The specified cast is
> invalid'.
> > > Relevant code is below. Anybody got any ideas? I'm trying to run this
as
> > an
> > > asynchronous thread, if that matters.
> > >
> > > Private CallNotificationObject As ITCallNotificationEvent
> > >
> > > Private Sub CallNotificationEvent()
> > >
> > > ' Get the ITCallNotification interface.
> > >
> > > Dim objCallNotificationEvent As ITCallNotificationEvent
> > >
> > > objCallNotificationEvent = CallNotificationObject
> > >
> > > Dim LocalAddress As ITAddress
> > >
> > > LocalAddress = CallNotificationObject.Call.Address
> > >
> > > 'query ITCallInfo interface for the new call, and store it
> > >
> > > Dim ReceivedCallInfo As ITCallInfo
> > >
> > > ReceivedCallInfo = objCallNotificationEvent.Call
> > >
> > > ' Get the ITBasicCallControl interface.
> > >
> > > Dim objCallControl As ITBasicCallControl
> > >
> > > objCallControl = ReceivedCallInfo // It errors out right here.
> 'Specified
> > > cast is invalid'
> > >
> > >
> > >
> > > 'Answer
> > >
> > > objCallControl.Answer()
> > >
> > > end Sub
> > >
> > >
> >
> >
>
>
.
- Follow-Ups:
- Re: Problem answering calls
- From: Andreas Marschall [MVP TAPI]
- Re: Problem answering calls
- References:
- Problem answering calls
- From: Brennon
- Re: Problem answering calls
- From: Grant Schenck
- Re: Problem answering calls
- From: Brennon
- Problem answering calls
- Prev by Date: UPDATE - RE: Manually installing a TSP?
- Next by Date: Re: Tapi 3 Session Termination - Phone IDLE State
- Previous by thread: Re: Problem answering calls
- Next by thread: Re: Problem answering calls
- Index(es):
Relevant Pages
|