On 1/9/08, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > > Hi! > > If I shutdown pjsua the on_reg_state callback is triggered with an > acc_id which is invalid (tested with pjsua_acc_is_valid()). > > Isn't it a bit weird to trigger the callback with an invalid acc_id? > Or is this the defined way to signal to the application that an account > was removed? No, this shouldn't happen, and I can't reproduce it here. The only way an account becomes invalid is when pjsua_acc_del() is called, or after pjsua_destroy() returns. Do you have your own worker thread? cheers, -benny regards > klaus > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080110/5273ba71/attachment.html