From 796871153df32afe1c486ec638d175bf5e11eb4f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 6 Oct 2010 13:04:57 +0000 Subject: Specify listmymessages as the home page for voicemail users --- authenticator-freeswitch-vmail.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authenticator-freeswitch-vmail.lua b/authenticator-freeswitch-vmail.lua index 92aa29d..34e5e24 100644 --- a/authenticator-freeswitch-vmail.lua +++ b/authenticator-freeswitch-vmail.lua @@ -16,7 +16,7 @@ read_field = function(self, tabl, field) local vmcontroller = self:new("freeswitch-vmail/vmail") local users = vmcontroller.model.list_passwords() for i,val in ipairs(users.value) do - local string = md5.sumhexa(val.password)..":Voicemail User:/freeswitch-vmail/vmail/USER" + local string = md5.sumhexa(val.password)..":Voicemail User:/freeswitch-vmail/vmail/USER::/freeswitch-vmail/vmail/listmymessages" result[#result+1] = { id=val.username, entry=string } end vmcontroller:destroy() @@ -41,7 +41,7 @@ read_entry = function(self, tabl, field, id) local vmcontroller = self:new("freeswitch-vmail/vmail") local users = vmcontroller.model.list_passwords(id) if users and users.value and users.value[1] and users.value[1].password then - result = md5.sumhexa(users.value[1].password)..":Voicemail User:/freeswitch-vmail/vmail/USER" + result = md5.sumhexa(users.value[1].password)..":Voicemail User:/freeswitch-vmail/vmail/USER::/freeswitch-vmail/vmail/listmymessages" end vmcontroller:destroy() end -- cgit v1.2.3