[Asterisk-Dev] StatusComplete Patch

Jayson Vantuyl kagato at chaosium.net
Wed Jan 28 09:37:27 MST 2004


Here's a patch to add a StatusComplete event to the management protocol.
This event simply marks the end of the status events (so a program can
know when all of them have been reported).

Mark, please merge this in.

Jayson Vantuyl

-------------- next part --------------
--- asteriskstock/manager.c	Wed Jan 28 09:32:55 2004
+++ asterisk/manager.c	Wed Jan 28 09:29:55 2004
@@ -361,6 +361,10 @@
 		}
 		c = ast_channel_walk(c);
 	}
+	ast_cli(s->fd,
+	"Event: StatusComplete\r\n"
+	"%s"
+	"\r\n",idText);
 	return 0;
 }
 


More information about the asterisk-dev mailing list