I am trying to play a wave file while the call is active. But the played wave file is heard on the other side of line as well as on local speaker. I want it to be heard on other side of the call and not on the local speaker.
I am using the CMdaAudioRecorderUtility. This class provides an API SetAudioDeviceMode by which you can play the wave file either locally or on network. But it doesnt seems that it is working.

Can anyone please help me out.....