summaryrefslogtreecommitdiff
path: root/db/migrate/20130804201900_add_gateway_default_headers.rb
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-07 15:37:00 +0200
committerPeter Kozak <spag@golwen.net>2013-08-07 15:37:00 +0200
commitb579a1b150d2aeca1576d7ea4baebafd2f2a1146 (patch)
tree959702594879722f04ac7cf113651e308e905ebf /db/migrate/20130804201900_add_gateway_default_headers.rb
parent07aaab02e8bead8e142a680b5fa024b1ab215a08 (diff)
workaround for strange FS behavior on From headers5.2-beta2
Diffstat (limited to 'db/migrate/20130804201900_add_gateway_default_headers.rb')
-rw-r--r--db/migrate/20130804201900_add_gateway_default_headers.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/db/migrate/20130804201900_add_gateway_default_headers.rb b/db/migrate/20130804201900_add_gateway_default_headers.rb
index 4b50242..fc35bc2 100644
--- a/db/migrate/20130804201900_add_gateway_default_headers.rb
+++ b/db/migrate/20130804201900_add_gateway_default_headers.rb
@@ -7,13 +7,13 @@ class AddGatewayDefaultHeaders < ActiveRecord::Migration
GsParameter.create(:entity => 'sip_gateways', :section => 'settings', :name => 'dtmf_type', :value => 'rfc2833', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default', :name => 'INVITE', :value => 'sip:{destination_number}@{domain}', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default', :name => 'To', :value => '<sip:{destination_number}@{domain}>', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_off', :name => 'From', :value => '"{caller_id_name}" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_on', :name => 'From', :value => '"Anonymous" <sip:anonymous@{domain_local}>', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_off', :name => 'P-Asserted-Identity', :value => '"{caller_id_name}" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_on', :name => 'P-Asserted-Identity', :value => '"Anonymous" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
- GsParameter.create(:entity => 'sip_gateways', :section => 'headers_default_clir_on', :name => 'Privacy', :value => 'id', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite', :name => 'INVITE', :value => 'sip:{destination_number}@{domain}', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite', :name => 'To', :value => '<sip:{destination_number}@{domain}>', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite_clir_off', :name => 'From', :value => '"{caller_id_name}" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite_clir_on', :name => 'From', :value => '"Anonymous" <sip:anonymous@{domain_local}>', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite_clir_off', :name => 'P-Asserted-Identity', :value => '"{caller_id_name}" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite_clir_on', :name => 'P-Asserted-Identity', :value => '"Anonymous" <sip:{caller_id_number}@{domain_local}>', :class_type => 'String')
+ GsParameter.create(:entity => 'sip_gateways', :section => 'headers_invite_clir_on', :name => 'Privacy', :value => 'id', :class_type => 'String')
end
def down