summaryrefslogtreecommitdiff
path: root/db/migrate/20130130185300_add_no_copy_headers.rb
blob: c2c5c903a62275859d417f70c93e312c603c9ecb (plain)
1
2
3
4
5
6
7
8
9
class AddNoCopyHeaders < ActiveRecord::Migration
  def up
    GsParameter.create(:entity => 'dialplan', :section => 'variables', :name => 'sip_copy_custom_headers', :value => 'false', :class_type => 'Boolean', :description => 'Controls passing SIP headers from one call leg to another.')
  end

  def down
  	GsParameter.create(:entity => 'dialplan', :section => 'variables', :name => 'sip_copy_custom_headers').destroy_all
  end
end