blob: 8c4cd945211249bc675d64b04c3db562122d0d1d (
plain)
1
2
3
4
5
6
7
8
9
10
|
class AddSoundsToParameters < ActiveRecord::Migration
def up
GsParameter.create(:entity => 'dialplan', :section => 'sounds', :name => 'en', :value => '/opt/freeswitch/sounds/en/us/callie', :class_type => 'String')
GsParameter.create(:entity => 'dialplan', :section => 'sounds', :name => 'de', :value => '/opt/freeswitch/sounds/de/de/callie', :class_type => 'String')
end
def down
GsParameter.where(:entity => 'dialplan', :section => 'sounds').destroy_all
end
end
|