diff options
author | Ted Trask <ttrask01@yahoo.com> | 2010-10-06 13:04:57 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2010-10-06 13:04:57 +0000 |
commit | 796871153df32afe1c486ec638d175bf5e11eb4f (patch) | |
tree | b1af07e13e38f16386ecc35d1b0b11563a8358ee | |
parent | 71a1d88e58ff707873884509fe19a15ba05c6b0a (diff) | |
download | acf-freeswitch-vmail-796871153df32afe1c486ec638d175bf5e11eb4f.tar.bz2 acf-freeswitch-vmail-796871153df32afe1c486ec638d175bf5e11eb4f.tar.xz |
Specify listmymessages as the home page for voicemail users
-rw-r--r-- | authenticator-freeswitch-vmail.lua | 4 |
1 files 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 |