Re: How to use TAPI to access voice features of external voice modem

Tech-Archive recommends: Fix windows errors by optimizing your registry



"futureoftapi" <futureofai@xxxxxxxxx> schrieb im Newsbeitrag
news:1122722415.415404.297950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I am trying to use Directx 8 and send and hear voice over the voice
> modem. I am working on VB. But, everything works fine on an internal
> modem but not on the external one.
>
> For the voice part, I am trying to do this and on an external modem it
> fails
>
> nError = lineOpen(hTAPI, line - 1, hLine, lVersion, lUnused, lUnused, _
> LINECALLPRIVILEGE_MONITOR, LINEMEDIAMODE_AUTOMATEDVOICE, 0)
>
> It returns a negative value -214******

futureoftapi,
what is the exact error code from lineOpen() ?
Where does the variable line come from?
Please provide a code snippet showing this.

Btw. you may want to use LINECALLPRIVILEGE_OWNER | LINECALLPRIVILEGE_MONITOR.

Please note that wave devices of voice modems driven by UniModem.TSP can only
work half-duplex, i.e. you can _not_ play and record at the _same_ time.

Can you reproduce the issue with TAPI Browser TB20 ?
Please post a TB20.log and enable Options/LogParameters and /ShowTimeStamps in
TB20.
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:_Where_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

Q: Where are TAPI errors codes defined ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_are

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

--
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: Getting Fax tone on next incoming call using TAPI
    ... I am using voice modem/Data modem and UniModem.TSP ... I basically initialize TAPI, register events I am ... This code is adapted from sample in P-SDK or SAPI sample, ...
    (microsoft.public.win32.programmer.tapi)
  • Re: RECEIVER CANNOT HEAR MY VOICE
    ... i m also not sure that if i'll pass this command, my modem will ... my sound card receives the voice and it does not forwards the voice to MODEM. ... thnx 4 comments, ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: RECEIVER CANNOT HEAR MY VOICE
    ... working properly accept the receiver is unable to hear my voice. ... I have run FAX TALK application installed from the CD provided by my MODEM ... card vendor and it can also transmit sound and receiver can hear my voice as ... See my TAPI and TSPI FAQ: ...
    (microsoft.public.win32.programmer.tapi)
  • LineGetID function of TAPI and Wave APIs to record telephonic conversation
    ... I am new to TAPI and am working on the sited subject. ... If RetCode MMSYSERR_NOERROR Then ... duplex unimodem on softk56 voice modem and other is ... there is no error and recording happens but only the voice of one side ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Find out which device is the right one
    ... > At home i use the FritzCard to make the outgoing calls an no cable is ... > connected to the modem, but the modem is on "standby". ... > The way I do check my TAPI devices is that I go through a for loop ... Try it with TAPI Browser TB20 before starting to code anything yourself. ...
    (microsoft.public.win32.programmer.tapi)