[asterisk-commits] crichter: branch 1.2 r51966 - /branches/1.2/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 24 03:48:10 MST 2007


Author: crichter
Date: Wed Jan 24 04:48:09 2007
New Revision: 51966

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51966
Log:
fixed the busy problem (dialstatus was not busy when we called a busy extension)

Modified:
    branches/1.2/channels/chan_misdn.c

Modified: branches/1.2/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_misdn.c?view=diff&rev=51966&r1=51965&r2=51966
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Wed Jan 24 04:48:09 2007
@@ -3848,6 +3848,10 @@
 		
 			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;
 		}
 		



More information about the asterisk-commits mailing list