TAPI Call program
-
Hi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). Is there any tricks in TAPI function for this? I have used
LINEMEDIAMODE_AUTOMATEDVOICE
for
lineOpen
function like this:
lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);
Regards
-
Hi I have writen a TAPI program that can call (works fine) I want to speak via headset not picking up a phone. I can do this with Venta Fax & Voice program in my PC (so the modem supports this), but my program can not do this (no sounds send/receive). Is there any tricks in TAPI function for this? I have used
LINEMEDIAMODE_AUTOMATEDVOICE
for
lineOpen
function like this:
lineOpen(m_hLineApp, m_nDevID, &m_hLine, dwTAPIVer, 0, 1, LINECALLPRIVILEGE_MONITOR | LINECALLPRIVILEGE_OWNER, LINEMEDIAMODE_AUTOMATEDVOICE, NULL);
Regards
I think you need to take the handle of your headphone. There are 4 or 5 defined steps (function calling) which you should do for establishing a proper communication channel. See this link. http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html[^] Most of these samples are working perfectly however some may not work. Also make sure you are having bi-direction modem otherwise only one side sound will come. Enjoy TAPI !!!
-
I think you need to take the handle of your headphone. There are 4 or 5 defined steps (function calling) which you should do for establishing a proper communication channel. See this link. http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html[^] Most of these samples are working perfectly however some may not work. Also make sure you are having bi-direction modem otherwise only one side sound will come. Enjoy TAPI !!!
Hi Thanks for your reply. I have a full-duplex modem, and ir works fine with Venta Fax & Voice program. What steps(functions) I must do? I'm using TAPI 2. Regrads
-
Hi Thanks for your reply. I have a full-duplex modem, and ir works fine with Venta Fax & Voice program. What steps(functions) I must do? I'm using TAPI 2. Regrads
The msdn pages which I had followed are moved but I found something similar to that. http://msdn.microsoft.com/en-us/library/windows/desktop/ms734223%28v=vs.85%29.aspx[^] This is similar to those steps. Initialise->SessionControl->Device control etc However I think, samples located at http://www.tapi.info/[^] should be better to start than msdn.
-
The msdn pages which I had followed are moved but I found something similar to that. http://msdn.microsoft.com/en-us/library/windows/desktop/ms734223%28v=vs.85%29.aspx[^] This is similar to those steps. Initialise->SessionControl->Device control etc However I think, samples located at http://www.tapi.info/[^] should be better to start than msdn.
Thanks again for your time. I've found that I should use PhoneApp for taking control of mic/speaker.(I hope this helps)