A customer wants the following functionality: If a client is calling the PBX again, i.e. a queue, the call to be routed to the same agent (if available), who serviced the call previous time, otherwise new call to be serviced by random agent. I'm wondering is it possible to realize such feature using CFD and reading for example the CDR log file? I guess reading a PBX database will be more difficult and not well documented. Also "last" agent should be limited probably by time -- may be one or several days back only.