[OpenSIPStack] [ATLSIP] USB phone support
Brought to you by:
joegenbaclor
From: Ilian J. C. P. <ip...@so...> - 2007-09-12 07:28:57
|
Hello. I have checked in code for USB phone support. The relevant classes are: HidManager - Manages all HIDs (i.e. USB phones) and sends events to the handlers. HidHandler - Handles/listens for events from HidManager. Override this to provide custom actions in response to events. HidDevice - Override this to implement a USB phone interface. This is where the USB phone SDK code should go. The relevant files are: Hid.cxx/h - base code for USB phone support CmHidDevice.cxx/h - the ATCOM USB phone interface implementation. This is currently implemented in the OSSPhoneSvc project under ATLSIP but it should also be trivial to do the same to OSSPhone .NET and OSSPhone MFC. Will do this later. For now, only ATCOM USB phones are supported. To enable this, you will need to request a copy of the SDK from ATCOM (http://www.atcom.cn/). Then put all relevant files (i.e. cm_hid.*) in the opensipstack/external/hid folder and then do a rebuild. Regards, Ilian |