problem with mic on windows mobile

SB
Steven Beck
Sun, Nov 9, 2008 10:28 PM

I was playing around with your package (very cool by the way) on windows
mobile.  Sound in calls seems to be working fine.  But if the mobile device
gets a cell call, after that, the mic doesn't work in pjsip.  Any ideas
what's wrong?

Is it possible to be notified when pjsip loses the mic?  What needs to be
done to get the mic back?

Steven

I was playing around with your package (very cool by the way) on windows mobile. Sound in calls seems to be working fine. But if the mobile device gets a cell call, after that, the mic doesn't work in pjsip. Any ideas what's wrong? Is it possible to be notified when pjsip loses the mic? What needs to be done to get the mic back? Steven
SB
Steven Beck
Mon, Nov 10, 2008 6:00 PM

I really could use some help here - please !

After getting a cell call, I called pjsua_destroy() followed by
re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and
pjsua_start).  Even after all of that the microphone (sound from PDA to
other side of call) is not working.  But if I exit my program and restart my
program, then the mic is working again.

It seems that something in pjsip isn't correctly re-initialized, but what??

---------- Forwarded message ----------
From: Steven Beck sbeck45@gmail.com
Date: Sun, Nov 9, 2008 at 5:28 PM
Subject: problem with mic on windows mobile
To: pjsip pjsip@lists.pjsip.org

I was playing around with your package (very cool by the way) on windows
mobile.  Sound in calls seems to be working fine.  But if the mobile device
gets a cell call, after that, the mic doesn't work in pjsip.  Any ideas
what's wrong?

Is it possible to be notified when pjsip loses the mic?  What needs to be
done to get the mic back?

Steven

I really could use some help here - please ! After getting a cell call, I called pjsua_destroy() followed by re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and pjsua_start). Even after all of that the microphone (sound from PDA to other side of call) is not working. But if I exit my program and restart my program, then the mic is working again. It seems that something in pjsip isn't correctly re-initialized, but what?? ---------- Forwarded message ---------- From: Steven Beck <sbeck45@gmail.com> Date: Sun, Nov 9, 2008 at 5:28 PM Subject: problem with mic on windows mobile To: pjsip <pjsip@lists.pjsip.org> I was playing around with your package (very cool by the way) on windows mobile. Sound in calls seems to be working fine. But if the mobile device gets a cell call, after that, the mic doesn't work in pjsip. Any ideas what's wrong? Is it possible to be notified when pjsip loses the mic? What needs to be done to get the mic back? Steven
SB
Steven Beck
Mon, Nov 10, 2008 10:47 PM

I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic
problem.

In that file, in pjmedia_snd_init the code needs to zero dev_info before
calling WideCharToMultiByte to convert the device name.  What is happening
now is each time this method is called to init the sound device, the "-
Input" gets added to the name, making the name grow each time.

But this did not fix the mic problem.  To repeat the problem - after the pda
gets a cell call, pjsip no longer gets sound from the mic.  The only
solution I've found so far is to exit and restart my program, which of
course is not acceptable.

---------- Forwarded message ----------
From: Steven Beck sbeck45@gmail.com
Date: Mon, Nov 10, 2008 at 1:00 PM
Subject: Fwd: problem with mic on windows mobile
To: pjsip pjsip@lists.pjsip.org

I really could use some help here - please !

After getting a cell call, I called pjsua_destroy() followed by
re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and
pjsua_start).  Even after all of that the microphone (sound from PDA to
other side of call) is not working.  But if I exit my program and restart my
program, then the mic is working again.

It seems that something in pjsip isn't correctly re-initialized, but what??

---------- Forwarded message ----------
From: Steven Beck sbeck45@gmail.com
Date: Sun, Nov 9, 2008 at 5:28 PM
Subject: problem with mic on windows mobile
To: pjsip pjsip@lists.pjsip.org

I was playing around with your package (very cool by the way) on windows
mobile.  Sound in calls seems to be working fine.  But if the mobile device
gets a cell call, after that, the mic doesn't work in pjsip.  Any ideas
what's wrong?

Is it possible to be notified when pjsip loses the mic?  What needs to be
done to get the mic back?

Steven

I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic problem. In that file, in pjmedia_snd_init the code needs to zero dev_info before calling WideCharToMultiByte to convert the device name. What is happening now is each time this method is called to init the sound device, the "- Input" gets added to the name, making the name grow each time. But this did not fix the mic problem. To repeat the problem - after the pda gets a cell call, pjsip no longer gets sound from the mic. The only solution I've found so far is to exit and restart my program, which of course is not acceptable. ---------- Forwarded message ---------- From: Steven Beck <sbeck45@gmail.com> Date: Mon, Nov 10, 2008 at 1:00 PM Subject: Fwd: problem with mic on windows mobile To: pjsip <pjsip@lists.pjsip.org> I really could use some help here - please ! After getting a cell call, I called pjsua_destroy() followed by re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and pjsua_start). Even after all of that the microphone (sound from PDA to other side of call) is not working. But if I exit my program and restart my program, then the mic is working again. It seems that something in pjsip isn't correctly re-initialized, but what?? ---------- Forwarded message ---------- From: Steven Beck <sbeck45@gmail.com> Date: Sun, Nov 9, 2008 at 5:28 PM Subject: problem with mic on windows mobile To: pjsip <pjsip@lists.pjsip.org> I was playing around with your package (very cool by the way) on windows mobile. Sound in calls seems to be working fine. But if the mobile device gets a cell call, after that, the mic doesn't work in pjsip. Any ideas what's wrong? Is it possible to be notified when pjsip loses the mic? What needs to be done to get the mic back? Steven
G
girish_kumar
Wed, Nov 12, 2008 7:41 AM

Hi,

I am also facing the same issue as reported by Steve. Some more observations from my side:-

  1. The Sound device callbacks to stream (get_frame and put_frame) are still working after GSM call has been made although it seems that only silence is captured as the VAD drops all the frames and only minimal RTP (marker bit set) packets are sent to other party.
  2. There is another strange observation. As Steve mentioned, once a GSM has been done and VoIP call is done thereafter, there is a just one-way voice flow from other party to windows mobile device. Now while this VoIP call is going on, initiate an incoming GSM call to this device. For the duration when the Device is ringing for incoming GSM call, the voice is getting correctly captured from the microphone and 2-way voice flow resumes (although ringing tone adds to captured voice).

Can anyone throw some light on what can be causing this problem in mic.

Regards
Girish


From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Steven Beck
Sent: Tuesday, November 11, 2008 4:18 AM
To: pjsip
Subject: [pjsip] Fwd: problem with mic on windows mobile

I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic problem.

In that file, in pjmedia_snd_init the code needs to zero dev_info before calling WideCharToMultiByte to convert the device name.  What is happening now is each time this method is called to init the sound device, the "- Input" gets added to the name, making the name grow each time.

But this did not fix the mic problem.  To repeat the problem - after the pda gets a cell call, pjsip no longer gets sound from the mic.  The only solution I've found so far is to exit and restart my program, which of course is not acceptable.

---------- Forwarded message ----------
From: Steven Beck <sbeck45@gmail.commailto:sbeck45@gmail.com>
Date: Mon, Nov 10, 2008 at 1:00 PM
Subject: Fwd: problem with mic on windows mobile
To: pjsip <pjsip@lists.pjsip.orgmailto:pjsip@lists.pjsip.org>

I really could use some help here - please !

After getting a cell call, I called pjsua_destroy() followed by re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and pjsua_start).  Even after all of that the microphone (sound from PDA to other side of call) is not working.  But if I exit my program and restart my program, then the mic is working again.

It seems that something in pjsip isn't correctly re-initialized, but what??

---------- Forwarded message ----------
From: Steven Beck <sbeck45@gmail.commailto:sbeck45@gmail.com>
Date: Sun, Nov 9, 2008 at 5:28 PM
Subject: problem with mic on windows mobile
To: pjsip <pjsip@lists.pjsip.orgmailto:pjsip@lists.pjsip.org>

I was playing around with your package (very cool by the way) on windows mobile.  Sound in calls seems to be working fine.  But if the mobile device gets a cell call, after that, the mic doesn't work in pjsip.  Any ideas what's wrong?

Is it possible to be notified when pjsip loses the mic?  What needs to be done to get the mic back?

Steven

**************** 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

Hi, I am also facing the same issue as reported by Steve. Some more observations from my side:- 1. The Sound device callbacks to stream (get_frame and put_frame) are still working after GSM call has been made although it seems that only silence is captured as the VAD drops all the frames and only minimal RTP (marker bit set) packets are sent to other party. 2. There is another strange observation. As Steve mentioned, once a GSM has been done and VoIP call is done thereafter, there is a just one-way voice flow from other party to windows mobile device. Now while this VoIP call is going on, initiate an incoming GSM call to this device. For the duration when the Device is ringing for incoming GSM call, the voice is getting correctly captured from the microphone and 2-way voice flow resumes (although ringing tone adds to captured voice). Can anyone throw some light on what can be causing this problem in mic. Regards Girish ________________________________ From: pjsip-bounces@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Steven Beck Sent: Tuesday, November 11, 2008 4:18 AM To: pjsip Subject: [pjsip] Fwd: problem with mic on windows mobile I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic problem. In that file, in pjmedia_snd_init the code needs to zero dev_info before calling WideCharToMultiByte to convert the device name. What is happening now is each time this method is called to init the sound device, the "- Input" gets added to the name, making the name grow each time. But this did not fix the mic problem. To repeat the problem - after the pda gets a cell call, pjsip no longer gets sound from the mic. The only solution I've found so far is to exit and restart my program, which of course is not acceptable. ---------- Forwarded message ---------- From: Steven Beck <sbeck45@gmail.com<mailto:sbeck45@gmail.com>> Date: Mon, Nov 10, 2008 at 1:00 PM Subject: Fwd: problem with mic on windows mobile To: pjsip <pjsip@lists.pjsip.org<mailto:pjsip@lists.pjsip.org>> I really could use some help here - please ! After getting a cell call, I called pjsua_destroy() followed by re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and pjsua_start). Even after all of that the microphone (sound from PDA to other side of call) is not working. But if I exit my program and restart my program, then the mic is working again. It seems that something in pjsip isn't correctly re-initialized, but what?? ---------- Forwarded message ---------- From: Steven Beck <sbeck45@gmail.com<mailto:sbeck45@gmail.com>> Date: Sun, Nov 9, 2008 at 5:28 PM Subject: problem with mic on windows mobile To: pjsip <pjsip@lists.pjsip.org<mailto:pjsip@lists.pjsip.org>> I was playing around with your package (very cool by the way) on windows mobile. Sound in calls seems to be working fine. But if the mobile device gets a cell call, after that, the mic doesn't work in pjsip. Any ideas what's wrong? Is it possible to be notified when pjsip loses the mic? What needs to be done to get the mic back? Steven **************** 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***
NI
Nanang Izzuddin
Wed, Nov 12, 2008 10:50 AM

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

On Tue, Nov 11, 2008 at 5:47 AM, Steven Beck sbeck45@gmail.com wrote:

I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic
problem.

In that file, in pjmedia_snd_init the code needs to zero dev_info before
calling WideCharToMultiByte to convert the device name.  What is happening
now is each time this method is called to init the sound device, the "-
Input" gets added to the name, making the name grow each time.

But this did not fix the mic problem.  To repeat the problem - after the pda
gets a cell call, pjsip no longer gets sound from the mic.  The only
solution I've found so far is to exit and restart my program, which of
course is not acceptable.

---------- Forwarded message ----------
From: Steven Beck sbeck45@gmail.com
Date: Mon, Nov 10, 2008 at 1:00 PM
Subject: Fwd: problem with mic on windows mobile
To: pjsip pjsip@lists.pjsip.org

I really could use some help here - please !

After getting a cell call, I called pjsua_destroy() followed by
re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and
pjsua_start).  Even after all of that the microphone (sound from PDA to
other side of call) is not working.  But if I exit my program and restart my
program, then the mic is working again.

It seems that something in pjsip isn't correctly re-initialized, but what??

---------- Forwarded message ----------
From: Steven Beck sbeck45@gmail.com
Date: Sun, Nov 9, 2008 at 5:28 PM
Subject: problem with mic on windows mobile
To: pjsip pjsip@lists.pjsip.org

I was playing around with your package (very cool by the way) on windows
mobile.  Sound in calls seems to be working fine.  But if the mobile device
gets a cell call, after that, the mic doesn't work in pjsip.  Any ideas
what's wrong?

Is it possible to be notified when pjsip loses the mic?  What needs to be
done to get the mic back?

Steven


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

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 On Tue, Nov 11, 2008 at 5:47 AM, Steven Beck <sbeck45@gmail.com> wrote: > I found a bug in wmme_sound.c, but fixing the bug didn't fix the mic > problem. > > In that file, in pjmedia_snd_init the code needs to zero dev_info before > calling WideCharToMultiByte to convert the device name. What is happening > now is each time this method is called to init the sound device, the "- > Input" gets added to the name, making the name grow each time. > > But this did not fix the mic problem. To repeat the problem - after the pda > gets a cell call, pjsip no longer gets sound from the mic. The only > solution I've found so far is to exit and restart my program, which of > course is not acceptable. > > > ---------- Forwarded message ---------- > From: Steven Beck <sbeck45@gmail.com> > Date: Mon, Nov 10, 2008 at 1:00 PM > Subject: Fwd: problem with mic on windows mobile > To: pjsip <pjsip@lists.pjsip.org> > > > I really could use some help here - please ! > > After getting a cell call, I called pjsua_destroy() followed by > re-initializing it (pjsua_create, pjsua_init, pjsua_transport_create and > pjsua_start). Even after all of that the microphone (sound from PDA to > other side of call) is not working. But if I exit my program and restart my > program, then the mic is working again. > > It seems that something in pjsip isn't correctly re-initialized, but what?? > > ---------- Forwarded message ---------- > From: Steven Beck <sbeck45@gmail.com> > Date: Sun, Nov 9, 2008 at 5:28 PM > Subject: problem with mic on windows mobile > To: pjsip <pjsip@lists.pjsip.org> > > > I was playing around with your package (very cool by the way) on windows > mobile. Sound in calls seems to be working fine. But if the mobile device > gets a cell call, after that, the mic doesn't work in pjsip. Any ideas > what's wrong? > > Is it possible to be notified when pjsip loses the mic? What needs to be > done to get the mic back? > > Steven > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >
SB
Steven Beck
Wed, Nov 12, 2008 2:58 PM

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@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

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@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 > > >
G
girish_kumar
Mon, Jan 5, 2009 12:24 PM

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@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Steven Beck
Sent: Wednesday, November 12, 2008 8:28 PM
To: pjsip list
Subject: Re: [pjsip] 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@pjsip.orgmailto:nanang@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

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@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Steven Beck Sent: Wednesday, November 12, 2008 8:28 PM To: pjsip list Subject: Re: [pjsip] 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@pjsip.org<mailto:nanang@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***