1

I develop a Windows Mobile 6 application where I have to manage multiple calls, using c++ TAPI (from C# using PInvoke).

The application works fine for a single call, but I do not know how to manage when I have an incoming call and I want to answer the second incoming call.

For example: I answer the first call with lineAnswer, I detect the second call and I want to accept it with lineAccept, then put the first call on hold lineHold and answer the second call with lineAnswer.

The problem is that I cannot manage at all the second call. What steps (function calls) should I follow to manage 2 incoming calls?

Alina Danila
  • 1,683
  • 1
  • 24
  • 60

2 Answers2

1

Have you looked at the OpenNetCF.Telephony library? It's an open source C# wrapper around the TAPI functions, and it comes with a number of samples that show how to monitor and answer incoming calls. Maybe there are some pointers for you in there on how to handle your specific scenario.

Tom van Enckevort
  • 4,170
  • 1
  • 25
  • 40
0

I found myself the solution:

The command placed for the call is still lineAnswer but before, out application must be the owner of the call, so a I use lineSetCallPrivilege with the Owner value.

Alina Danila
  • 1,683
  • 1
  • 24
  • 60