Dale Worley wrote: > On Fri, 2008-01-04 at 15:39 +0300, Alexander Chemeris wrote: > >> We need to know exact name of class of this >> OsServerTask object. OsServerTask itself is an abstract base class, >> used in many places in sipX libs. We should know which task exactly >> is causing this error. Simplest way to identify the task is to look for >> type of OsServerTask object. >> > > One way to do this is to go to the frame that executes OsServerTask::run > and get the value of mName, which is the task name. For example: > > Thanks for this - I was wracking my brain trying to find a way to get the info actual class. Lucky someone thought to put the actual name in the class data :-)
In my case mName is a struct (class?) that contains some text fields that include TYPE "UtlString" mpData "OsNatAgentTask-4"
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
