Hi everbody! I managed to use pjsip in a Qt application. The problem was, that if a callback is executed and you try to access a Qt GUI element from this callback the application will crash because Qt does not want non-Qt threads (the callback thread is a thread created by pjsip) to access GUI elements. The workaround is to use Qt's "signals and slots" mechanism with Qt::QueuedConnection between the callback function and your application logic which access Qt objects. cheers Klaus Klaus Darilion schrieb: > Hi! > > I'm trying to add pjsip to a QT C++ application. This gives me headaches > as I have no clue how to make callbacks in C++. There are lots of > different approaches (static member function as wrapper, templates ...). > > I tried the static member function wrapper with logging callbacks but my > application crashes ~50%. > > I wonder if someone have practical tips for my how to connect pjsip's > callbacks to member functions. > > thanks > 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