I am working on getting python pjsua to run on a windows server with no sound device. The following test program works fine on my desktop where I happen to have a soundcard (which is not being used), but fails at the lib.init() before I get a chance to call set_null_snd_dev() on my windows server which has no sound device on it: ==== import pjsua as pj def log_cb(level, str, len): print str, lib = pj.Lib() uaConfig = pj.UAConfig() logConfig = pj.LogConfig() logConfig.callback = log_cb mediaConfig = pj.MediaConfig() lib.init(ua_cfg = uaConfig, log_cfg = logConfig, media_cfg = mediaConfig) lib.set_null_snd_dev() lib.start() ==== I've researched the FAQ and the change logs and found the fix which was applied in: http://trac.pjsip.org/repos/ticket/768 I have that fix (I'm on r2931), but the above program still fails with the complaint: C:\cogi\cogi_pjsip>python testAudioInit.py 10:41:47.258 pjsua_media.c Media stack initialization has returned error: Found no audio devices (PJMEDIA_EAUD_NODEV) [status=420005] Traceback (most recent call last): File "testAudioInit.py", line 10, in <module> lib.init(ua_cfg = uaConfig, log_cfg = logConfig, media_cfg = mediaConfig) File "C:\cogi\cogi_pjsip\pjsua.py", line 2119, in init self._err_check("init()", self, err) File "C:\cogi\cogi_pjsip\pjsua.py", line 2611, in _err_check raise Error(op_name, obj, err_code, err_msg) I have looked at altering endpoint.c to ignore the error return from pjmedia_aud_subsys_init() but this simply results in a different error. Do we have a way to run pjsip under windows with no sound card and use the set_null_snd_dev()? Thanks for any assistance. -Shawn Smith -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091012/85c3f277/attachment.html>