aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:41:16 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:41:16 +0000
commit35d5ceb9d1d6477ae1a3a57c59affa8f5e1cb4c8 (patch)
tree707294640eb98b09816a9c674449138d19315b95 /main
parent4bd6b5c20f80110cbf543c7cd228f0e5bbed995e (diff)
Merged revisions 273054 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r273054 | tilghman | 2010-06-29 17:39:22 -0500 (Tue, 29 Jun 2010) | 11 lines Send DialPlanComplete as a response, not as a separate event. Otherwise, it goes to all manager sessions and may exclude the current session, if the Events mask excludes it. (closes issue #17504) Reported by: rrb3942 Patches: showdialplan_patch.diff uploaded by rrb3942 (license 1003) Tested by: rrb3942 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@273056 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 7d475f189..84d168d9a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -6142,7 +6142,7 @@ static int manager_show_dialplan(struct mansession *s, const struct message *m)
return 0;
}
- manager_event(EVENT_FLAG_CONFIG, "ShowDialPlanComplete",
+ astman_append(s, "Event: ShowDialPlanComplete\r\n"
"EventList: Complete\r\n"
"ListItems: %d\r\n"
"ListExtensions: %d\r\n"