[asterisk-commits] tilghman: branch 1.2 r53245 - /branches/1.2/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 5 23:58:29 MST 2007


Author: tilghman
Date: Tue Feb  6 00:58:28 2007
New Revision: 53245

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53245
Log:
Issue 8987 - Status could return two responses (mnicholson)

Modified:
    branches/1.2/manager.c

Modified: branches/1.2/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/manager.c?view=diff&rev=53245&r1=53244&r2=53245
==============================================================================
--- branches/1.2/manager.c (original)
+++ branches/1.2/manager.c Tue Feb  6 00:58:28 2007
@@ -773,7 +773,6 @@
 	long elapsed_seconds=0;
 	int all = ast_strlen_zero(name); /* set if we want all channels */
 
-	astman_send_ack(s, m, "Channel status will follow");
         if (!ast_strlen_zero(id))
                 snprintf(idText,256,"ActionID: %s\r\n",id);
 	if (all)
@@ -785,6 +784,7 @@
 			return 0;
 		}
 	}
+	astman_send_ack(s, m, "Channel status will follow");
 	/* if we look by name, we break after the first iteration */
 	while(c) {
 		if (c->_bridge)



More information about the asterisk-commits mailing list