[Freeswitch-svn] [commit] r8231 - freeswitch/trunk/scripts/lua
Freeswitch SVN
brian at freeswitch.org
Wed Apr 30 23:12:26 EDT 2008
Author: brian
Date: Wed Apr 30 23:12:26 2008
New Revision: 8231
Modified:
freeswitch/trunk/scripts/lua/mwi_event.lua
Log:
update
Modified: freeswitch/trunk/scripts/lua/mwi_event.lua
==============================================================================
--- freeswitch/trunk/scripts/lua/mwi_event.lua (original)
+++ freeswitch/trunk/scripts/lua/mwi_event.lua Wed Apr 30 23:12:26 2008
@@ -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 at 10.0.1.100");
+event:addHeader("MWI-Messages-Waiting", "yes");
+event:addHeader("MWI-Message-Account", "sip:1000 at 10.0.1.100");
event:fire();
More information about the Freeswitch-svn
mailing list