break;
case AST_CONTROL_BUSY:
+ ast_cdr_busy(chan->cdr);
+ *outstate = f->subclass.integer;
+ timeout = 0;
+ break;
+
case AST_CONTROL_CONGESTION:
+ ast_cdr_failed(chan->cdr);
+ *outstate = f->subclass.integer;
+ timeout = 0;
+ break;
+
case AST_CONTROL_ANSWER:
+ ast_cdr_answer(chan->cdr);
*outstate = f->subclass.integer;
timeout = 0; /* trick to force exit from the while() */
break;
ast_clear_flag(c0, AST_FLAG_NBRIDGE);
ast_clear_flag(c1, AST_FLAG_NBRIDGE);
- 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;
-
if (c0->_softhangup == AST_SOFTHANGUP_UNBRIDGE || c1->_softhangup == AST_SOFTHANGUP_UNBRIDGE)
continue;