Re: Conference in Windows Mobile.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello Andreas!

I have tried and followed the steps and here is the problem that i am facing.


the first call goes to hold (which cannot be unhold - had to restart the
handset), and the second calls gets disconnected.


Here is what I wish to do:
First call is already connected, and user has selected that the next
incoming should be added to conference automatically.


Here is what i'm doing:

I check the number of new call using lineGetCallInfo when I receive
LINE_CALLINFO,
If the number is equal to what I am want then I'll call the method
lineSetupConference using below code
dwRequestId = lineSetupConference (hConnectedCall, NULL, &hConference,
&hConsultCall, 4, NULL);

hConnectedCall is the handle of the call that is already connected
hConference is at this moment NULL initialized handle (HCALL)
hConsultCall is also NULL initialized handle (HCALL)

now I wait for these 5 messages to arrive
LINE_REPLY
LINE_REQUEST
LINECALLSTATE_CONFERENCED
LINECALLSTATE_DIALTONE
LINECALLSTATE_ONHOLDPENDINGCONFERENCE

When I receive the last message I use the lineAnswerCall(hConsultCall, NULL,
0) to answer the call and wait for the LINECALLSTATE_CONNECTED message with
hDevice = hConsultCall
if thats equal I call the method lineAddToConference (hConference,
hConsultCall);


Needs your guidiance again, what I am doing wrong here.


Thanks,
Irfan



"Andreas Marschall [MVP TAPI]" wrote:

"Erphan Rajput" <irfan4@xxxxxxxxx> schrieb im Newsbeitrag
news:c6a47d1f-a890-4798-8c69-002fd54e168e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Andreas for replying, I have read the FAQ, now going to try it
and let you know the results.

Irfan, you are welcome.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • Re: Conferencing mode within Two TAPI applications environment
    ... lineCompleteTransfer (hCall, hConsultCall, &hConfCall, ... relate to our usual phone usage, ... 3rd call handle: hConfCall. ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Conferencing mode within Two TAPI applications environment
    ... What is the correct and safe way to deallocate resources if two TAPI apps ... when is hConfcall and hConsultCall get destroyed? ...
    (microsoft.public.win32.programmer.tapi)
  • Re: should i alwasy check for LINE_REPLY??
    ... message so that i will be sure that hConsultCall is filled and the ... or should i use waitforsingleobject and signal an event in LINE_REPLY ... since i am new to TAPI i ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Identify call IDs
    ... Just suppose i phone someone, and it replies my phone call, my program will ... P.E, If a fax comes up, finish the call and don't save the audio. ... Microsoft MVP for TAPI / Windows SDK ... TAPI development around the world (Frappr! ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TSPI_lineGetCallInfo not getting the correct info?
    ... >> You suggested me to check if I can get the dwCallID from PBX messages. ... > It showns all communication between TAPISRV and a 1st party TSP when MS ... > Microsoft MVP for TAPI / Windows SDK ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)