mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
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. ASTERISK-28033 Change-Id: I45b3119f30e4dbc17b49831f2b1a4f2c1beadafe
This commit is contained in:
@@ -638,7 +638,7 @@ static struct ast_manager_event_blob *channel_newexten(
|
||||
|
||||
/* 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",
|
||||
|
Reference in New Issue
Block a user