Hi

I get no sound from sipxezphone during a call. Recording works and the other 
side can hear me.

I checked RTP packets using ethereal, and tried saving incomming RTP stream and 
play it using goldwave, which can decode g711u. I could hear the sound I wanted.

When I tried using sipxConfigSetSpkrAudioHook(&audioOutHook); to write callback 
buffer into a file to see whats incomming the file contains only zeroes.

Then I tried to save wave buffer in speakerthreadwnt.cpp just before 
waveOutWrite in the speaker thread.I also tried it at the end of outPrePrep 
which gets audio samples from MpAudioSample::getSamples(). But this time I 
didn't get all zeroes but a weird repeating sound of which a part is in 
attachment. I played it as 16 bit signed PCM little endian 8000 samples per 
second.

I would like to ask whether I am right and the buffer sent to waveOutWrite 
should be played using my settings. Another issue that it is weird that when I 
play the buffer using goldwave I'm getting that repeating sound at least, while 
when speaker thread plays it nothing can be heard. Volume is not muted of 
course.

Disabling HAVE_SPEEX doesn't help.

Jaro
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to