--- main/channel.c-ori 2009-11-10 12:33:58.753398463 -0200 +++ main/channel.c 2009-11-10 12:36:02.128377942 -0200 @@ -3798,8 +3798,19 @@ break; case AST_CONTROL_BUSY: + ast_cdr_busy(chan->cdr); + *outstate = f->subclass; + timeout = 0; + break; + case AST_CONTROL_CONGESTION: + ast_cdr_failed(chan->cdr); + *outstate = f->subclass; + timeout = 0; + break; + case AST_CONTROL_ANSWER: + ast_cdr_answer(chan->cdr); *outstate = f->subclass; timeout = 0; /* trick to force exit from the while() */ break;