summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/gateway_setting.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/gateway_setting.rb b/app/models/gateway_setting.rb
index cf1292d..cb430d1 100644
--- a/app/models/gateway_setting.rb
+++ b/app/models/gateway_setting.rb
@@ -1,5 +1,8 @@
class GatewaySetting < ActiveRecord::Base
CLASS_TYPES = ['String', 'Integer', 'Boolean']
+ GATEWAY_SETTINGS = {
+ 'sip' => { 'domain' => 'String', 'username' => 'String', 'password' => 'String', 'register' => 'Boolean' },
+ }
attr_accessible :gateway_id, :name, :value, :class_type, :description