blob: aa9665321723a5e5e8a24a9fb349ed652fa79ef7 (
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.where(:entity => 'dialplan', :section => 'variables', :name => 'sip_copy_custom_headers').destroy_all
end
end
|