diff options
author | spag <spag@golwen.net> | 2013-01-14 17:13:05 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-14 17:13:05 +0100 |
commit | d23a161907f64421a6d49b9867859d519188281c (patch) | |
tree | 646a664bb5932d381d04e55dd340642624f36430 /app | |
parent | 3a2425de2ff13edd7b3f10c219f04016ac7c4e36 (diff) |
allow header based authentication for gateways
Diffstat (limited to 'app')
-rw-r--r-- | app/models/gateway_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/gateway_setting.rb b/app/models/gateway_setting.rb index cb430d1..96410f4 100644 --- a/app/models/gateway_setting.rb +++ b/app/models/gateway_setting.rb @@ -1,7 +1,7 @@ class GatewaySetting < ActiveRecord::Base CLASS_TYPES = ['String', 'Integer', 'Boolean'] GATEWAY_SETTINGS = { - 'sip' => { 'domain' => 'String', 'username' => 'String', 'password' => 'String', 'register' => 'Boolean' }, + 'sip' => { 'domain' => 'String', 'username' => 'String', 'password' => 'String', 'register' => 'Boolean', 'auth_source' => 'String', 'auth_pattern' => 'String' }, } attr_accessible :gateway_id, :name, :value, :class_type, :description |