By Date: <-- -->
By Thread: <-- -->

SIP user-agent with own audio data source and target



Just uncomment the lines and add the header includes to sipxtapi.cpp ... I
just tried this last night. If I remember right they are:
#include "mp/MprToSpkr.h"
#include "mp/MprFromMic.h"

-Jeff Knighton


Quoting Ji?í Un?ovský <jiri.uncovsky (at) gmail.com>:

Greetings,

I would like to create a SIP user-agent using sipXtapi, but I need to
replace the microphone/speakers with my own audio data source and
target.

When I was exploring the sipXtapi API, I found the
sipxConfigSetMicAudioHook and sipxConfigSetSpkrAudioHook functions that
should serve exactly this purpose. However, in sipXtapi.cpp, these
functions are empty (they just log their call and return a successful
return code). The assignment of the audio hook itself is commented out.

I wondered what is the right procedure for hooking my own audio data
source
and target insted of microphone/speakers. Can I simply uncomment the
lines?

Thank you for your help.
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev



_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev