From 929bd5ac143f48542929a1c7afb67ec2d117467a Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 18 Dec 2012 11:27:30 +0100 Subject: Updated AMOOMA's phone number. --- app/models/tenant.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'app/models') diff --git a/app/models/tenant.rb b/app/models/tenant.rb index dda94d8..66e50d3 100644 --- a/app/models/tenant.rb +++ b/app/models/tenant.rb @@ -228,12 +228,10 @@ class Tenant < ActiveRecord::Base :twitter_account => 'amooma_de', :facebook_account => 'https://www.facebook.com/AMOOMA.GmbH', ) - # This is the new 2013 phone number. - # - # amooma.phone_numbers.create( - # :name => 'Office', - # :number => '+4926228998900' - # ) + amooma.phone_numbers.create( + :name => 'Office', + :number => '+492622983440' + ) amooma.addresses.create( :street => 'Bachstr. 124', :zip_code => '56566', -- cgit v1.2.3 From fef1d002d562ea3df56d0bd1e9dbad4032fd6404 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 18 Dec 2012 19:07:25 +0100 Subject: Set defaults for the voiceprompts. --- app/models/automatic_call_distributor.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/models') diff --git a/app/models/automatic_call_distributor.rb b/app/models/automatic_call_distributor.rb index 678e0eb..cd887d5 100644 --- a/app/models/automatic_call_distributor.rb +++ b/app/models/automatic_call_distributor.rb @@ -15,7 +15,17 @@ class AutomaticCallDistributor < ActiveRecord::Base JOIN_ON = ['agents_available', 'agents_active', 'always'] LEAVE_ON = ['no_agents_available_timeout', 'no_agents_active_timeout', 'no_agents_available', 'no_agents_active', 'timeout', 'never'] + after_initialize :set_defaults + def to_s self.name end + + private + def set_defaults + self.announce_call_agents ||= 'ivr/ivr-stay_on_line_call_answered_momentarily.wav' + self.greeting ||= 'ivr/ivr-thank_you_for_calling.wav' + self.goodbye ||= 'ivr/ivr-thank_you_for_calling.wav' + self.music ||= 'local_stream://mohl' + end end -- cgit v1.2.3 From 50dfb97590e30fd7d6fa24d6c7afd65d04fa60d8 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 18 Dec 2012 20:28:23 +0100 Subject: Fixed links in phone_book_entry#show --- app/models/tenant.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/tenant.rb b/app/models/tenant.rb index 66e50d3..d9351b7 100644 --- a/app/models/tenant.rb +++ b/app/models/tenant.rb @@ -226,7 +226,7 @@ class Tenant < ActiveRecord::Base :description => "Hersteller von Gemeinschaft. Kommerziellen Support und Consulting für Gemeinschaft.", :homepage_organization => 'http://amooma.de', :twitter_account => 'amooma_de', - :facebook_account => 'https://www.facebook.com/AMOOMA.GmbH', + :facebook_account => 'AMOOMA.GmbH', ) amooma.phone_numbers.create( :name => 'Office', -- cgit v1.2.3