Hi Experts, I think i found a solution for the earpiece in windows mobile device like HTC, Samsung and others. The solution is to use the ril dll in the mobile device system like msdn said. The structure for the audio device that we can found in ril.h from microsoft: HRESULT RIL_GetAudioDevices( HRIL hRil // @parm handle to RIL instance returned by <f RIL_Initialize> ); HRESULT RIL_SetAudioDevices( HRIL hRil, // @parm handle to RIL instance returned by <f RIL_Initialize> const RILAUDIODEVICEINFO* lpAudioDeviceInfo // @parm audio devices to set ); #define RIL_AUDIO_NONE (0x00000000) // @constdefine No audio devices #define RIL_AUDIO_HANDSET (0x00000001) // @constdefine Handset #define RIL_AUDIO_SPEAKERPHONE (0x00000002) // @constdefine Speakerphone #define RIL_AUDIO_HEADSET (0x00000003) // @constdefine Headset #define RIL_AUDIO_CARKIT (0x00000004) // @constdefine Carkit Ok but how to implement this in PJSIP ? It's just to solve this issue that many users have with this mobile system, the sound is in the rearpiece and not to the earpiece like we can see with Skype. So you have echo, it's not a private call because every people around you can listen what you hear ... In Symbian, it's different they already have the solution with PJSIP and in internal code to route the speech. Anybody's interrested by this implementation ? May be by Nanang or Benny ? I'm waiting your posts. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081211/0350dd36/attachment.html>