< Previous by Date Date Index Next by Date >
  Thread Index  

[SFTF] SIP user-agent with own audio data source and target


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.