?With pjsua 2.4 Linux-3.16.0.34/x86_64/glibc-2.19 Ubuntu guest on VMWare ESXi host without a sound card, I can't complete a call as an error is thrown causing the lib to shutdown. Also - if anyone has some free time to spare and experience with pj/python, I'd appreciate a chat outside of this mailing list for to avoid cluttering it. Thanks in advance. 21:51:02.531 os_core_unix.c !pjlib 2.4 for POSIX initialized 21:51:02.533 sip_endpoint.c .Creating endpoint instance... 21:51:02.534 pjlib .select() I/O Queue created (0x2380aa0) 21:51:02.534 sip_endpoint.c .Module "mod-msg-print" registered 21:51:02.534 sip_transport. .Transport manager created. 21:51:02.534 pjsua_core.c .PJSUA state changed: NULL --> CREATED 21:51:02.534 sip_endpoint.c .Module "mod-pjsua-log" registered 21:51:02.535 pjsua_core.c .Nameserver 8.8.8.8 added 21:51:02.536 sip_endpoint.c .Module "mod-tsx-layer" registered 21:51:02.536 sip_endpoint.c .Module "mod-stateful-util" registered 21:51:02.536 sip_endpoint.c .Module "mod-ua" registered 21:51:02.536 sip_endpoint.c .Module "mod-100rel" registered 21:51:02.536 sip_endpoint.c .Module "mod-pjsua" registered 21:51:02.537 sip_endpoint.c .Module "mod-invite" registered 21:51:02.543 pa_dev.c ..PortAudio sound library initialized, status=0 21:51:02.543 pa_dev.c ..PortAudio host api count=2 21:51:02.543 pa_dev.c ..Sound device count=0 21:51:02.543 pjlib ..select() I/O Queue created (0x238a468) 21:51:02.553 pjsua_vid.c ..Initializing video subsystem.. 21:51:02.553 v4l2_dev.c ...Video4Linux2 has 0 devices 21:51:02.553 colorbar_dev.c ...Colorbar video src initialized with 2 device(s): 21:51:02.553 colorbar_dev.c ... 0: Colorbar generator 21:51:02.553 colorbar_dev.c ... 1: Colorbar-active 21:51:02.553 sip_endpoint.c .Module "mod-evsub" registered 21:51:02.553 sip_endpoint.c .Module "mod-presence" registered 21:51:02.553 sip_endpoint.c .Module "mod-mwi" registered 21:51:02.553 sip_endpoint.c .Module "mod-refer" registered 21:51:02.554 sip_endpoint.c .Module "mod-pjsua-pres" registered 21:51:02.554 sip_endpoint.c .Module "mod-pjsua-im" registered 21:51:02.554 sip_endpoint.c .Module "mod-pjsua-options" registered 21:51:02.554 pjsua_core.c .No SIP worker threads created 21:51:02.554 pjsua_core.c .pjsua version 2.4 for Linux-3.16.0.34/x86_64/glibc-2.19 initialized 21:51:02.554 pjsua_core.c .PJSUA state changed: CREATED --> INIT 21:51:02.554 pjsua_core.c PJSUA state changed: INIT --> STARTING 21:51:02.554 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 21:51:02.554 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING Creating transport for sip:uri-user at uri-host 21:51:02.555 pjsua_core.c SIP UDP socket reachable at x.x.x.x:49557 21:51:02.555 udp0x23b9050 SIP UDP transport started, published address is x.x.x.x:49557 Listening on x.x.x.x:49557 for sip:uri-user at uri-host Attempting registration for sip:uri-user at uri-host 21:51:02.556 pjsua_acc.c Adding account: id=sip:uri-user at uri-host 21:51:02.556 pjsua_acc.c .Account sip:uri-user at uri-host added with id 0 21:51:02.556 pjsua_acc.c .Acc 0: setting registration.. 21:51:02.658 pjsua_acc.c ..Acc 1: Registration sent 21:51:02.658 pjsua_aud.c Setting null sound device.. 21:51:02.658 pjsua_aud.c ..Closing null sound device.. 21:51:02.676 pjsua_aud.c .Opening null sound device.. Attempting new call to 01234xxxxxx at x.x.x.x 21:51:07.769 pjsua_call.c !Making call with acc #0 to sip:01234xxxxxx@ x.x.x.x 21:51:07.769 pjsua_media.c .Call 0: initializing media.. 21:51:07.770 pjsua_media.c ..RTP socket reachable at x.x.x.x:4000 21:51:07.770 pjsua_media.c ..RTCP socket reachable at x.x.x.x:4001 21:51:07.770 pjsua_media.c ..RTP socket reachable at x.x.x.x:4002 21:51:07.770 pjsua_media.c ..RTCP socket reachable at x.x.x.x:4003 21:51:07.771 pjsua_media.c ..Media index 0 selected for audio call 0 python: ../src/pjmedia/sdp_neg.c:110: pjmedia_sdp_neg_create_w_local_offer: Assertion `(status=pjmedia_sdp_validate(local))==PJ_SUCCESS' failed. 21:51:07.956 pjsua_core.c !Shutting down, flags=0... 21:51:07.956 pjsua_core.c PJSUA state changed: RUNNING --> CLOSING 21:51:07.956 pjsua_call.c .Hangup all calls.. 21:51:07.956 pjsua_media.c .Call 0: deinitializing media.. 21:51:07.956 pjsua_media.c .Call 1: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 2: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 3: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 4: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 5: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 6: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 7: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 8: deinitializing media.. 21:51:07.957 pjsua_media.c .Call 9: deinitializing media.. 21:51:07.957 pjsua_pres.c .Shutting down presence.. I am using the following code (trimmed to keep relevant bits only) -------- ua_cfg = pj.UAConfig() ua_cfg.max_calls = 10 media_cfg = pj.MediaConfig() media_cfg.channel_count = 8 media_cfg.max_media_ports = 8 lib = pj.Lib() lib.set_null_snd_dev() lib.init(ua_cfg=ua_cfg, log_cfg=pj.LogConfig(level=7, callback=lambda level, str, len: logging.debug(str.strip())), media_cfg=media_cfg) lib.start(with_thread=True) transport = lib.create_transport(pj.TransportType.UDP) account_cfg = pj.AccountConfig(....) account = lib.create_account(acc_config=account_cfg) account.set_transport(transport) account_cb = AccountHandler(account) account.set_callback(account_cb) account_cb.wait() call_handler = CallHandler() call_handler.set_account(account) call = account_cb.make_call("sip:uri-user at uri-host", call_handler) ------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150420/f0e57947/attachment.html>