diff options
author | spag <spag@golwen.net> | 2013-01-28 10:12:40 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-28 10:12:40 +0100 |
commit | 3e66e066c2f19a8b27233dff1abdf3908debae36 (patch) | |
tree | 50f1f41c515fac263340942213535749140d78be /app/models/sip_account.rb | |
parent | 7f751576ae36f387bafa63e900fa21353a2ce3fb (diff) |
use sip_registration in sip_views
Diffstat (limited to 'app/models/sip_account.rb')
-rw-r--r-- | app/models/sip_account.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/sip_account.rb b/app/models/sip_account.rb index d35f9b4..444eb12 100644 --- a/app/models/sip_account.rb +++ b/app/models/sip_account.rb @@ -133,7 +133,7 @@ class SipAccount < ActiveRecord::Base end def registration - return FreeswitchRegistration.where(:reg_user => self.auth_name).first + return SipRegistration.where(:sip_user => self.auth_name).first end def call( phone_number ) |