From: Christian Richter Date: Wed, 24 Jan 2007 10:48:09 +0000 (+0000) Subject: fixed the busy problem (dialstatus was not busy when we called a busy extension) X-Git-Tag: 1.2.15~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b5cd1de5415b521a2e7d77f2e1869b906b545b;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index f5499fd9d5..f6b172ab8e 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -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; }