المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : TAPI Call program



C++ Programming
12-15-2011, 01:02 AM
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
www.logicsims.ir