hi Michal I Add this line to radacct.cxx >> CallSignalSocket* const s = call->GetCallSignalSocketCalling(); >> PIPSocket::Address remoteAddr; >> WORD remotePort = 0; >> if( (s != NULL) && s->GetPeerAddress(remoteAddr,remotePort) ) >> { >> *pdu += new RadiusAttr( >> RadiusAttr::FramedIpAddress, >> remoteAddr >> ); >> } And found error when compile radacct.cxx: In member function `virtual GkAcctLogger::Status RadAcct::LogAcctEvent(GkAcctLogger::AcctEvent, callptr&)': radacct.cxx:452: invalid use of undefined type `struct CallSignalSocket' RasTbl.h:41: forward declaration of `struct CallSignalSocket' make: *** [obj_linux_x86_r/radacct.o] Error 1 Help me again -=-=-=-=-=-=-=-=-=-=-=-=-=-=- Open Trading Co.,Ltd. http://www.open.co.th -=-=-=-=-=-=-=-=-=-=-=-=-=-=- ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ List: Openh323gk-users@lists.sourceforge.net Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/