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?
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.