[asterisk-commits] crichter: branch 1.4 r51979 - in /branches/1.4: ./ channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 24 04:24:53 MST 2007


Author: crichter
Date: Wed Jan 24 05:24:53 2007
New Revision: 51979

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51979
Log:
Merged revisions 51966 via svnmerge from 
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)
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/channels/chan_misdn.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=51979&r1=51978&r2=51979
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Wed Jan 24 05:24:53 2007
@@ -4268,6 +4268,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