(closes issue #16962)
Reported by: jlpedrosa
Patches:
patch.diff uploaded by jlpedrosa (license 1002)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317915
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
* DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
Description field that is set by 'description' in the channel configuration
file.
+ * Added Uniqueid header to UserEvent.
Asterisk HTTP Server
--------------------------
ast_str_append(&body, 0, "%s\r\n", args.extra[x]);
}
- manager_event(EVENT_FLAG_USER, "UserEvent", "UserEvent: %s\r\n%s", args.eventname, ast_str_buffer(body));
+ manager_event(EVENT_FLAG_USER, "UserEvent",
+ "UserEvent: %s\r\n"
+ "Uniqueid: %s\r\n"
+ "%s",
+ args.eventname, chan->uniqueid, ast_str_buffer(body));
+
ast_free(body);
return 0;