diff --git a/scripts/lua/mwi_event.lua b/scripts/lua/mwi_event.lua index adfc64b372..14c77f9fcc 100644 --- a/scripts/lua/mwi_event.lua +++ b/scripts/lua/mwi_event.lua @@ -3,6 +3,6 @@ freeswitch.console_log("info", "Lua in da house!!!\n"); local event = freeswitch.Event("message_waiting"); -event:add_header("MWI-Messages-Waiting", "no"); -event:add_header("MWI-Message-Account", "sip:1002@10.0.1.100"); +event:addHeader("MWI-Messages-Waiting", "yes"); +event:addHeader("MWI-Message-Account", "sip:1000@10.0.1.100"); event:fire();