Hello,
It depends on the circumstances. For example, in the performance of a job in corporate call center employess are aware that their phone calls will may be monitored and or recorded. Under these circumstance, the recording of the call is legal.
Can you provide me with further details pertaining to your individual circumstances? Doing so will enable me to provide you with a more specific answer.