Re: can't get voice on phone line

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Grant Schenck (schenckg_at_optonline.net)
Date: 08/09/04


Date: Mon, 9 Aug 2004 15:59:21 -0400

You have to use wave* APIs if you want to play or record to/from the
caller. If you just want to do call control then no, you don't need
to get involved in the wave APIs.

--
Grant Schenck
Grant Schenck Software
schenckg@optonline.net
http://grantschenck.tripod.com
"Rahul" <abemailkar@yahoo.co.in> wrote in message
news:3af110da.0408072203.5a2147ae@posting.google.com...
> "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@I-B-A-M.de> wrote
in message news:<eoKPFvxeEHA.3732@TK2MSFTNGP11.phx.gbl>...
> > "Rahul" <abemailkar@yahoo.co.in> schrieb im Newsbeitrag
> > news:3af110da.0408050925.7c5a098b@posting.google.com...
> > >           I'm developing tapi application for my school project
,which
> > > can make call,recieve call & send wave file on phone line.
> > >     I can make call but can't listen any sound neither ringing
nor the
> > > voice of person at other end.Also he can not listen my sound.
> > >  I've tried with both internal 56k data-voice-fax modem ,by
connection
> > > speaker & microphone at sound card jack.
> > >  Also I've tried with extenal sound modem on speaker jack given
with
> > > modem.But no result...
> >
> > Rahul,
> > You may want to try phoneSetHookSwitch(hPhone,
PHONEHOOKSWITCHDEV_SPEAKER,
> > PHONEHOOKSWITCHMODE_MICSPEAKER).
> >
> > The API sequence needed for this looks like:
> > lineInitializeEx()
> > lineOpen()
> > lineGetID("tapi/phone")
> > phoneInitialize()
> > phoneOpen()
> > lineMakeCall()
> > phoneSetHookSwitch()
> >
> > 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:_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.
>
> Hey Andreas,
>            Thanks for the help.I'm trying for it .But before it I
want
> to solve one more confusion ,
>  I've heard that if I have voice modem There is no need to use wave
> programming ,when run tapi appn.Is it so?Also all voice modem
doesn't
> work properly.i.e. can't get result of voice .So what should I do?
If
> I've voice modem?
>                     Thanks.
>                                              Rahul


Relevant Pages

  • Re: How to determine when a person took the handset
    ... > I use TAPI 2.1 to play a wave file via voice modem. ... > do not know how to determine the moment to start to play a wave. ... TAPI can't know either. ...
    (microsoft.public.win32.programmer.tapi)
  • waveInOpen and waveOutOpen return MMSYSERR_ALLOCATED
    ... I would like to create an application that open a voice modem, ... phone call and output a wave on the line without using TAPI. ... output device, but I also get the MMSYSERR_ALLOCATED error code with ... It's important that I don't use TAPI functions. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: waveInOpen and waveOutOpen return MMSYSERR_ALLOCATED
    ... I would like to create an application that open a voice modem, ... phone call and output a wave on the line without using TAPI. ... the input function. ... Are you quite sure that your modem is actually exposed as a wave device? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Playback and record voice data in TAPI application
    ... Nothing special about TAPI wave support. ... waveInClose when you are done with the device. ... Grant Schenck Software ...
    (microsoft.public.win32.programmer.tapi)
  • Re: unimodem confused
    ... a tapi problem, a unimodem problem, a voice modem/tapi ... buffer at the same time on my voice modem, ... anyway) but it's using the unimodem tsp. ... sound like I know what I'm talking about? ...
    (microsoft.public.win32.programmer.tapi)