[asterisk-commits] tilghman: trunk r273054 - /trunk/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 29 17:39:27 CDT 2010
Author: tilghman
Date: Tue Jun 29 17:39:22 2010
New Revision: 273054
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273054
Log:
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
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/pbx.c?view=diff&rev=273054&r1=273053&r2=273054
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Tue Jun 29 17:39:22 2010
@@ -6479,7 +6479,7 @@
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"
More information about the asterisk-commits
mailing list