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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Something about TAPI -- call picked up ?

Something about TAPI -- call picked up ?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi, I am designing and developing a voice and telephony related project with C programming and TAPI 2.0. I need a voice modem and use this modem to make a phone call. My question is as follows. After I make a phone call, how, can I know somebody already "picks up" the phone call ? I need to know when or if somebody picks up the phone because my program needs to do audio playback on the phone. Any response would be appreciated !

    J M 2 Replies Last reply
    0
    • L Lost User

      Hi, I am designing and developing a voice and telephony related project with C programming and TAPI 2.0. I need a voice modem and use this modem to make a phone call. My question is as follows. After I make a phone call, how, can I know somebody already "picks up" the phone call ? I need to know when or if somebody picks up the phone because my program needs to do audio playback on the phone. Any response would be appreciated !

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      I guess you initiated the call with lineMakeCall. If so, after this function returns providing an HCALL for the call, the callback function the program registers with lineInitialize will start receiving notifications about the progress of the call. The connection establishment is signaled by the LINE_CALLSTATE message with call state param LINECALLSTATE_CONNECTED. If you're new to TAPI programming you may want to have a look at Michael Dunn's TAPI site (this Michael Dunn is not the Michael Dunn from CP, I think.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      M 1 Reply Last reply
      0
      • J Joaquin M Lopez Munoz

        I guess you initiated the call with lineMakeCall. If so, after this function returns providing an HCALL for the call, the callback function the program registers with lineInitialize will start receiving notifications about the progress of the call. The connection establishment is signaled by the LINE_CALLSTATE message with call state param LINECALLSTATE_CONNECTED. If you're new to TAPI programming you may want to have a look at Michael Dunn's TAPI site (this Michael Dunn is not the Michael Dunn from CP, I think.) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

        M Offline
        M Offline
        manio
        wrote on last edited by
        #3

        Thanks ! Your response really helps !!:)

        1 Reply Last reply
        0
        • L Lost User

          Hi, I am designing and developing a voice and telephony related project with C programming and TAPI 2.0. I need a voice modem and use this modem to make a phone call. My question is as follows. After I make a phone call, how, can I know somebody already "picks up" the phone call ? I need to know when or if somebody picks up the phone because my program needs to do audio playback on the phone. Any response would be appreciated !

          M Offline
          M Offline
          Michael P Butler
          wrote on last edited by
          #4

          A lot depends on the capabilities of your modem. Most modems send a Connected Call State as soon as they connect and the other end starts ringing, not when the person answers at the other end. Michael :-)

          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