Update mwi_notify.lua

Add debug information.
This commit is contained in:
FusionPBX
2020-11-09 21:38:04 -07:00
committed by GitHub
parent 8e3805ef88
commit b494732eb7

View File

@@ -12,6 +12,11 @@
array = explode("/", sofia_contact);
sip_profile = array[2];
--debug info
--freeswitch.consoleLog("NOTICE", "sofia_contact */"..account.."\n");
--freeswitch.consoleLog("NOTICE", "sip_profile="..sip_profile.."\n");
--freeswitch.consoleLog("NOTICE", "sofia_contact="..sofia_contact.."\n");
--set the variables
new_messages = tonumber(new_messages) or 0
saved_messages = tonumber(saved_messages) or 0