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
This commit is contained in:
Jeff Peeler
2009-12-02 21:57:42 +00:00
parent 9482a6da39
commit 7f062697d5

View File

@@ -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;
}