add call log analysis code