I think you can use pjsua_reconfigure_logging() to set the log callback. You need to have app-log-level/console_level set as verbosity level needed. nanang On 14/02/2008, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > Hi! > > If an error happens in pjsua-lib I can dump the error to log using > pjsua-perror. But How can I fetch the error reason into a string to > display the reason to the user? > > 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 >