This works on CM 4.x where XXX is the extension called.select callingpartynumber,finalcalledpartynumber,originalCalledPartyNumber,datetimeorigination,datetimedisconnect,duration,DATEADD(ss, datetimeorigination,'Jan 1, 1970 00:00:00')from calldetailre...