I have a unique dial plan where each call that comes in is checked by the caller id and then directed to a single ext for 2 rings then directed to a queue until someone answers. The redirection makes seeing the whole call in CDR/Queue logs difficult. I want to add to my dial plan custom logging statements so that I can capture the entire call path. I have considered using the System() application to call a script and store the data. Each time my dial plan directs a call I would write a new log via system. Has anyone had experience using the System() application in a dial plan and did it perform well? I am also open to any other suggestions to solve my problem.