From 46f1ba9b2c87e51c324abfd587de558eda67629e Mon Sep 17 00:00:00 2001 From: "Ahron Greenberg (agree)" <37550360+greenbea@users.noreply.github.com> Date: Mon, 24 Nov 2025 07:11:53 -0500 Subject: [PATCH] Remove wrong 'Feature-Event' headers from event (#7635) On multipart feature events, the feature-event header needs to be `init` only. --- .../feature_event/resources/functions/feature_event_notify.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/switch/resources/scripts/app/feature_event/resources/functions/feature_event_notify.lua b/app/switch/resources/scripts/app/feature_event/resources/functions/feature_event_notify.lua index c0412bf66d..c9934dfc36 100644 --- a/app/switch/resources/scripts/app/feature_event/resources/functions/feature_event_notify.lua +++ b/app/switch/resources/scripts/app/feature_event/resources/functions/feature_event_notify.lua @@ -174,11 +174,9 @@ function feature_event_notify.init(user, host, sip_profiles, forward_immediate_e event:addHeader("forward_immediate", forward_immediate_destination); event:addHeader("forward_busy", forward_busy_destination) event:addHeader("forward_busy_enabled", forward_busy_enabled) - event:addHeader("Feature-Event", "ForwardingEvent") event:addHeader("forward_no_answer", forward_no_answer_destination) event:addHeader("forward_no_answer_enabled", forward_no_answer_enabled) event:addHeader("ringCount", ring_count) - event:addHeader("Feature-Event", "DoNotDisturbEvent") event:addHeader("doNotDisturbOn", do_not_disturb) freeswitch.msleep(300); event:fire()