Unimodem Only Supports INTERACTIVEVOICE for Outbound Calls

Last reviewed: December 16, 1996
Article ID: Q132192
The information in this article applies to:
  • Microsoft Win32 Software Development Kit (SDK) for Windows NT version 4.0
  • Microsoft Win32 Software Development Kit (SDK) for Windows 95 version 4.0

SUMMARY

Even though the Unimodem reports that it supports LINEMEDIAMODE_INTERACTIVEVOICE in LINEDEVCAPS.dwMediaMode, it only supports INTERACTIVEVOICE for outbound calls. If an application opens a line for both LINEMEDIAMODE_INTERACTIVEVOICE and LINECALLPRIVILEGE_OWNER, lineOpen fails with LINEERR_INVALMEDIAMODE.

MORE INFORMATION

Unimodem is designed to handle data calls, not voice calls. However, it does provide the ability to dial the phone for use with normal, interactive voice phone calls. This is done by supporting the LINEMEDIAMODE_INTERACTIVEVOICE media mode as indicated in LINEDEVCAPS.dwMediaMode. However, because Unimodem only supports dialing INTERACTIVEVOICE and not answering INTERACTIVEVOICE calls, it fails a lineOpen for LINEMEDIAMODE_INTERACTIVEVOICE that includes LINECALLPRIVILEGE_OWNER.

The suggested solution is to first attempt to lineOpen the line for LINEMEDIAMODE_INTERACTIVEVOICE and LINECALLPRIVILEGE_OWNER. If this fails, then attempt to open with LINECALLPRIVILEGE_NONE (or MONITOR privileges). If this succeeds, then the application can make, but not receive INTERACTIVEVOICE calls and should indicate this capability to the user.


KBCategory: kbprg
KBSubcategory: TAPI
Additional reference words: 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 16, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.