]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 51966 via svnmerge from
authorChristian Richter <christian.richter@beronet.com>
Wed, 24 Jan 2007 11:24:53 +0000 (11:24 +0000)
committerChristian Richter <christian.richter@beronet.com>
Wed, 24 Jan 2007 11:24:53 +0000 (11:24 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r51966 | crichter | 2007-01-24 11:48:09 +0100 (Mi, 24 Jan 2007) | 1 line

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.4@51979 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index f0f61056a791d7f16f528c122aaf05e0ff694e8c..54907c34e2e787309f0f10cbcfa9b9f41b0e217f 100644 (file)
@@ -4268,6 +4268,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;
                }