blob: dd20ca3f692ce934a29bd57c69aefbb479ab00e3 (
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/tts/google', :class_type => 'String')
end
def down
GsParameter.where(:entity => 'dialplan', :section => 'sounds').destroy_all
end
end
|