Intel 05-2065-002 Security Camera User Manual


 
36 IP Media Server (Global Call) Demo Guide — November 2003
Demo Details
Device CVoiceDevice
Handles voice device operations, such as
playing, recording, tone detection, and
tone generation
Holds CVoiceStateMachine
Note: The public functions in this class
should only be accessed by classes
inside the Voice module.
Init( )
Opens the voice device. If successful,
creates voice state machine.
Exit( )
Deletes the voice state machine from the
voice device
Closes voice device
ProcessEvent( )
Processes voice device events
Connect( )
Allows IP device to listen to its receiving
timeslot
Play( )
Plays a vox file
OnPlayComplete( )
Replays a vox file when it has finished
playing
Record( )
Records voice to a vox file
GetDigits( )
Retrieves DTMF digits
GetDigitCount( )
Returns the number of retrieved DTMF
digits
GetDigitString( )
Returns retrieved DTMF string
Connect( )
Allows the voice device to listen to its
receiving timeslot
Disconnect( )
Allows voice device to unlisten to its
receiving timeslot
GetStoppedReason( )
Tells why a played voice file stops
GetDeviceHandle( )
Returns voice device handle
GetXmitSlot( )
Returns voice device transmit timeslot
SetReceiveSlot( )
Sets voice device receiving timeslot
Table 7. Voice Module Classes (Continued)
Category Class Name Interface