aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:39:22 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:39:22 +0000
commitae4907a5fa37beb354b9af4bc95cb6f3171ae28d (patch)
treede08042464f6e5f0526b0bca17e4834e8b07b61f /main
parent8420f14a527c61144f1b53bdce57bc919ac2bb4c (diff)
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/trunk@273054 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 c2d98e48d..12aeb334a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -6479,7 +6479,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"