Just in case anyone still has this problem; close & reopen the sound devices using PJSUA API method pjsua_set_snd_dev(). PJSIP recaptures the microphone with this method although this operation is consuming ~500ms on my WM6 device which adds to the setup delay of VoIP call. Is there any more efficient way to recapture the sound device and that too just the microphone (above API method recaptures both mic and speaker)? Regards Girish ________________________________ From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Steven Beck Sent: Wednesday, November 12, 2008 8:28 PM To: pjsip list Subject: Re: Fwd: problem with mic on windows mobile I had discovered this mic/GSM problem while testing on an AT&T 8252 (HTC). Yesterday I tested on an O2 Exec. On this PDA there is no problem. In fact if I start a SIP call and then the PDA receives a GSM call, during the GSM call, the mic on the PDA goes to both the GSM and SIP calls. The speaker on the PDA only comes from the GSM call. Then after the GSM call ends, the mic and speaker are again connected to the SIP call. Another strange thing I noticed in this test, sound from the telephone (the GSM call) went to the speaker on the PDA, as expected. But it also went to the speaker on the other end of the SIP call. Going back to the HTC, I was not able to reproduce Girish's results. As soon as a GSM call is answered (or initiated) the PDA's mic is no longer available to PJSIP. Subsequent GSM calls did not restore the mic for me. The only way I can restore the mic on the HTC is to terminate and restart my program. Steve On Wed, Nov 12, 2008 at 5:50 AM, Nanang Izzuddin <nanang at pjsip.org<mailto:nanang at pjsip.org>> wrote: Hi, Since pjsua_destroy() will 'completely' shutdown the sound device and restarting pjsua still doesn't bring back the mic, so I guess the problem root could be: 1. bug in the wmme implementation (incomplete steps in shutting down the sound device) 2. bug of the system or hardware After skimming the wmme implementation I couldn't find such 'missing step', could you? And for possibility #2, I also couldn't find such topic in m*dn forum :( Btw, thanks for reporting the bug, it has been fixed in r2366. Regards, nanang **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090105/7ec81051/attachment.html>