Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. TAPI Call program

TAPI Call program

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hadi Dayvary
    wrote on last edited by
    #1

    Hi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). Is there any tricks in TAPI function for this? I have used

    LINEMEDIAMODE_AUTOMATEDVOICE

    for

    lineOpen

    function like this:

    lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);

    Regards

    www.logicsims.ir

    R 1 Reply Last reply
    0
    • H Hadi Dayvary

      Hi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). Is there any tricks in TAPI function for this? I have used

      LINEMEDIAMODE_AUTOMATEDVOICE

      for

      lineOpen

      function like this:

      lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);

      Regards

      www.logicsims.ir

      R Offline
      R Offline
      rahul kulshreshtha
      wrote on last edited by
      #2

      I think you need to take the handle of your headphone. There are 4 or 5 defined steps (function calling) which you should do for establishing a proper communication channel. See this link. http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html[^] Most of these samples are working perfectly however some may not work. Also make sure you are having bi-direction modem otherwise only one side sound will come. Enjoy TAPI !!!

      H 1 Reply Last reply
      0
      • R rahul kulshreshtha

        I think you need to take the handle of your headphone. There are 4 or 5 defined steps (function calling) which you should do for establishing a proper communication channel. See this link. http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html[^] Most of these samples are working perfectly however some may not work. Also make sure you are having bi-direction modem otherwise only one side sound will come. Enjoy TAPI !!!

        H Offline
        H Offline
        Hadi Dayvary
        wrote on last edited by
        #3

        Hi Thanks for your reply. I have a full-duplex modem, and ir works fine with Venta Fax & Voice program. What steps(functions) I must do? I'm using TAPI 2. Regrads

        www.logicsims.ir

        R 1 Reply Last reply
        0
        • H Hadi Dayvary

          Hi Thanks for your reply. I have a full-duplex modem, and ir works fine with Venta Fax & Voice program. What steps(functions) I must do? I'm using TAPI 2. Regrads

          www.logicsims.ir

          R Offline
          R Offline
          rahul kulshreshtha
          wrote on last edited by
          #4

          The msdn pages which I had followed are moved but I found something similar to that. http://msdn.microsoft.com/en-us/library/windows/desktop/ms734223%28v=vs.85%29.aspx[^] This is similar to those steps. Initialise->SessionControl->Device control etc However I think, samples located at http://www.tapi.info/[^] should be better to start than msdn.

          H 1 Reply Last reply
          0
          • R rahul kulshreshtha

            The msdn pages which I had followed are moved but I found something similar to that. http://msdn.microsoft.com/en-us/library/windows/desktop/ms734223%28v=vs.85%29.aspx[^] This is similar to those steps. Initialise->SessionControl->Device control etc However I think, samples located at http://www.tapi.info/[^] should be better to start than msdn.

            H Offline
            H Offline
            Hadi Dayvary
            wrote on last edited by
            #5

            Thanks again for your time. I've found that I should use PhoneApp for taking control of mic/speaker.(I hope this helps)

            www.logicsims.ir

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups