Re: Conference in Windows Mobile.
- From: Erphan <Erphan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 May 2009 03:10:05 -0700
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.
- Prev by Date: blank line in Providers section on Advanced tab of Phone and Modem options in Control Panel
- Next by Date: Re: blank line in Providers section on Advanced tab of Phone and Modem options in Control Panel
- Previous by thread: blank line in Providers section on Advanced tab of Phone and Modem options in Control Panel
- Next by thread: Reading a phone number from a TAPI server
- Index(es):
Relevant Pages
|