My company is using ShoreTel's SDK to record inbound and outbound calling. We are using LineRecord to handle the recording; however, it is storing the recordings on both the phone server and in the users voice mail. The documentation says there is a way to prevent it from recording in both but doesn't say exactly how.
The code I am using for the LineRecord is:
m_STMLCtl.LineRecord(nLineID, nCallID, RoutePoint, m_STMLCtl.LineGetAddress(nLineID));
The ShoreTel STMLBrowser test application has this code:
STMLCtl.LineRecord(nLineToRecordFrom, nCallID, strExtensionToCall, strContext);
How do I prevent the voice recording from recording to the user's voice mail?