]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make sure we add the Event header for CoreShowChannels.
authorJason Parker <jparker@digium.com>
Fri, 21 Nov 2008 19:40:57 +0000 (19:40 +0000)
committerJason Parker <jparker@digium.com>
Fri, 21 Nov 2008 19:40:57 +0000 (19:40 +0000)
(closes issue #13334)
Reported by: srt
Patches:
      13334_missing_event_header_in_core_show_channel.diff uploaded by srt (license 378)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/manager.c

index c97e613d912cc164548ada31c10fb2fcc8d6d565..b1ea8a459b0efdbee15bdd27e4ab92e86e5d347f 100644 (file)
@@ -2768,6 +2768,7 @@ static int action_coreshowchannels(struct mansession *s, const struct message *m
                }
 
                astman_append(s,
+                       "Event: CoreShowChannel\r\n"
                        "Channel: %s\r\n"
                        "UniqueID: %s\r\n"
                        "Context: %s\r\n"