[svn-commits] russell: branch russell/events r103670 - /team/russell/events/main/devicestate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 14 08:08:37 CST 2008


Author: russell
Date: Thu Feb 14 08:08:36 2008
New Revision: 103670

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103670
Log:
zero out the all_busy flag in some more cases

Modified:
    team/russell/events/main/devicestate.c

Modified: team/russell/events/main/devicestate.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/main/devicestate.c?view=diff&rev=103670&r1=103669&r2=103670
==============================================================================
--- team/russell/events/main/devicestate.c (original)
+++ team/russell/events/main/devicestate.c Thu Feb 14 08:08:36 2008
@@ -613,12 +613,14 @@
 		break;
 	case AST_DEVICE_INUSE:
 		agg->in_use = 1;
+		agg->all_busy = 0;
 		agg->all_unavail = 0;
 		agg->all_free = 0;
 		agg->all_on_hold = 0;
 		break;
 	case AST_DEVICE_RINGING:
 		agg->ring = 1;
+		agg->all_busy = 0;
 		agg->all_unavail = 0;
 		agg->all_free = 0;
 		agg->all_on_hold = 0;
@@ -626,6 +628,7 @@
 	case AST_DEVICE_RINGINUSE:
 		agg->in_use = 1;
 		agg->ring = 1;
+		agg->all_busy = 0;
 		agg->all_unavail = 0;
 		agg->all_free = 0;
 		agg->all_on_hold = 0;




More information about the svn-commits mailing list