Merged revisions 59254 via svnmerge from
authorChristian Richter <christian.richter@beronet.com>
Fri, 18 May 2007 09:42:42 +0000 (09:42 +0000)
committerChristian Richter <christian.richter@beronet.com>
Fri, 18 May 2007 09:42:42 +0000 (09:42 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59254 | crichter | 2007-03-27 17:00:10 +0200 (Di, 27 Mär 2007) | 9 lines

Merged revisions 59252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59252 | crichter | 2007-03-27 15:56:15 +0200 (Di, 27 Mär 2007) | 1 line

fixed #9355
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64953 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 06c04a2..7b23e7b 100644 (file)
@@ -4385,7 +4385,8 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
 
                        if (ch->ast) {
                                ch->ast->hangupcause=bc->cause;
-                               ast_queue_control(ch->ast, AST_CONTROL_BUSY);
+                               if (bc->cause == 17)
+                                       ast_queue_control(ch->ast, AST_CONTROL_BUSY);
                        }
                        ch->need_busy=0;
                        break;