I'll see what I can make tomorrow. The PJThreadDesc is in the method (function) that the thread started with and I'm sending that off to the register thread function in PJSIP using a method that handles errors and logs them out. I'll make a c example of this tomorrow and see if I can reproduce it in there. If I can, I'll send you the example so you can compile it and see for your self. On Sep 21, 2010, at 11:55 PM, Benny Prijono wrote: > Am I right to say that you use local variable for your PJThreadDesc? > This variable needs to be valid for the duration of the thread, so you > can't use local variable for it. > > Other than that, I don't know. As I said, I'd prefer to see small > program to reproduce this, not a complete app which I can't even > compile. > > Best regards, > Benny > > On Wed, Sep 22, 2010 at 8:49 AM, Mr. Gecko <grmrgecko at gmail.com> wrote: >> I have the complete application's source code up at http://opensource.mrgeckosmedia.com/?a=tree&p=VoiceMac&h=06da2d96a78b2b5cd1a12a19387b9bfd7c8366ba&hb=7278b4e61267fad3419e10eed400a8da5edf2c43&f=Classes/VoiceBase/SIP if that will help.