LanScape VOIP Media Engine™ : SDK - Phone Line Events
SipOffHook
This event is sent to application software whenever you call the GoOffHook API procedure and the phone line was previously in the on hook state.