Description
OnAddressStateChange
Fired when the status of an address changes on a line that is currently open by the application.
OnBusy
The OnBusy fired when the call is receiving a busy tone. A busy tone indicates that the call cannot be completed, because the remote party's station or the trunk is in use.
OnCallerID
The OnCallerID event is fired when the Caller ID detected.
OnCallInfoChanged
The OnCallInfoChanged is fired when the call information about the specified call changed.
OnCallStateChange
The OnCallStateChange event is fired when the status of the specified call has changed. Typically, several such messages are received during the lifetime of a call. Applications are notified of new incoming calls with this message; the new call is in the offering state.
OnConnected
The OnConnected event is fired when the call has been established and the connection is made.
OnDataPassThrough
The OnDataPassThrough event is fired when have received the RAW data from the device in Passthrough mode. When it is fired, application could usePassthrough_Readproperty to get the RAW data in the form of bytes array.
OnDebug
Fired when notify the debug information.
OnDeviceStateChanged
The OnDeviceStateChanged event is fired when the state of the device has changed.
OnDevSpecific
The OnDevSpecific event is fired when notify the application about device-specific events occurring on a line. The meaning of the message and the interpretation of the parameters are device specific.
OnDevSpecificFeature
The OnDevSpecificFeature event is fired when notify the application about device-specific events occurring on a line. The meaning of the message and the interpretation of the parameters are device specific.
OnDialTone
OnDisConnected
The OnDisConnected event is fired when the remote party hang up the call.
OnDTMF
The OnDTMF event is fired when a digit detected.
OnError
The OnError reports the error information.
OnFrequencyDetected
The OnFrequencyDetected event is fired when the main frequencies on the phone line detected.
OnGatherDigitsTerminated
The OnGatherDigitsTerminated event is fired when current digit-gathering request terminated or canceled.
OnGenerateComplete
The OnGenerateComplete is fired when the current digits/tones generation terminated. Only one such generation request can be in progress and a given call at any time. This event is also fired when digit or tone generation canceled.
OnInfo
Report the information to application.
OnLineReply
The OnLineReply event reports the results of function calls that completed asynchronously.
OnMonitorMedia
The OnMonitorMedia event is fired when TAPI indicates that the media mode of the call changed.
OnOffering
The OnOffering event is fired when an incoming call detected.
OnPhoneButton
The OnPhoneButton event is fired when a button press on the local phone detected.
OnPhoneDevSpecific
The OnPhoneDevSpecific event is fired when notify the application about device-specific events occurring on a phone. The meaning of the message and the interpretation of the parameters are device specific.
OnPhoneDynamicCreate
The OnPhoneDynamicCreate event fired to inform the application of the creation of a new phone device.
OnPhoneDynamicRemove
The OnPhoneDynamicCreate event fired to inform the application of the creation of a new phone device.
OnPhoneStateChanged
The OnPhoneStateChanged event is fired when the status of a phone device changed.
OnRequestMakeCall
The OnRequestMakeCall event reports the arrival of a new request of MakeCall(tapiRequestMakeCall) from another application.
OnRing
The OnRing event fire when the ringing detected.
OnSetupTransferExComplete
The OnSetupTransferExComplete event is fired when SetupTransferExhas completed.
OnSilenceEnd
The OnSilenceEnd event is fired when the ending point of the silence detected (by software).
OnSilenceStart
The OnSilenceStart event is fired when the starting point of the silence detected (by software).
OnSpeakState
The OnSpeakState event is fired when the state of TTS has changed.
OnSpecialInfo
The OnSpecialInfo event is fired when special information available.
OnSpeechRecognition
The OnSpeechRecognition event is fired when the state of the recognition processing has changed.
OnToneDetected
The OnToneDetected event will be fired when a tone is detected.
OnTTYDetection
The OnTTYDetection event is fired when a TTY character detected.
OnWaveInBuffer
The OnWaveInBuffer event is fired when the recording waveform-audio data is presented.
OnWaveOutBuffer
The OnWaveOutBuffer event is fired when it need the wave buffer data. Users ought to use
Writebuffermethod output the buffer to the device within OnWaveOutBuffer event.
شما باید بگین کارتون چیه که بهتر بشه راهنمایی کرد، مثلاً برای یک برنامه شماره گیری و پخش پیغام ساده، رویدادهای OnConnected، OnOffering، OnRing و OnIdle کافی بنظر میان (البته OnDebug و OnInfo هم برای trace وقایع می تونید استفاده کنید) ولی یه IVR با ضبط صدا و گرفتن DTMF و چند ترانک و ... خیلی بیشتر از event ها رو باید تسلط داشته باشین؛ کلاً بستگی به کاربرد شما داره، نمیشه گفت یه راهنمای جامع (حتی زبان اصلی!) کجا میشه پیدا کرد؟
اینجا هم در موردش صحبت شده ...
=================
برای تسلط به ارتباطات تلفنی، بنظرم بهتره یکمی ریزتر به قضیه نگاه کنید، درسته مراجع یکم پیچیده هستن ولی امیدوارم الان هم استفاده نکردین، بعداً ها! بدردتون بخوره؛ فعلاً بذارینشون پیش اونیکی دانلودها برای مراجعه های آتی (فک کنم مال هممون الان از 1 ترا گذشته باشه!
):
- اولی خوب معلومه، استاد معظم سیسکو، یه نمونه اش اینجا (PDF: 6,973,300 bytes) و بیشتر
- Mitel یه رفرنس برای MiTSP و MiAUDIO داره که کلاً روندهای کاری رو توضیح داده: اینجا (PDF: 2,059,636 bytes)
- یه برنامه ساده از مایکروسافت برای آشنایی با TAPI 2.0 : اینجا (Zip: 55,628 bytes)