關於MODEM的問題..... |
尚未結案
|
ckunli
一般會員 發表:1 回覆:1 積分:0 註冊:2002-08-05 發送簡訊給我 |
|
cmf
尊榮會員 發表:84 回覆:918 積分:1032 註冊:2002-06-26 發送簡訊給我 |
引言: 問題一: 讓MODEM處於等待狀況下!如何可以抓取來電號碼(例如來電顯示功能)? 問題二: MODEM接通後如何得知對方所按下的電話任一號碼鍵?Modem configuration functions enable you to configure a modem before making a connection. An application can set modem options and determine the features of a modem without using commands specific to any modem device. Following are the general features an application may set before making a call: ?Primary mode of operation (synchronous, asynchronous, and whether error control is enabled). ?V.42 error control (defined by CCITT recommendation V.42), including specific parameters. CCITT stands for the International Telegraph and Telephone Consultative Committee. ?V.42bis (defined by CCITT recommendation V.42bis) and MNP5 data compression. ?Time-out options, including call setup, inactivity, and buffered data delivery. Before setting a modem's configuration, an application should determine the capabilities of the modem device by using the GetCommProperties function. This function fills in a COMMPROP structure. This structure contains both a general portion, which applies to all communications devices, and a portion that is specific to each provider subtype. For modem devices, the provider-specific portion of the COMMPROP structure is a MODEMDEVCAPS structure. An application can get and set the current configuration of a modem by using the GetCommConfig and SetCommConfig functions, both of which use a COMMCONFIG structure. This structure contains both a general portion, which applies to all communications devices, and a portion that is specific to each provider subtype. For modem devices, the provider-specific portion of the COMMCONFIG structure is a MODEMSETTINGS structure. After configuring a modem, an application can use the telephony application programming interface (TAPI) to actually establish a connection. The modem configuration functions do not provide for long-term management and maintenance of a modem. Modem service providers should supply modem configuration dialog boxes for this purpose.
------
︿︿ |
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
I think you should try TAPI (I have no experience on it). However a commerical product may be of some help: http://www.turbopower.com/products/apro/
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |