[Asterisk-code-review] manager: Set AMI event "Newexten" to the EVENT FLAG DIALPLAN... (asterisk[15])
lvl
asteriskteam at digium.com
Mon Sep 3 06:52:04 CDT 2018
lvl has uploaded this change for review. ( https://gerrit.asterisk.org/10037
Change subject: manager: Set AMI event "Newexten" to the EVENT_FLAG_DIALPLAN class
......................................................................
manager: Set AMI event "Newexten" to the EVENT_FLAG_DIALPLAN class
The documentation already specified EVENT_FLAG_DIALPLAN for this
event, but the implementation was using EVENT_FLAG_CALL.
Using EVENT_FLAG_DIALPLAN allows AMI clients to opt out of receiving
this highly verbose event.
Change-Id: I45b3119f30e4dbc17b49831f2b1a4f2c1beadafe
---
M main/manager_channels.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/10037/1
diff --git a/main/manager_channels.c b/main/manager_channels.c
index 37269a9..ac09d42 100644
--- a/main/manager_channels.c
+++ b/main/manager_channels.c
@@ -638,7 +638,7 @@
/* DEPRECATED: Extension field deprecated in 12; remove in 14 */
return ast_manager_event_blob_create(
- EVENT_FLAG_CALL, "Newexten",
+ EVENT_FLAG_DIALPLAN, "Newexten",
"Extension: %s\r\n"
"Application: %s\r\n"
"AppData: %s\r\n",
--
To view, visit https://gerrit.asterisk.org/10037
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I45b3119f30e4dbc17b49831f2b1a4f2c1beadafe
Gerrit-Change-Number: 10037
Gerrit-PatchSet: 1
Gerrit-Owner: lvl <digium at lvlconsultancy.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180903/8e918d79/attachment.html>
More information about the asterisk-code-review
mailing list