با سلام خدمت دوستان
من یک راهنما حدلمقدور فارسی راجبه رویدادهای TAPIEx.Netمیخواسم خیلی ممنو میشم اگه من رو راهنمایی کنید.
با تشکر
Printable View
با سلام خدمت دوستان
من یک راهنما حدلمقدور فارسی راجبه رویدادهای TAPIEx.Netمیخواسم خیلی ممنو میشم اگه من رو راهنمایی کنید.
با تشکر
سلام
بسته به اینکه شما کدوم نسخه از TAPIEx.Net رو دارین (منظورم Edition هست، نه Version؛ یعنی Lite، Standard، Professional و Enterpriseا)، event ها فرق می کنن؟ تو event مربوط به OnInfo نسخه و رجیستر رو خودش بهتون میده، مثلاً برای نسخه Enterpriseکه رجیستر نشده، یه چیزی شبیه این میگیرین:
فارسی که من مطلبی ندیدم، تو version قبلی یعنی اکتیوایکس COM اینجا رو می تونید ببینید، ولی برای جدیده (دات نتی!) یه جدول درست کرده بودم که براتون میذارم:نقل قول:
Evaluating edition: Enterprise Edition
WARNING! UNREGISTERED COPY, EVALUATION ONLY.
TAPIEx.Net Component v:...
Event
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)
Saeed_m_Faridخیلی خیلی ممنونم از راهنمایت، وباید به گم که من هدفم ایجاد یک تلفن گویا برای یک مدسه است و برای این کار نیاز:
1-ارتباط با خط تلفن
2-در یافت کلید های فشده شده توسط تماس گیرنده
3-پخش یک فایل صوتی برای وی
4-واین که در اول کار تماس گیرنده باید شماره دانش آموزی فرزند خود را وارد کند
باز هم از شما با بت راهنمائی کاملتون تشکر می کنم.:خجالت::لبخندساده:
بازم جواب سوالم رو ندادی : "بسته به اینکه شما کدوم نسخه از 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؛ بهرصورت کار کردن با این کامپوننت خیلی راحتِ. مطمئن تر از اونیکی ها هست، بازم میگم به شرطی که درست رجیستر شده باشه یا خریده باشینِش ...
عزیز از Tapiex.net استفاده نکن اگر نسخه تریال رو گرفتی.بعد از چن هفته غیر فعال میشه و کار نمیکنه و به مشکل برمیخوری.چون دیگه نصبم نمیشه.یا ک.ر.ک اونو پیدا کن (که نیست چون من 6 ماه دنبالش بودم و پیدا نکردم) یا از نسخه های اکتیوایکسش استفاده کن که ک.ر.ک هم داره.اگر خاستی بگو تا بزارم واست
dllایکه من استفاده میکنم این اسمش TAPIExCt.dll و ورژنش هم 3.4.4.22هست و تا انجای که میدونم رجیستر شده هست چون زمان اجرای سمپل ها که آقا Saeed_m_Faridاشاره کردن هیچ اروری نمیده .
این که شما میگی Tapiex.net نیست.همون اکتیو ایکسش هست.اگر درست هست که چه بهتر.کار کن لذتش ببر.البته دارم تاپیک آموزش کامل تلفن گویا رو میزارم.حتما 1 سر بزن.
با سلام به دوستان این فایل path ه داره یعنی غیر فهال میشه ؟:گیج:
خوب نسخه اکتیو اکسو از کجا میشه گیر اورد میشه راهنمایی کنید
سلام
من می خوام کاربر بتونه تماس رو ریجکت کنه در صورت امکان دوستانی که می دونن راهنمایی کنند
من هر کار کردم نسخه اکتیو ایکس نتونستم به برنامه اضافه کنم خطا می ده در صورت امکان راهنمایی کنید و اگر می تونید نسخه ای که دارید و امتحان شده و مشکلی نداره برای من ایمیل کنید.