Здравствуйте, davion, Вы писали:
D>А вот с опознованием поднятия трубки тоже проблема...
D>может все таки есть метод???
http://groups.google.com.ua/groups?hl=ru&lr=&newwindow=1&threadm=39A2D482.BDA7A53F%40mindspring.com&rnum=2&prev=/groups%3Fhl%3Dru%26lr%3D%26newwindow%3D1%26q%3Ddetermine%2Blinedial%26btnG%3D%25D0%259F%25D0%25BE%25D0%25B8%25D1%2581%25D0%25BA%26meta%3Dgroup%253Dmicrosoft.public.win32.programmer.tapi.*
http://groups.google.com.ua/groups?hl=ru&lr=&newwindow=1&threadm=01bce92f%24ce972d40%247340eace%40cape-d&rnum=3&prev=/groups%3Fq%3Dlinemakecall%2Bpickup%26btnG%3D%25D0%259F%25D0%25BE%25D0%25B8%25D1%2581%25D0%25BA%26num%3D100%26hl%3Dru%26lr%3D%26newwindow%3D1
http://groups.google.com.ua/groups?hl=ru&lr=&newwindow=1&threadm=3cde0837_2%40news.tm.net.my&rnum=4&prev=/groups%3Fq%3Dlinemakecall%2Bpickup%26btnG%3D%25D0%259F%25D0%25BE%25D0%25B8%25D1%2581%25D0%25BA%26num%3D100%26hl%3Dru%26lr%3D%26newwindow%3D1
И так далее. В общем и целом, достаем ключевую фразу:
The Unimodem/V TSP that Microsoft developed for voice modems also can not
detect when a person answers a call, but instead sends the
LINECALLSTATE_CONNECTED message within a second or two of successfully
dialing the telephone number.
Так что, стандартного решения нет. Но, как вариант, предлагается следующее:
we may detect the tone periodically using lineMonitorTones
() , let say 1 second. once the message return no more, we
may assume our call is picked up. of course return of
disconnect message means the call is disconnected without
being picked up.
Это одно из решений, думаю, что есть и другие, достаточно посмотреть сюда:
http://groups.google.com.ua/groups?q=linemakecall+pickup&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&num=100&hl=ru&lr=&newwindow=1
Одним словом — сплошной геморрой...