In this article you can find the feature codes for the following actions: spy, whisper and barge, which allow you to manually perform these actions directly from the Softphone.
NOTE: To be able to Spy/Whisper/Barge, you must first have a user assigned to the extension you're trying to apply these actions to.
Find the steps on how to create a user here, based on your platform: