summaryrefslogtreecommitdiffstats
path: root/vmail-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-12-08 17:10:56 -0500
committerTed Trask <ttrask01@yahoo.com>2013-12-08 17:10:56 -0500
commita7ac20b54272bda016a4f320b9291e76c2652286 (patch)
treebab665d629ad388de4620ee6c8cb9328872aa8a7 /vmail-controller.lua
parentac604bc78e5800b139103a4dd503c10c6b819a4b (diff)
downloadacf-freeswitch-vmail-a7ac20b54272bda016a4f320b9291e76c2652286.tar.bz2
acf-freeswitch-vmail-a7ac20b54272bda016a4f320b9291e76c2652286.tar.xz
Add batch account creation
Contributed by alacerda alancordeiro@gmail.com
Diffstat (limited to 'vmail-controller.lua')
-rw-r--r--vmail-controller.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/vmail-controller.lua b/vmail-controller.lua
index f706802..9999f75 100644
--- a/vmail-controller.lua
+++ b/vmail-controller.lua
@@ -110,6 +110,10 @@ mymodule.createuser = function( self )
return self.handle_form(self, self.model.get_usersettings, self.model.create_usersettings, self.clientdata, "Create", "Create User", "User Created")
end
+mymodule.createmanyusers = function( self )
+ return self.handle_form(self, self.model.get_bunchsettings, self.model.set_bunchsettings, self.clientdata, "Create Many", "Create Users", "User Created")
+end
+
mymodule.processdialplanxml = function( self )
self.conf.viewtype = "xml"
return self.model.process_dialplan_xml_request(self.clientdata)