summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/gateway_setting.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/models/gateway_setting.rb b/app/models/gateway_setting.rb
index 96410f4..c01f0a8 100644
--- a/app/models/gateway_setting.rb
+++ b/app/models/gateway_setting.rb
@@ -1,7 +1,16 @@
class GatewaySetting < ActiveRecord::Base
CLASS_TYPES = ['String', 'Integer', 'Boolean']
GATEWAY_SETTINGS = {
- 'sip' => { 'domain' => 'String', 'username' => 'String', 'password' => 'String', 'register' => 'Boolean', 'auth_source' => 'String', 'auth_pattern' => 'String' },
+ 'sip' => {
+ 'domain' => 'String',
+ 'username' => 'String',
+ 'password' => 'String',
+ 'contact' => 'String',
+ 'register' => 'Boolean',
+ 'auth_source' => 'String',
+ 'auth_pattern' => 'String',
+ 'number_source' => 'String',
+ },
}
attr_accessible :gateway_id, :name, :value, :class_type, :description