Get RasTbl.cxx, find CallRec::GenerateCDR function, modify this code: return PString(PString::Printf, "CDR|%d|%s|%s|%s|%s|%s|%s|%s|%d;", m_CallNumber, (const char *)AsString(m_callIdentifier.m_guid), (const char *)timeString, (const char *)GetEPString(m_Forwarder ? m_Forwarder : m_Calling, m_callingSocket), (const char *)GetEPString(m_Called, m_calledSocket), (const char *)m_destInfo, (const char *)m_srcInfo, (const char *)Toolkit::Instance()->GKName(), m_disconnectCause ); and you are done - disconnect cause will be appended as a last CDR field (it will be printed in decimal, so "normal call clearing - 0x10" will be printed as 16). --- Zygmuntowicz Michal ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ List: Openh323gk-users@lists.sourceforge.net Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/