fixed the busy problem (dialstatus was not busy when we called a busy extension)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Christian Richter
2007-01-24 10:48:09 +00:00
parent 9eaff06d26
commit 34b5cd1de5
+4
View File
@@ -3848,6 +3848,10 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
ch->state=MISDN_DISCONNECTED;
start_bc_tones(ch);
if (ch->ast) ch->ast->hangupcause=bc->cause;
ast_queue_control(ch->ast, AST_CONTROL_BUSY);
ch->need_busy=0;
break;
}