From: Jeff Peeler Date: Wed, 2 Dec 2009 21:57:42 +0000 (+0000) Subject: Send ack (response/message) after receiving manager action userevent X-Git-Tag: 1.4.28-rc1~11^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f062697d506b322429be6aeaeb1d408143a0588;p=thirdparty%2Fasterisk.git Send ack (response/message) after receiving manager action userevent (closes issue #16264) Reported by: dimas Patches: event-ack.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@232581 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index 67e4a4f740..cc3d7abd1a 100644 --- a/main/manager.c +++ b/main/manager.c @@ -2215,6 +2215,7 @@ static int action_userevent(struct mansession *s, const struct message *m) } } + astman_send_ack(s, m, "Event Sent"); manager_event(EVENT_FLAG_USER, "UserEvent", "UserEvent: %s\r\n%s", event, body); return 0; }