summaryrefslogtreecommitdiff
path: root/app/models/sip_account.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/sip_account.rb')
-rw-r--r--app/models/sip_account.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/sip_account.rb b/app/models/sip_account.rb
index bb45a4c..930069d 100644
--- a/app/models/sip_account.rb
+++ b/app/models/sip_account.rb
@@ -42,6 +42,7 @@ class SipAccount < ActiveRecord::Base
has_many :b_call_legs, :class_name => 'Call', :foreign_key => 'b_sip_account_id'
has_many :acd_agents, :as => :destination, :dependent => :destroy
+ has_many :switchboard_entries, :dependent => :destroy
# Delegations:
#