diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-02-23 14:24:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-02-23 14:24:20 +0000 |
commit | 31f68d1ea1390017773e691cccd0e6f9cc1fd0a7 (patch) | |
tree | 94895b8799f0682635280ff67e3e7959ca1f1cde /kamailio-controller.lua | |
parent | 8ceb7e4eb46a498d4d63005dd02b32af012dc4d1 (diff) | |
download | acf-kamailio-31f68d1ea1390017773e691cccd0e6f9cc1fd0a7.tar.bz2 acf-kamailio-31f68d1ea1390017773e691cccd0e6f9cc1fd0a7.tar.xz |
Added searchdatabase action
Diffstat (limited to 'kamailio-controller.lua')
-rw-r--r-- | kamailio-controller.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kamailio-controller.lua b/kamailio-controller.lua index 9352aac..ff16c50 100644 --- a/kamailio-controller.lua +++ b/kamailio-controller.lua @@ -60,3 +60,7 @@ end function createdatabase(self) return self:redirect_to_referrer(self.model.create_database()) end + +searchdatabase = function( self ) + return self.model.search_database(self.clientdata.id, self.clientdata.value, self.clientdata.comparison) +end |