Hi all.

Having a speaker issue with the sipXtapi library. I'm able to initialize
sipXtapi, create and register a line, and, when placing a call, I am able to
speak to the other party (microphone is working and sound is transmitted).
Also, using WireShark to keep an eye on SIP and RTP traffic, there is
information going in both directions, but I'm not hearing anything from the
computer speakers. (after selecting the correct output device) To
double-check I've also begun recording the call; when I play the recorded
WAV file back, I'm able to hear my voice when I'm speaking, and, only after
I've first said something into the microphone, I'm able to hear what's
coming from the other end of the line.

So it seems nothing is being forwarded on to the speakers. Has anyone else
ever had an issue like this? Any ideas?

Here's my basic sipXtapi setup:

    sipxInitialize(&m_sipx, SIPX_PORT_AUTO, SIPX_PORT_AUTO, SIPX_PORT_AUTO,
SIPX_PORT_AUTO);
    sipxConfigEnableRport(m_sipx, true);
            sipxLineAdd(m_sipx, lineUrl, &m_sipxLine, m_sipContact);
            sipxLineAddCredential(m_sipxLine, GetSipUsername(),
GetSipPassword(), "");
            sipxLineRegister(m_sipxLine, true);

            sipxAudioSetCallInputDevice(m_sipx, GetMicrophone());
            sipxAudioSetCallOutputDevice(m_sipx, GetSpeaker());
            sipxAudioSetRingerOutputDevice(m_sipx, GetSpeaker());
            sipxAudioMute(m_sipx, false);
            sipxAudioEnableSpeaker(m_sipx, SPEAKER);
            sipxAudioSetVolume(m_sipx, SPEAKER, 70);
            sipxAudioSetVolume(m_sipx, RINGER, 70);
            sipxConfigSetAudioCodecByName(m_sipx, "PCMU PCMA");

            sipxConfigEnableRTCP(m_sipx, false);

            sipxConfigKeepAliveAdd(m_sipx, m_sipContact,
SIPX_KEEPALIVE_SIP_OPTIONS, GetSipDomain(), 5060, 30);

    sipxCallCreate(m_sipx, m_sipxLine, &m_sipxCall);
    sipxCallConnect(m_sipxCall, szNumber, m_sipContact);
    sipxCallAudioRecordFileStart(m_sipxCall, "testCall.wav");

Any suggestions would be greatly appreciated.

Thanks!

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

Reply via email to