summaryrefslogtreecommitdiff
path: root/db/migrate/20130804201900_add_gateway_default_headers.rb
diff options
context:
space:
mode:
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