PDA

View Full Version : سوال: TAPIEx.Net Events



hamid-gh
سه شنبه 16 خرداد 1391, 10:38 صبح
با سلام خدمت دوستان
من یک راهنما حدلمقدور فارسی راجبه رویدادهای TAPIEx.Netمیخواسم خیلی ممنو میشم اگه من رو راهنمایی کنید.
با تشکر

Saeed_m_Farid
چهارشنبه 17 خرداد 1391, 11:34 صبح
سلام
بسته به اینکه شما کدوم نسخه از TAPIEx.Net رو دارین (منظورم Edition هست، نه Version؛ یعنی Lite، Standard، Professional و Enterpriseا)، event ها فرق می کنن؟ تو event مربوط به OnInfo (http://www.tapiex.com/TPNet_Help/OnInfo.htm) نسخه و رجیستر رو خودش بهتون میده، مثلاً برای نسخه Enterpriseکه رجیستر نشده، یه چیزی شبیه این میگیرین:



Evaluating edition: Enterprise Edition
WARNING! UNREGISTERED COPY, EVALUATION ONLY.
TAPIEx.Net Component v:...

فارسی که من مطلبی ندیدم، تو version قبلی یعنی اکتیوایکس COM اینجا (http://www.tapiex.com/help/TAPIEx.htm) رو می تونید ببینید، ولی برای جدیده (دات نتی!) یه جدول درست کرده بودم که براتون میذارم:
Event

Description
OnAddressStateChange (http://www.tapiex.com/TPNet_Help/OnAddressStateChange.htm)
Fired when the status of an address changes on a line that is currently open by the application.
OnBusy (http://www.tapiex.com/TPNet_Help/OnBusy.htm)
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 (http://www.tapiex.com/TPNet_Help/OnCallerID.htm)
The OnCallerID event is fired when the Caller ID detected.
OnCallInfoChanged (http://www.tapiex.com/TPNet_Help/OnCallInfoChanged.htm)
The OnCallInfoChanged is fired when the call information about the specified call changed.
OnCallStateChange (http://www.tapiex.com/TPNet_Help/OnCallStateChange.htm)
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 (http://www.tapiex.com/TPNet_Help/OnConnected.htm)
The OnConnected event is fired when the call has been established and the connection is made.
OnDataPassThrough (http://www.tapiex.com/TPNet_Help/OnDataPassThrough.htm)
The OnDataPassThrough event is fired when have received the RAW data from the device in Passthrough mode. When it is fired, application could usePassthrough_Read (http://www.tapiex.com/TPNet_Help/Passthrough_Read.htm)property to get the RAW data in the form of bytes array.
OnDebug (http://www.tapiex.com/TPNet_Help/OnDebug.htm)
Fired when notify the debug information.
OnDeviceStateChanged (http://www.tapiex.com/TPNet_Help/OnDeviceStateChanged.htm)
The OnDeviceStateChanged event is fired when the state of the device has changed.
OnDevSpecific (http://www.tapiex.com/TPNet_Help/OnDevSpecific.htm)
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 (http://www.tapiex.com/TPNet_Help/OnDevSpecificFeature.htm)
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 (http://www.tapiex.com/TPNet_Help/OnDialTone.htm)

OnDisConnected (http://www.tapiex.com/TPNet_Help/OnDisConnected.htm)
The OnDisConnected event is fired when the remote party hang up the call.
OnDTMF (http://www.tapiex.com/TPNet_Help/OnDTMF.htm)
The OnDTMF event is fired when a digit detected.
OnError (http://www.tapiex.com/TPNet_Help/OnError.htm)
The OnError reports the error information.
OnFrequencyDetected (http://www.tapiex.com/TPNet_Help/OnFrequencyDetected.htm)
The OnFrequencyDetected event is fired when the main frequencies on the phone line detected.
OnGatherDigitsTerminated (http://www.tapiex.com/TPNet_Help/OnGatherDigitsTerminated.htm)
The OnGatherDigitsTerminated event is fired when current digit-gathering request terminated or canceled.
OnGenerateComplete (http://www.tapiex.com/TPNet_Help/OnGenerateComplete.htm)
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 (http://www.tapiex.com/TPNet_Help/OnInfo.htm)
Report the information to application.
OnLineReply (http://www.tapiex.com/TPNet_Help/OnLineReply.htm)
The OnLineReply event reports the results of function calls that completed asynchronously.
OnMonitorMedia (http://www.tapiex.com/TPNet_Help/OnMonitorMedia.htm)
The OnMonitorMedia event is fired when TAPI indicates that the media mode of the call changed.
OnOffering (http://www.tapiex.com/TPNet_Help/OnOffering.htm)
The OnOffering event is fired when an incoming call detected.
OnPhoneButton (http://www.tapiex.com/TPNet_Help/OnPhoneButton.htm)
The OnPhoneButton event is fired when a button press on the local phone detected.
OnPhoneDevSpecific (http://www.tapiex.com/TPNet_Help/OnPhoneDevSpecific.htm)
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 (http://www.tapiex.com/TPNet_Help/OnPhoneDynamicCreate.htm)
The OnPhoneDynamicCreate event fired to inform the application of the creation of a new phone device.
OnPhoneDynamicRemove (http://www.tapiex.com/TPNet_Help/OnPhoneDynamicRemove.htm)
The OnPhoneDynamicCreate event fired to inform the application of the creation of a new phone device.
OnPhoneStateChanged (http://www.tapiex.com/TPNet_Help/OnPhoneStateChanged.htm)
The OnPhoneStateChanged event is fired when the status of a phone device changed.
OnRequestMakeCall (http://www.tapiex.com/TPNet_Help/OnRequestMakeCall.htm)
The OnRequestMakeCall event reports the arrival of a new request of MakeCall(tapiRequestMakeCall (http://msdn.microsoft.com/library/en-us/tapi/tapi2/tapirequestmakecall.asp)) from another application.
OnRing (http://www.tapiex.com/TPNet_Help/OnRing.htm)
The OnRing event fire when the ringing detected.
OnSetupTransferExComplete (http://www.tapiex.com/TPNet_Help/OnSetupTransferExComplete.htm)
The OnSetupTransferExComplete event is fired when SetupTransferEx (http://www.tapiex.com/TPNet_Help/OnSetupTransferExComplete.htm)has completed.
OnSilenceEnd (http://www.tapiex.com/TPNet_Help/OnSilenceEnd.htm)
The OnSilenceEnd event is fired when the ending point of the silence detected (by software).
OnSilenceStart (http://www.tapiex.com/TPNet_Help/OnSilenceStart.htm)
The OnSilenceStart event is fired when the starting point of the silence detected (by software).
OnSpeakState (http://www.tapiex.com/TPNet_Help/OnSpeakState.htm)
The OnSpeakState event is fired when the state of TTS has changed.
OnSpecialInfo (http://www.tapiex.com/TPNet_Help/OnSpecialInfo.htm)
The OnSpecialInfo event is fired when special information available.
OnSpeechRecognition (http://www.tapiex.com/TPNet_Help/OnSpeechRecognition.htm)
The OnSpeechRecognition event is fired when the state of the recognition processing has changed.
OnToneDetected (http://www.tapiex.com/TPNet_Help/OnToneDetected.htm)
The OnToneDetected event will be fired when a tone is detected.
OnTTYDetection (http://www.tapiex.com/TPNet_Help/OnTTYDetection.htm)
The OnTTYDetection event is fired when a TTY character detected.
OnWaveInBuffer (http://www.tapiex.com/TPNet_Help/OnWaveInBuffer.htm)
The OnWaveInBuffer event is fired when the recording waveform-audio data is presented.
OnWaveOutBuffer (http://www.tapiex.com/TPNet_Help/OnWaveOutBuffer.htm)
The OnWaveOutBuffer event is fired when it need the wave buffer data. Users ought to use Writebuffer (http://www.tapiex.com/TPNet_Help/Writebuffer.htm)method output the buffer to the device within OnWaveOutBuffer event.


شما باید بگین کارتون چیه که بهتر بشه راهنمایی کرد، مثلاً برای یک برنامه شماره گیری و پخش پیغام ساده، رویدادهای OnConnected، OnOffering، OnRing و OnIdle کافی بنظر میان (البته OnDebug و OnInfo هم برای trace وقایع می تونید استفاده کنید) ولی یه IVR با ضبط صدا و گرفتن DTMF و چند ترانک و ... خیلی بیشتر از event ها رو باید تسلط داشته باشین؛ کلاً بستگی به کاربرد شما داره، نمیشه گفت یه راهنمای جامع (حتی زبان اصلی!) کجا میشه پیدا کرد؟ اینجا (http://barnamenevis.org/showthread.php?302526-%DA%A9%D8%A7%D9%85%D9%BE%D9%88%D9%86%D9%86%D8%AA-Tapiex-%28%D8%AA%D9%84%D9%81%D9%86-%DA%AF%D9%88%DB%8C%D8%A7%29-23-%D9%85%D8%AB%D8%A7%D9%84) هم در موردش صحبت شده ...

=================
برای تسلط به ارتباطات تلفنی، بنظرم بهتره یکمی ریزتر به قضیه نگاه کنید، درسته مراجع یکم پیچیده هستن ولی امیدوارم الان هم استفاده نکردین، بعداً ها! بدردتون بخوره؛ فعلاً بذارینشون پیش اونیکی دانلودها برای مراجعه های آتی (فک کنم مال هممون الان از 1 ترا گذشته باشه!:لبخند:):


اولی خوب معلومه، استاد معظم سیسکو، یه نمونه اش اینجا (http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/tapi_dev/7_1_3/tapidevguide.pdf) (PDF: 6,973,300 bytes) و بیشتر (http://developer.cisco.com/web/tapi/docs)
Mitel یه رفرنس برای MiTSP و MiAUDIO داره که کلاً روندهای کاری رو توضیح داده: اینجا (http://www.mitel.com/resources/tech_mitsp_miaudio_en_r4.pdf) (PDF: 2,059,636 bytes)
یه برنامه ساده از مایکروسافت برای آشنایی با TAPI 2.0 : اینجا (ftp://ftp.microsoft.com/developr/TAPI/tb20.zip) (Zip: 55,628 bytes)

hamid-gh
پنج شنبه 18 خرداد 1391, 09:37 صبح
Saeed_m_Faridخیلی خیلی ممنونم از راهنمایت، وباید به گم که من هدفم ایجاد یک تلفن گویا برای یک مدسه است و برای این کار نیاز:
1-ارتباط با خط تلفن
2-در یافت کلید های فشده شده توسط تماس گیرنده
3-پخش یک فایل صوتی برای وی
4-واین که در اول کار تماس گیرنده باید شماره دانش آموزی فرزند خود را وارد کند
باز هم از شما با بت راهنمائی کاملتون تشکر می کنم.:خجالت::لبخندساده:

Saeed_m_Farid
پنج شنبه 18 خرداد 1391, 10:02 صبح
بازم جواب سوالم رو ندادی : "بسته به اینکه شما کدوم نسخه از TAPIEx.Net رو دارین (منظورم Edition هست، نه Version؛ یعنی Lite، Standard، Professional و Enterpriseا)، event ها فرق می کنن؟" (مهمتر: کامپوننت رجیستر شده؟)
اگه فقط یه خط داشته باشی خیلی کار باهاش راحته، یه دمو داره تو پوشه نصب شده TAPIEx.Net بنام DTMF یعنی : %Program Files%\TAPIEx.com\TAPIEx.Net\demos\CSharp\DTMF
کامل و راحت توضیح داده نحوه کار با DTMF هایی که کاربر میزنه و تولید اونها و Answer کردن خط و ...
شما میتونی بعد گرفتن کلیدها و دریافت کلید نهایی، یا رسیدن DigitTimeout و بدست آوردن شماره دانش آموزی از بانک اِت، یا PlaybackFile کنی یا PlayMemoryBuffer؛ بهرصورت کار کردن با این کامپوننت خیلی راحتِ. مطمئن تر از اونیکی ها هست، بازم میگم به شرطی که درست رجیستر شده باشه یا خریده باشینِش ...

kimm66
پنج شنبه 18 خرداد 1391, 10:51 صبح
عزیز از Tapiex.net استفاده نکن اگر نسخه تریال رو گرفتی.بعد از چن هفته غیر فعال میشه و کار نمیکنه و به مشکل برمیخوری.چون دیگه نصبم نمیشه.یا ک.ر.ک اونو پیدا کن (که نیست چون من 6 ماه دنبالش بودم و پیدا نکردم) یا از نسخه های اکتیوایکسش استفاده کن که ک.ر.ک هم داره.اگر خاستی بگو تا بزارم واست

hamid-gh
پنج شنبه 18 خرداد 1391, 11:08 صبح
dllایکه من استفاده میکنم این اسمش TAPIExCt.dll و ورژنش هم 3.4.4.22هست و تا انجای که میدونم رجیستر شده هست چون زمان اجرای سمپل ها که آقا Saeed_m_Faridاشاره کردن هیچ اروری نمیده .

kimm66
پنج شنبه 18 خرداد 1391, 11:11 صبح
این که شما میگی Tapiex.net نیست.همون اکتیو ایکسش هست.اگر درست هست که چه بهتر.کار کن لذتش ببر.البته دارم تاپیک آموزش کامل تلفن گویا رو میزارم.حتما 1 سر بزن.

mehdis2
جمعه 23 تیر 1391, 23:27 عصر
با سلام به دوستان این فایل path ه داره یعنی غیر فهال میشه ؟:گیج:
خوب نسخه اکتیو اکسو از کجا میشه گیر اورد میشه راهنمایی کنید

احمد سامعی
شنبه 17 فروردین 1392, 12:24 عصر
سلام

من می خوام کاربر بتونه تماس رو ریجکت کنه در صورت امکان دوستانی که می دونن راهنمایی کنند

من هر کار کردم نسخه اکتیو ایکس نتونستم به برنامه اضافه کنم خطا می ده در صورت امکان راهنمایی کنید و اگر می تونید نسخه ای که دارید و امتحان شده و مشکلی نداره برای من ایمیل کنید.