البته میشه نتیجه گرفت خط های مخابرات (تلفن ثابت ضعیفه سیستمش) چون با موبایل تشخیص میده گوشی رو برداشته یا قطع کرده ولی در تلفن ثابت خیر ؟
آیا کسی اطلاع بیشتری نداره که درسته یا نه ؟ آیا راهی هست که تشخیص بدیم گوشی رو برداشته یا نه که پیام پخش بشه ؟
سلام دوست عزیز با کامپوننت kdlisten و کنترل رخداد (Event) می توانید DListen.OnListenState کنترل کنید که گوشی برداشته شده یا نه.پارامتر بازگشتی یک ListenState می باشد. که به شرح ذیل است:
rtSoundStart = 0
Indicates that the recognition engine detected a sound and the recognition process will be started. During the recognition process, if a phrase is recognized, the KDListen.OnRecognition event is fired.
rtSoundEnd = 1
Occurs after a pre-determined amount of time passes during which recognition engine have heard no sound.
rtInterference = 2
Indicates that the recognition failed due to the interference problem specified by the Param1 parameter.