[SIP Beyond VoIP] Unknown thread assertion using test sipclient

Rory Latchem rory.latchem at paragon.co.nz
Mon Nov 14 12:45:34 CET 2011


I've built SIP SIMPLE SDK on Fedora 10 using python 2.5.2. I can edit an
account using sip-settings, but I get an assertion when I call sip-register:

# sip-register
using _sigchld
Using account user1 at siptest.com
python: ../src/pj/os_core_unix.c:621: pj_thread_this: Assertion `!"Calling
pjlib from unknown/external thread. You must " "register external threads
with pj_thread_register() " "before calling any pjlib functions."' failed.
Aborted

My account settings might not be valid but I can't see any obvious reason
why this would cause the sip-register command to use an "unknown thread".

I've checked the dependancies and it looks okay to me. I'm using: cython
0.14.0, twisted 11.0.0, backports 1.0.0, eventlet 0.8.11, greenlet 0.4.1,
sipsimple 0.19.0, sipclients 0.19.0  (the latter were downloaded from
http://download.ag-projects.com/SipClient/)

I'm running the sip client as root user on this Linux machine (because no
user accounts have been setup), but don't see why that would cause a
problem.

Sipsimple built with no errors, but I did get these warnings:
warning:
/home/sipsimpleclient/python-sipsimple-0.19.0/sipsimple/core/_core.pxd:32:4:
list already a builtin Cython type
and
sipsimple/core/_core.c: In function
â__pyx_pf_9sipsimple_4core_5_core_10Invitation_send_reinviteâ:
sipsimple/core/_core.c:108624: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c: In function
â__pyx_pf_9sipsimple_4core_5_core_10SDPSession___init__â:
sipsimple/core/_core.c:140599: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c:140619: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c: In function
â__pyx_pf_9sipsimple_4core_5_core_16FrozenSDPSession___init__â:
sipsimple/core/_core.c:143644: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c: In function
â__pyx_pf_9sipsimple_4core_5_core_14SDPMediaStream___init__â:
sipsimple/core/_core.c:146047: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c:146085: warning: assignment from incompatible
pointer type
sipsimple/core/_core.c: In function
â__pyx_pf_9sipsimple_4core_5_core_20FrozenSDPMediaStream___init__â:
sipsimple/core/_core.c:148706: warning: assignment from incompatible
pointer type

Any suggestions what could be causing the assertion?

Thanks,
Rory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20111115/dbdf8685/attachment.html>


More information about the SIPBeyondVoIP mailing list